diff options
Diffstat (limited to 'modules/desktop/wofi/style.nix')
-rw-r--r-- | modules/desktop/wofi/style.nix | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/modules/desktop/wofi/style.nix b/modules/desktop/wofi/style.nix index 27b7205..75a0a21 100644 --- a/modules/desktop/wofi/style.nix +++ b/modules/desktop/wofi/style.nix @@ -1,8 +1,7 @@ {theme}: let - fg = "#${theme.colors.fg}"; - bg = "#${theme.colors.bg}"; - surface-fg = "#${theme.colors.surface.fg}"; - surface-bg = "#${theme.colors.surface.bg}"; + text = "#${theme.colors.text}"; + base = "#${theme.colors.base}"; + surface = "#${theme.colors.surface}"; primary = "#${theme.colors.primary}"; fontSize = "${toString theme.font.size}px"; outerGap = "${toString theme.outerGap}px"; @@ -21,7 +20,7 @@ in '' margin: 0px; border: ${borderWidth} solid ${primary}; border-radius: ${outerRadius}; - background-color: ${bg}; + background-color: ${base}; } /* Outer Box */ @@ -41,8 +40,8 @@ in '' margin: ${innerGap}; padding: ${innerGap}; border: none; - color: ${surface-fg}; - background-color: ${surface-bg}; + color: ${text}; + background-color: ${surface}; border-radius: ${outerRadius}; } @@ -58,7 +57,7 @@ in '' margin: ${innerGap}; padding: ${innerGap}; border: none; - color: ${fg}; + color: ${text}; } /* Selected Entry */ @@ -68,7 +67,7 @@ in '' } #entry:selected #text { - color: ${bg}; + color: ${base}; } '' |