Skip to content

Commit

Permalink
feat(layout): tweak default colors for borders and tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
aravinda0 committed Jun 11, 2024
1 parent 0c8e097 commit ebf8a8c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
20 changes: 10 additions & 10 deletions src/qtile_bonsai/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ class AddClientMode(enum.Enum):
),
LayoutOption(
"window.border_color",
Gruvbox.darker_yellow,
Gruvbox.dull_yellow,
"Color of the border around windows",
default_value_label="Gruvbox.darker_yellow",
default_value_label="Gruvbox.dull_yellow",
),
LayoutOption(
"window.active.border_color",
Gruvbox.dark_yellow,
Gruvbox.vivid_yellow,
"Color of the border around an active window",
default_value_label="Gruvbox.dark_yellow",
default_value_label="Gruvbox.vivid_yellow",
),
LayoutOption(
"window.normalize_on_remove",
Expand Down Expand Up @@ -200,9 +200,9 @@ class AddClientMode(enum.Enum):
),
LayoutOption(
"tab_bar.tab.bg_color",
Gruvbox.bg1,
Gruvbox.dull_yellow,
"Background color of individual tabs",
default_value_label="Gruvbox.bg1",
default_value_label="Gruvbox.dull_yellow",
),
LayoutOption(
"tab_bar.tab.fg_color",
Expand All @@ -216,15 +216,15 @@ class AddClientMode(enum.Enum):
LayoutOption("tab_bar.tab.font_size", 15, "Font size to use for tab titles"),
LayoutOption(
"tab_bar.tab.active.bg_color",
Gruvbox.bg4,
Gruvbox.vivid_yellow,
"Background color of active tabs",
default_value_label="Gruvbox.bg4",
default_value_label="Gruvbox.vivid_yellow",
),
LayoutOption(
"tab_bar.tab.active.fg_color",
Gruvbox.fg1,
Gruvbox.bg0_hard,
"Foreground text color of the active tab",
default_value_label="Gruvbox.fg1",
default_value_label="Gruvbox.bg0_hard",
),
LayoutOption(
"tab_bar.tab.title_provider",
Expand Down
4 changes: 3 additions & 1 deletion src/qtile_bonsai/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ class Gruvbox:
dark_gray = "#a89984"
dark_orange = "#d65d0e"

darker_yellow = "#6d531f"
# Some unofficial gruvbox tweaks
dull_yellow = "#453b2b"
vivid_yellow = "#c29755"

0 comments on commit ebf8a8c

Please sign in to comment.