summaryrefslogtreecommitdiff
path: root/core/themes/clay.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-18 22:03:14 -0300
committerGabriel Schneider <[email protected]>2026-11-18 22:23:51 -0300
commit99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch)
tree813596ea84318a7bae4fd7416ba463de8e3b7107 /core/themes/clay.zig
parent92d553123673376adf6126ab90d49a22c5b833d2 (diff)
downloadpardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.tar.gz
pardes-99f5b10eccd95aa0066ea6fe6bb75f367ab56a47.zip
core: src/ becomes core/, pardes.zig its root.zig (the reorganisation's tree, step 2d), and every mention of a src/ path follows: the build's paths, the core's imports of its root, the tests that read the repository's files by path (lspbench's, look.zig's spans over core/look.zig), the comments that cite files, the documents and the manual (the typst corpus reads core/tutor.txt and core/plumbing); left as they were: the /src tree's served names (src/pardes.zig and the rest are the 9P tree's, not the repository's), the CHANGELOG's history, fixtures that are only strings; fs-unit-test runs from the core's root (a module of the core rooted at fs.zig had the runtime's and the devices' `core` be fs.zig); nothing else changes: the ledger (pardes.test.* now root.test.*), frames byte-identical, replicas and process-test the base's
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/themes/clay.zig')
-rw-r--r--core/themes/clay.zig54
1 files changed, 54 insertions, 0 deletions
diff --git a/core/themes/clay.zig b/core/themes/clay.zig
new file mode 100644
index 00000000..ba76ad35
--- /dev/null
+++ b/core/themes/clay.zig
@@ -0,0 +1,54 @@
+//! Pardes clay: Gruvbox warm charcoal and earthy brights; deep olive command rails.
+//! A classic-inspired adaptation, not an exact upstream port.
+//! Reference: vendor/themes/gruvbox.json (Gruvbox Dark).
+//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ.
+pub const theme = .{
+ .name = "clay",
+ .bg = .{ 0x10, 0x10, 0x0e },
+ .fg = .{ 0xf3, 0xe5, 0xbc },
+ .tag_bg = .{ 0x34, 0x3f, 0x36 },
+ .tag_fg = .{ 0xd7, 0xd6, 0xb6 },
+ .tag_name_fg = .{ 0xaa, 0xe0, 0xe0 },
+ .tag_active_name_fg = .{ 0xb5, 0xec, 0xec },
+ .tag_active_bg = .{ 0x42, 0x4f, 0x40 },
+ .tag_active_fg = .{ 0xe3, 0xe2, 0xc2 },
+ .box = .{ 0x8a, 0xc8, 0x74 },
+ .box_dim = .{ 0x68, 0x7c, 0x4d },
+ .column_box = .{ 0xdd, 0x7c, 0x97 },
+ .column_box_dim = .{ 0x87, 0x5e, 0x65 },
+ .kw = .{ 0xff, 0x88, 0x65 },
+ .str = .{ 0xd1, 0xd5, 0x0c },
+ .num = .{ 0xe0, 0x79, 0x95 },
+ .comment = .{ 0xf6, 0xb9, 0x5b },
+ .lineno = .{ 0x69, 0x64, 0x55 },
+ .lineno_active = .{ 0x71, 0x6c, 0x5d },
+ .scroll_track = .{ 0x22, 0x21, 0x19 },
+ .scroll_thumb = .{ 0x8c, 0x94, 0x67 },
+ .border = .{ 0x74, 0x87, 0x61 },
+ .sel_bg = .{ 0x50, 0x5c, 0x38 },
+ .sel_fg = .{ 0xfb, 0xf1, 0xc7 },
+ .search_bg = .{ 0x6f, 0x54, 0x1f },
+ .search_fg = .{ 0xff, 0xe2, 0xa0 },
+ .diagnostic_error = .{ 0xff, 0x88, 0x65 },
+ .diagnostic_warning = .{ 0xff, 0xbf, 0x2a },
+ .diagnostic_info = .{ 0x7b, 0xbd, 0xac },
+ .diagnostic_hint = .{ 0x89, 0xca, 0x72 },
+ .palette = .{
+ .{ 0x10, 0x10, 0x0e },
+ .{ 0xfb, 0x8a, 0x69 },
+ .{ 0xb8, 0xbb, 0x26 },
+ .{ 0xfa, 0xbd, 0x2f },
+ .{ 0x8c, 0xb0, 0xcb },
+ .{ 0xd3, 0x86, 0x9b },
+ .{ 0x8e, 0xc0, 0xb3 },
+ .{ 0xf3, 0xe5, 0xbc },
+ .{ 0xb1, 0xa1, 0x8b },
+ .{ 0xfb, 0x8a, 0x69 },
+ .{ 0xb8, 0xbb, 0x26 },
+ .{ 0xfa, 0xbd, 0x2f },
+ .{ 0x8c, 0xb0, 0xcb },
+ .{ 0xd3, 0x86, 0x9b },
+ .{ 0x8e, 0xc0, 0xb3 },
+ .{ 0xf3, 0xe5, 0xbc },
+ },
+};