diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-28 20:11:51 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:15 -0300 |
| commit | 54c14c2e65fe15b097bef11919d6ec8d9fce411a (patch) | |
| tree | a3945447aa94fc20b00ed5cbf655e594b1565d95 /src/colors.zig | |
| parent | 6a49974e56521cf66c9a4d0eb579cd5de949891e (diff) | |
| download | pardes-54c14c2e65fe15b097bef11919d6ec8d9fce411a.tar.gz pardes-54c14c2e65fe15b097bef11919d6ec8d9fce411a.zip | |
An empty column shows its theme's empty_col: white in the acme theme, as acme paints it
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/colors.zig')
| -rw-r--r-- | src/colors.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/colors.zig b/src/colors.zig index aeff7b00..401b77f1 100644 --- a/src/colors.zig +++ b/src/colors.zig @@ -54,6 +54,8 @@ pub const Theme = struct { column_box: ?[3]u8 = null, column_box_dim: ?[3]u8 = null, border: ?[3]u8 = null, + /// What an empty column shows under its tag; the border fill without it. + empty_col: ?[3]u8 = null, search_bg: ?[3]u8 = null, search_fg: ?[3]u8 = null, diagnostic_error: ?[3]u8 = null, @@ -144,6 +146,7 @@ pub const ChromeTheme = struct { tag_name_fg: [3]u8, tag_active_name_fg: [3]u8, border: [3]u8, + empty_col: [3]u8, search_bg: [3]u8, search_fg: [3]u8, diagnostic_error: [3]u8, @@ -167,6 +170,7 @@ pub const ChromeTheme = struct { .tag_name_fg = th.tag_name_fg orelse th.tag_fg, .tag_active_name_fg = th.tag_active_name_fg orelse (th.tag_name_fg orelse (th.tag_active_fg orelse th.tag_fg)), .border = th.border orelse th.scroll_track, + .empty_col = th.empty_col orelse (th.border orelse th.scroll_track), .search_bg = th.search_bg orelse th.sel_bg, .search_fg = th.search_fg orelse th.sel_fg, .diagnostic_error = th.diagnostic_error orelse (th.fg orelse th.tag_fg), |
