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/spectrum.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/spectrum.zig')
| -rw-r--r-- | core/themes/spectrum.zig | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/core/themes/spectrum.zig b/core/themes/spectrum.zig new file mode 100644 index 00000000..f7c25c3d --- /dev/null +++ b/core/themes/spectrum.zig @@ -0,0 +1,54 @@ +//! Pardes spectrum: Monokai Pro charcoal and candy syntax; warm umber command rails. +//! A classic-inspired adaptation, not an exact upstream port. +//! Reference: vendor/themes/monokai_pro.toml. +//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ. +pub const theme = .{ + .name = "spectrum", + .bg = .{ 0x10, 0x0e, 0x11 }, + .fg = .{ 0xfc, 0xfc, 0xfa }, + .tag_bg = .{ 0x3b, 0x38, 0x30 }, + .tag_fg = .{ 0xdd, 0xd8, 0xbb }, + .tag_name_fg = .{ 0xc5, 0xd7, 0xff }, + .tag_active_name_fg = .{ 0xd7, 0xe3, 0xff }, + .tag_active_bg = .{ 0x4d, 0x47, 0x36 }, + .tag_active_fg = .{ 0xe9, 0xe4, 0xc7 }, + .box = .{ 0xff, 0xd8, 0x66 }, + .box_dim = .{ 0x92, 0x84, 0x4f }, + .column_box = .{ 0xa4, 0x92, 0xfd }, + .column_box_dim = .{ 0x70, 0x65, 0x96 }, + .kw = .{ 0xff, 0x61, 0x88 }, + .str = .{ 0xa9, 0xee, 0x64 }, + .num = .{ 0xa2, 0x90, 0xff }, + .comment = .{ 0xff, 0xe0, 0x9b }, + .lineno = .{ 0x68, 0x61, 0x6b }, + .lineno_active = .{ 0x70, 0x69, 0x73 }, + .scroll_track = .{ 0x21, 0x1d, 0x23 }, + .scroll_thumb = .{ 0x94, 0x8d, 0x6f }, + .border = .{ 0x8f, 0x87, 0x6c }, + .sel_bg = .{ 0x51, 0x3f, 0x60 }, + .sel_fg = .{ 0xfc, 0xfc, 0xfa }, + .search_bg = .{ 0x6f, 0x5b, 0x1e }, + .search_fg = .{ 0xff, 0xf0, 0xb0 }, + .diagnostic_error = .{ 0xff, 0x79, 0x9b }, + .diagnostic_warning = .{ 0xff, 0xd8, 0x66 }, + .diagnostic_info = .{ 0x67, 0xe9, 0xf9 }, + .diagnostic_hint = .{ 0xa9, 0xeb, 0x67 }, + .palette = .{ + .{ 0x10, 0x0e, 0x11 }, + .{ 0xff, 0x79, 0x9b }, + .{ 0xa9, 0xdc, 0x76 }, + .{ 0xff, 0xd8, 0x66 }, + .{ 0x8f, 0xb5, 0xf5 }, + .{ 0xab, 0x9d, 0xf2 }, + .{ 0x78, 0xdc, 0xe8 }, + .{ 0xfc, 0xfc, 0xfa }, + .{ 0xad, 0xa5, 0xae }, + .{ 0xff, 0x79, 0x9b }, + .{ 0xa9, 0xdc, 0x76 }, + .{ 0xff, 0xd8, 0x66 }, + .{ 0x8f, 0xb5, 0xf5 }, + .{ 0xab, 0x9d, 0xf2 }, + .{ 0x78, 0xdc, 0xe8 }, + .{ 0xfc, 0xfc, 0xfa }, + }, +}; |
