refactor: add tab bar theme variables for unfocused tabs
This commit is contained in:
parent
abe15a973d
commit
18f4d9cef3
1 changed files with 26 additions and 0 deletions
|
|
@ -65,6 +65,24 @@ const @"style.config" = struct {
|
||||||
selected_right_fg: colors = .active_bg,
|
selected_right_fg: colors = .active_bg,
|
||||||
selected_right_bg: colors = .inactive_bg,
|
selected_right_bg: colors = .inactive_bg,
|
||||||
|
|
||||||
|
unfocused_active_fg: colors = .unfocused_active_fg,
|
||||||
|
unfocused_active_bg: colors = .unfocused_active_bg,
|
||||||
|
unfocused_active_left: []const u8 = "🭅",
|
||||||
|
unfocused_active_left_fg: colors = .unfocused_active_bg,
|
||||||
|
unfocused_active_left_bg: colors = .unfocused_inactive_bg,
|
||||||
|
unfocused_active_right: []const u8 = "🭐",
|
||||||
|
unfocused_active_right_fg: colors = .unfocused_active_bg,
|
||||||
|
unfocused_active_right_bg: colors = .unfocused_inactive_bg,
|
||||||
|
|
||||||
|
unfocused_inactive_fg: colors = .unfocused_inactive_fg,
|
||||||
|
unfocused_inactive_bg: colors = .unfocused_inactive_bg,
|
||||||
|
unfocused_inactive_left: []const u8 = " ",
|
||||||
|
unfocused_inactive_left_fg: colors = .unfocused_inactive_fg,
|
||||||
|
unfocused_inactive_left_bg: colors = .unfocused_inactive_bg,
|
||||||
|
unfocused_inactive_right: []const u8 = " ",
|
||||||
|
unfocused_inactive_right_fg: colors = .unfocused_inactive_fg,
|
||||||
|
unfocused_inactive_right_bg: colors = .unfocused_inactive_bg,
|
||||||
|
|
||||||
file_type_icon: bool = true,
|
file_type_icon: bool = true,
|
||||||
|
|
||||||
include_files: []const u8 = "",
|
include_files: []const u8 = "",
|
||||||
|
|
@ -888,6 +906,10 @@ const colors = enum {
|
||||||
inactive_fg,
|
inactive_fg,
|
||||||
selected_bg,
|
selected_bg,
|
||||||
selected_fg,
|
selected_fg,
|
||||||
|
unfocused_active_bg,
|
||||||
|
unfocused_active_fg,
|
||||||
|
unfocused_inactive_bg,
|
||||||
|
unfocused_inactive_fg,
|
||||||
|
|
||||||
Error,
|
Error,
|
||||||
Warning,
|
Warning,
|
||||||
|
|
@ -904,6 +926,10 @@ const colors = enum {
|
||||||
.inactive_fg => theme.tab_inactive.fg,
|
.inactive_fg => theme.tab_inactive.fg,
|
||||||
.selected_bg => theme.tab_selected.bg,
|
.selected_bg => theme.tab_selected.bg,
|
||||||
.selected_fg => theme.tab_selected.fg,
|
.selected_fg => theme.tab_selected.fg,
|
||||||
|
.unfocused_active_bg => theme.tab_unfocused_active.bg,
|
||||||
|
.unfocused_active_fg => theme.tab_unfocused_active.fg,
|
||||||
|
.unfocused_inactive_bg => theme.tab_unfocused_inactive.bg,
|
||||||
|
.unfocused_inactive_fg => theme.tab_unfocused_inactive.fg,
|
||||||
.Error => theme.editor_error.fg,
|
.Error => theme.editor_error.fg,
|
||||||
.Warning => theme.editor_warning.fg,
|
.Warning => theme.editor_warning.fg,
|
||||||
.Information => theme.editor_information.fg,
|
.Information => theme.editor_information.fg,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue