diff options
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 }, + }, +}; |
