summaryrefslogtreecommitdiff
path: root/core/themes/dark.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/dark.zig')
-rw-r--r--core/themes/dark.zig34
1 files changed, 34 insertions, 0 deletions
diff --git a/core/themes/dark.zig b/core/themes/dark.zig
new file mode 100644
index 00000000..e93fd489
--- /dev/null
+++ b/core/themes/dark.zig
@@ -0,0 +1,34 @@
+//! pardes's own dark theme, and the boot default until the helix capture
+//! displaced it. It stays in the ring because it is the only one that leaves
+//! `bg`/`fg` NULL: the page keeps the host terminal's own default cell, so
+//! pardes sits inside whatever the surrounding terminal already looks like and
+//! only paints its chrome. Every other theme here dresses the whole page.
+//!
+//! The selection pair is the warm tan pardes used to paint EVERY theme's
+//! selection with, back when those six numbers were module constants. This is
+//! the theme it belongs to: a null page is the host terminal's, and a tan that
+//! reads as keyboard-driven on whatever dark cell that turns out to be is
+//! exactly what it was picked for.
+pub const theme = .{
+ .name = "dark",
+ .bg = null,
+ .fg = null,
+ .sel_bg = .{ 0x51, 0x3c, 0x17 },
+ .sel_fg = .{ 0xd8, 0xc8, 0xa8 },
+ .tag_bg = .{ 0x2c, 0x2a, 0x3e },
+ .tag_fg = .{ 0x96, 0x96, 0x96 },
+ // The focused tag: its band lighter in its own hue (1.54:1 off the
+ // plain one), its ink lighter to keep reading on it.
+ .tag_active_bg = .{ 0x48, 0x45, 0x66 },
+ .tag_active_fg = .{ 0xc8, 0xc8, 0xc8 },
+ .box = .{ 0x66, 0x3f, 0xe0 },
+ .box_dim = .{ 0x35, 0x3a, 0x58 },
+ .kw = .{ 0xda, 0x5e, 0xea },
+ .str = .{ 0x85, 0xc3, 0x6f },
+ .num = .{ 0xe1, 0xcb, 0x5f },
+ .comment = .{ 0xf0, 0xf0, 0xf0 },
+ .lineno = .{ 0x5a, 0x5a, 0x5a },
+ .scroll_track = .{ 0x2a, 0x2a, 0x2a },
+ .scroll_thumb = .{ 0x52, 0x52, 0x52 },
+ .palette = null,
+};