# tanin-libadwaita Fuji recolour for **libadwaita / GTK4** — a **light** and a **dark** variant so the whole OS is covered. Recolours every libadwaita app (tsettings, thub, Nautilus, GNOME apps, …) by overriding Adwaita's *named colors*, and makes buttons/entries **pill-shaped** to match the bar and greeter. ## Files - `tanin-dark.css` → `/usr/share/tanin/libadwaita/tanin-dark.css` - `tanin-light.css` → `/usr/share/tanin/libadwaita/tanin-light.css` - `tanin-libadwaita` → `/usr/bin/tanin-libadwaita` — switch script ## Use ```sh tanin-libadwaita dark # or: light ``` Symlinks the variant to `~/.config/gtk-4.0/gtk.css` and sets `color-scheme` + `accent-color`. A pre-existing real `gtk.css` is backed up to `gtk.css.pre-tanin` once. ## Why named-color overrides (not a full theme) libadwaita ignores `gtk-theme-name`; the supported way to restyle it is the user `gtk.css`, where overriding `@define-color accent_color` / `window_bg_color` / `card_bg_color` / … recolours all libadwaita apps at once. There are no CSS media queries, so light/dark is two files the switch script flips between. ## Preview from the repo (isolated, no change to your config) ```sh mkdir -p /tmp/t/gtk-4.0 && cp tanin-dark.css /tmp/t/gtk-4.0/gtk.css XDG_CONFIG_HOME=/tmp/t cage -s -- gnome-text-editor # or any libadwaita app ``` ## Palettes - **Dark:** bg `#0f0f0f`, fg `#f0f0f0`, accent `#a39ec4` (Fuji violet). - **Light:** bg `#f3f1ec`, fg `#2a2926`, accent `#6f67a8` (deeper violet for contrast). ## Notes - App content that uses its own style scheme (e.g. gnome-text-editor's GtkSourceView syntax theme) is NOT controlled here — that's app-internal. - GTK3 apps (incl. eww) aren't covered by this; they use `adw-gtk3` / their own CSS. A matching GTK3 `Tanin` theme could follow if wanted.