From 6eaa81710fee8ee2191a0b967b069bb01952be2e Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 5 Aug 2026 15:05:34 -0300 Subject: theme the selection colors --- src/themes/acme.zig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/themes/acme.zig') diff --git a/src/themes/acme.zig b/src/themes/acme.zig index 925cacfb..87183ebc 100644 --- a/src/themes/acme.zig +++ b/src/themes/acme.zig @@ -5,10 +5,17 @@ //! darkened for paper: index 7 (the "white" a shell writes most of its output //! in) is a mid grey, and 15 (bright white) is BLACK, because a program asking //! for the brightest color on a light page means "make this stand out". +//! +//! The selection is acme's own: plan9's DDarkyellow #eeee9e, the colour acme +//! sweeps text with, and black ink over it — acme changes the paper under a +//! selection and never the letters. Out of the same draw.h palette the +//! scrollbar's #99994c (DYellowgreen) is already taken from. pub const theme = .{ .name = "acme", .bg = .{ 0xff, 0xff, 0xea }, .fg = .{ 0x00, 0x00, 0x00 }, + .sel_bg = .{ 0xee, 0xee, 0x9e }, + .sel_fg = .{ 0x00, 0x00, 0x00 }, .tag_bg = .{ 0xea, 0xff, 0xff }, .tag_fg = .{ 0x00, 0x00, 0x00 }, .box = .{ 0x6e, 0x4f, 0xd0 }, -- cgit v1.3