From 8bf9593ea89cba4a0e919c6fd95734c7983621af Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 9 Aug 2024 14:43:57 -0400 Subject: [PATCH] theme: restore gtk recoloring --- homeManagerModules/theme.nix | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/homeManagerModules/theme.nix b/homeManagerModules/theme.nix index 23421685..51394bb2 100644 --- a/homeManagerModules/theme.nix +++ b/homeManagerModules/theme.nix @@ -12,8 +12,27 @@ extraCss = '' @define-color accent_bg_color ${cfg.colors.primary}; @define-color accent_color @accent_bg_color; + @define-color accent_fg_color ${cfg.colors.text}; + @define-color window_bg_color ${cfg.colors.background}; + @define-color window_fg_color ${cfg.colors.text}; + @define-color view_bg_color ${cfg.colors.background}; + @define-color view_fg_color @window_fg_color; + @define-color headerbar_bg_color ${cfg.colors.background}; + @define-color headerbar_backdrop_color @window_bg_color; + @define-color headerbar_fg_color @window_fg_color; - ${ + @define-color popover_bg_color ${cfg.colors.background}; + @define-color popover_fg_color @view_fg_color; + @define-color dialog_bg_color @popover_bg_color; + @define-color dialog_fg_color @popover_fg_color; + @define-color card_bg_color @popover_bg_color; + @define-color card_fg_color @window_fg_color; + @define-color sidebar_bg_color @headerbar_bg_color; + @define-color sidebar_fg_color @window_fg_color; + @define-color sidebar_backdrop_color @window_bg_color; + @define-color sidebar_shade_color rgba(0,0,0,0.25); + + ${ lib.strings.optionalString cfg.gtk.hideTitleBar ''