summaryrefslogtreecommitdiff
path: root/src/themes/helix.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-05 15:05:34 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit6eaa81710fee8ee2191a0b967b069bb01952be2e (patch)
tree051f54ede02517a851538f8a853f52c7bdfa96a9 /src/themes/helix.zig
parent98199e573d678f6b29a5c122836ec393856d7bd8 (diff)
downloadpardes-6eaa81710fee8ee2191a0b967b069bb01952be2e.tar.gz
pardes-6eaa81710fee8ee2191a0b967b069bb01952be2e.zip
theme the selection colors
Diffstat (limited to 'src/themes/helix.zig')
-rw-r--r--src/themes/helix.zig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/themes/helix.zig b/src/themes/helix.zig
index 26c156ff..3c2934f7 100644
--- a/src/themes/helix.zig
+++ b/src/themes/helix.zig
@@ -18,6 +18,13 @@
//! #121212 for the bars, 238 #444444 for the thumb, 235 #262626 for an
//! unfocused box. No hue anywhere outside the syntax colors.
//!
+//! The selection pair is the one thing not in that capture, because the capture
+//! has nothing selected in it: it is pardes.toml's own
+//! `"ui.selection" = { bg = "#80a0ff" }`, verbatim. helix names no foreground
+//! there — it tints the cell and lets the syntax colour ride, which at #bdbdbd
+//! on #80a0ff is not something to copy — so the ink is the page's own
+//! near-black, the other end of the theme's own two extremes.
+//!
//! Shape: bg/fg are explicit rather than null, because "just really dark" must
//! not depend on whose terminal it lands in — but `palette` stays null so a
//! shell's ANSI indices still resolve to the host's own 16 colors. helix does
@@ -32,6 +39,8 @@ pub const theme = .{
.name = "helix",
.bg = .{ 0x08, 0x08, 0x08 },
.fg = .{ 0xbd, 0xbd, 0xbd },
+ .sel_bg = .{ 0x80, 0xa0, 0xff },
+ .sel_fg = .{ 0x08, 0x08, 0x08 },
.tag_bg = .{ 0x12, 0x12, 0x12 },
.tag_fg = .{ 0x94, 0x94, 0x94 },
.box = .{ 0x62, 0x62, 0x62 },