diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-18 22:03:14 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-18 22:23:51 -0300 |
| commit | 99f5b10eccd95aa0066ea6fe6bb75f367ab56a47 (patch) | |
| tree | 813596ea84318a7bae4fd7416ba463de8e3b7107 /core/themes/forge.zig | |
| parent | 92d553123673376adf6126ab90d49a22c5b833d2 (diff) | |
| download | pardes-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/forge.zig')
| -rw-r--r-- | core/themes/forge.zig | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/core/themes/forge.zig b/core/themes/forge.zig new file mode 100644 index 00000000..0effa742 --- /dev/null +++ b/core/themes/forge.zig @@ -0,0 +1,55 @@ +//! Pardes forge: Dark Plus blue and peach on near-black coal; slate-blue command rails. +//! A classic-inspired adaptation, not an exact upstream port. +//! Reference: vendor/themes/dark_plus.toml. +//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ. +pub const theme = .{ + .name = "forge", + .bg = .{ 0x0c, 0x0c, 0x0e }, + .fg = .{ 0xe5, 0xe5, 0xe5 }, + .tag_bg = .{ 0x22, 0x25, 0x2b }, + .tag_fg = .{ 0xc5, 0xc9, 0xd2 }, + .tag_name_fg = .{ 0xec, 0xbf, 0x9b }, + .tag_active_name_fg = .{ 0xf8, 0xcb, 0xa7 }, + .tag_active_bg = .{ 0x2d, 0x34, 0x40 }, + .tag_active_fg = .{ 0xd1, 0xd5, 0xde }, + .box = .{ 0x9c, 0xc3, 0xf7 }, + .box_dim = .{ 0x55, 0x64, 0x7b }, + .column_box = .{ 0xb4, 0xd3, 0xa3 }, + .column_box_dim = .{ 0x6a, 0x7b, 0x67 }, + .kw = .{ 0x61, 0xb7, 0xfc }, + .str = .{ 0xdd, 0x8b, 0x69 }, + .num = .{ 0xb3, 0xd5, 0xa1 }, + .comment = .{ 0xb3, 0xca, 0xff }, + .lineno = .{ 0x62, 0x65, 0x6c }, + .lineno_active = .{ 0x6a, 0x6d, 0x74 }, + .scroll_track = .{ 0x1a, 0x1c, 0x21 }, + .scroll_thumb = .{ 0x70, 0x80, 0x95 }, + .border = .{ 0x60, 0x6f, 0x86 }, + .sel_bg = .{ 0x1c, 0x51, 0x72 }, + .sel_fg = .{ 0xe2, 0xee, 0xf4 }, + .search_bg = .{ 0x61, 0x4d, 0x1d }, + .search_fg = .{ 0xf5, 0xdf, 0xa1 }, + .diagnostic_error = .{ 0xff, 0x7f, 0x74 }, + .diagnostic_warning = .{ 0xe4, 0xbf, 0x70 }, + .diagnostic_info = .{ 0x75, 0xbe, 0xff }, + .diagnostic_hint = .{ 0x81, 0xd8, 0xbe }, + // ANSI roles are semantic colors, independent of peach string syntax. + .palette = .{ + .{ 0x0c, 0x0c, 0x0e }, + .{ 0xf2, 0x8a, 0x81 }, + .{ 0xb5, 0xce, 0xa8 }, + .{ 0xd7, 0xba, 0x7d }, + .{ 0x75, 0xbe, 0xff }, + .{ 0xc5, 0x86, 0xc0 }, + .{ 0x8b, 0xce, 0xba }, + .{ 0xe5, 0xe5, 0xe5 }, + .{ 0x9c, 0xa0, 0xa9 }, + .{ 0xf2, 0x8a, 0x81 }, + .{ 0xb5, 0xce, 0xa8 }, + .{ 0xd7, 0xba, 0x7d }, + .{ 0x75, 0xbe, 0xff }, + .{ 0xc5, 0x86, 0xc0 }, + .{ 0x8b, 0xce, 0xba }, + .{ 0xe5, 0xe5, 0xe5 }, + }, +}; |
