From 3fcf46a79616f436f21ca2193dba675afb20778c Mon Sep 17 00:00:00 2001 From: "git@cspark.dev" Date: Fri, 17 Apr 2026 19:46:18 +0100 Subject: [PATCH] Gruvbox light adwaita gtk steam theme for EWM --- modules/nixos/cspark-desktop-ewm/home.nix | 1 + .../.config/AdwSteamGtk/custom.css | 85 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 modules/nixos/cspark-desktop-ewm/resources/home-manager/.config/AdwSteamGtk/custom.css diff --git a/modules/nixos/cspark-desktop-ewm/home.nix b/modules/nixos/cspark-desktop-ewm/home.nix index 9e1de10d..b4d56cfc 100644 --- a/modules/nixos/cspark-desktop-ewm/home.nix +++ b/modules/nixos/cspark-desktop-ewm/home.nix @@ -16,6 +16,7 @@ in # Config Files (typically $HOME/.config) xdg.configFile = { + "AdwSteamGtk".source = ./resources/home-manager/.config/AdwSteamGtk; "vesktop/themes".source = ./resources/home-manager/.config/vesktop/themes; "gtk-4.0".source = ./resources/home-manager/.config/gtk-4.0; "gtk-3.0".source = ./resources/home-manager/.config/gtk-3.0; diff --git a/modules/nixos/cspark-desktop-ewm/resources/home-manager/.config/AdwSteamGtk/custom.css b/modules/nixos/cspark-desktop-ewm/resources/home-manager/.config/AdwSteamGtk/custom.css new file mode 100644 index 00000000..227d6f74 --- /dev/null +++ b/modules/nixos/cspark-desktop-ewm/resources/home-manager/.config/AdwSteamGtk/custom.css @@ -0,0 +1,85 @@ +/* ------------------ */ +/* --- Custom CSS --- */ +/* ------------------ */ + +/* --- EXAMPLE: Override Theme Colors --- */ + +:root +{ + /* The main accent color and the matching text value */ + --adw-accent-bg-rgb: 121, 116, 14 !important; + --adw-accent-fg-rgb: 251, 241, 199 !important; + --adw-accent-rgb: 152, 151, 26 !important; + + /* destructive-action buttons */ + --adw-destructive-bg-rgb: 157, 0, 6 !important; + --adw-destructive-fg-rgb: 251, 241, 199 !important; + --adw-destructive-rgb: 204, 36, 29 !important; + + /* Levelbars, entries, labels and infobars */ + --adw-success-bg-rgb: 66, 123, 88 !important; + --adw-success-fg-rgb: 251, 241, 199 !important; + --adw-success-rgb: 104, 157, 106 !important; + + --adw-warning-bg-rgb: 181, 118, 20 !important; + --adw-warning-fg-rgb: 251, 241, 199 !important; + --adw-warning-fg-a: 0.8 !important; + --adw-warning-rgb: 215, 153, 33 !important; + + --adw-error-bg-rgb: 157, 0, 6 !important; + --adw-error-fg-rgb: 251, 241, 199 !important; + --adw-error-rgb: 204, 36, 29 !important; + + /* Window - Using Gruvbox Light 'BG' */ + --adw-window-bg-rgb: 251, 241, 199 !important; + --adw-window-fg-rgb: 60, 56, 54 !important; + + /* Views - Using Gruvbox Light 'BG0_H' */ + --adw-view-bg-rgb: 249, 245, 215 !important; + --adw-view-fg-rgb: 60, 56, 54 !important; + + /* Header bar, search bar, tab bar - Using Gruvbox Light 'BG1' */ + --adw-headerbar-bg-rgb: 235, 219, 178 !important; + --adw-headerbar-fg-rgb: 60, 56, 54 !important; + --adw-headerbar-border-rgb: 189, 174, 147 !important; + --adw-headerbar-backdrop-rgb: 251, 241, 199 !important; + --adw-headerbar-shade-rgb: 0, 0, 0 !important; + --adw-headerbar-shade-a: 0.1 !important; + --adw-headerbar-darker-shade-rgb: 0, 0, 0 !important; + --adw-headerbar-darker-shade-a: 0.15 !important; + + /* Split pane views */ + --adw-sidebar-bg-rgb: 235, 219, 178 !important; + --adw-sidebar-fg-rgb: 60, 56, 54 !important; + --adw-sidebar-backdrop-rgb: 251, 241, 199 !important; + --adw-sidebar-shade-rgb: 0, 0, 0 !important; + --adw-sidebar-shade-a: 0.1 !important; + + --adw-secondary-sidebar-bg-rgb: 235, 219, 178 !important; + --adw-secondary-sidebar-fg-rgb: 60, 56, 54 !important; + --adw-secondary-sidebar-backdrop-rgb: 251, 241, 199 !important; + --adw-secondary-sidebar-shade-rgb: 0, 0, 0 !important; + --adw-secondary-sidebar-shade-a: 0.1 !important; + + /* Cards, boxed lists */ + --adw-card-bg-rgb: 0, 0, 0 !important; + --adw-card-bg-a: 0.05 !important; + --adw-card-fg-rgb: 60, 56, 54 !important; + --adw-card-shade-rgb: 0, 0, 0 !important; + --adw-card-shade-a: 0.1 !important; + + /* Dialogs */ + --adw-dialog-bg-rgb: 235, 219, 178 !important; + --adw-dialog-fg-rgb: 60, 56, 54 !important; + + /* Popovers */ + --adw-popover-bg-rgb: 235, 219, 178 !important; + --adw-popover-fg-rgb: 60, 56, 54 !important; + + /* Thumbnails */ + --adw-thumbnail-bg-rgb: 235, 219, 178 !important; + + /* Miscellaneous */ + --adw-shade-rgb: 0, 0, 0 !important; + --adw-shade-a: 0.1 !important; +}