summaryrefslogtreecommitdiff
path: root/src/surface.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/surface.zig')
-rw-r--r--src/surface.zig20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/surface.zig b/src/surface.zig
index 523cba43..5b850a8b 100644
--- a/src/surface.zig
+++ b/src/surface.zig
@@ -428,6 +428,26 @@ pub const Chrome = struct {
/// The scroll column's width, button and scrollbar alike, in pixels at
/// a 17px tagline (acme's 12 at its font); a pixel shell scales it.
rail_px: u8 = 12,
+ /// The theme's ornament (colors.Decor), a pixel shell's alone: the dot
+ /// grid on the page, the scroll track's checker, the tags' plaques
+ /// (frame, shadow, the focused one's stripes) and the file name's shadow, each null when the theme has none, sizes
+ /// in logical pixels. `name_ink` and `active_name_ink` are the file
+ /// name's colours in a tag, which the shadow goes under.
+ decor_dots: ?[3]u8 = null,
+ decor_dot_alpha: u8 = 0,
+ decor_dot_px: u8 = 22,
+ decor_checker: ?[3]u8 = null,
+ decor_checker_px: u8 = 3,
+ decor_box_border: ?[3]u8 = null,
+ decor_box_border_px: u8 = 2,
+ decor_box_shadow: ?[3]u8 = null,
+ decor_box_shadow_px: u8 = 5,
+ decor_box_stripe: ?[3]u8 = null,
+ decor_box_stripe_px: u8 = 2,
+ decor_title: ?[3]u8 = null,
+ decor_title_px: u8 = 2,
+ name_ink: [3]u8 = .{ 0, 0, 0 },
+ active_name_ink: [3]u8 = .{ 0, 0, 0 },
};
/// The canonical interface: what a frame of pardes IS. The tty shell writes