diff options
Diffstat (limited to 'core/colors.zig')
| -rw-r--r-- | core/colors.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/colors.zig b/core/colors.zig index 5579ed05..84595a30 100644 --- a/core/colors.zig +++ b/core/colors.zig @@ -287,6 +287,9 @@ pub const Theme = struct { lineno_active: ?[3]u8 = null, /// A tag's selection, where it differs from the body's (acme's #9eeeee). tag_sel_bg: ?[3]u8 = null, + /// The tag of a reading pane, one a jump steps (Trail.zig): unset, the + /// page tinted toward the search's ground, so it reads as the body's. + tag_reading_bg: ?[3]u8 = null, /// Each pointer button's sweep, select, exec and look (Mouse.Button /// order), and the ink over it. Unset, tints of `sel_bg` in `sel_fg`. sweep_bg: ?[3][3]u8 = null, @@ -543,6 +546,7 @@ pub const ChromeTheme = struct { empty_col: [3]u8, search_bg: [3]u8, search_fg: [3]u8, + tag_reading_bg: [3]u8, diagnostic_error: [3]u8, diagnostic_warning: [3]u8, diagnostic_info: [3]u8, @@ -579,6 +583,7 @@ pub const ChromeTheme = struct { .empty_col = th.empty_col orelse separatorOf(th), .search_bg = th.search_bg orelse th.sel_bg, .search_fg = th.search_fg orelse th.sel_fg, + .tag_reading_bg = th.tag_reading_bg orelse mixOklab(th.bg orelse th.tag_bg, th.search_bg orelse th.sel_bg, 0.4), .diagnostic_error = th.diagnostic_error orelse (th.fg orelse th.tag_fg), .diagnostic_warning = th.diagnostic_warning orelse (th.fg orelse th.tag_fg), .diagnostic_info = th.diagnostic_info orelse (th.fg orelse th.tag_fg), |
