From aee5be7f39ccec67b29d703cadac8aec3cb1f44b Mon Sep 17 00:00:00 2001 From: Makesesama Date: Sun, 3 May 2026 18:53:37 +0200 Subject: [PATCH] fix: stylix needs to generate visible colours --- bar/modules/stylix.py | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/bar/modules/stylix.py b/bar/modules/stylix.py index 53c2c4e..a7aeb3f 100644 --- a/bar/modules/stylix.py +++ b/bar/modules/stylix.py @@ -272,24 +272,28 @@ tooltip>* {{ transition: padding 0.05s steps(8); }} +#workspaces>button.empty:not(.active):not(.visible) {{ + background-color: #{colors["base03"]}; +}} + +#workspaces>button.visible:not(.active) {{ + background-color: #{colors["base0E"]}; +}} + #workspaces>button.active {{ background-color: #{colors["base0D"]}; padding: 0px 16px; border-radius: 100px; }} -#workspaces>button>label {{ - font-size: 0px; -}} - -#workspaces>button.empty:not(.active) {{ - background-color: #{colors["base03"]}; -}} - #workspaces>button.urgent {{ background-color: #{colors["base08"]}; }} +#workspaces>button>label {{ + font-size: 0px; +}} + /* Quick Menu styling */ #quick-menu-container {{ background-color: #{colors["base00"]};