summaryrefslogtreecommitdiff
path: root/core/themes/mono.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-26 04:36:36 -0300
committerGabriel Schneider <[email protected]>2026-11-26 04:36:36 -0300
commitfed268f2282a6d393a116d103e1fd88da87ecbff (patch)
tree0d213cf8de97a660cbccb924be24bd99211d010d /core/themes/mono.zig
parent47952d7797b25f41a3e29ec0dc349564c0185fd4 (diff)
downloadpardes-fed268f2282a6d393a116d103e1fd88da87ecbff.tar.gz
pardes-fed268f2282a6d393a116d103e1fd88da87ecbff.zip
themes, colors, gen_themes: `dark` refreshed and four new pardes themes, light, mono, okabe and sepia, and the ring in DESIGN.md E's groups (the themes programme's L5; DESIGN.md C, D, E, G2, G3): DARK (C): still the one theme with no page and no text of its own, so a terminal keeps the host's cell, ink and sixteen (ansi.inkOf's `host`), and a window draws colors.null_page #121212 and #cccccc (G2 (a)); its comments the brightest ink, #f0f0f0; keywords violet #d76ef0 (6.6:1; was #da5eea, 5.9:1); the lilac tag #2c2a3e with #aba9c3 ink, focused #d6d4e8; the grip #a58bff (3.4:1 on its focused tag; was #663fe0, 1.45:1); a violet selection #46337a in #f4f0ff (G3 (a): the tan #513c17 sat in the hits' amber); its own severities #ff6e7f #ffb454 #7fa8ff #62d2c4, line numbers #5c5c66 / #8e8c9e, and a designed sixteen for the window (its ANSI 8 #7e7b96, 4.6:1, where L1's derived one was 3:1); its focused tag, mode ring, grip ring, dirty, rules, hits and diff rows Chrome.of's; LIGHT, MONO, OKABE, SEPIA (D): each its primitives as the designer's prototype resolved and audited them (.scratch/themes/C1/newthemes.py, swatches.md: page, text, tag and its ink, accent, selection and its ink, the four syntax hues, line numbers, the four severities, the sixteen; okabe's added blue #56b4e9 and deleted vermilion #ff8a4c), everything else Chrome.of's; THE RING (E): curated in the picker's sections: Pardes (dark, light, orchard, orchard_black, ink, mono, okabe, sepia, paper, daybreak, dusk, lapis), Pardes, after a classic (forge, forge_black, forge_soft, lagoon, solarium, spectrum, harvest, clay), acme (acme, atelier), the faithful ports a family at a time as before, Captured (helix; "Legacy themes" gone); the imported a family at a time, each under its heading (`Imported: gruvbox`, a family the name's first word, two themes or more), the lone ones last under one (`Imported, one of a kind`): the generator rings them so (gen_themes `byFamily`) and colors.zig heads them at comptime (`import_heads`, a compile error where a family rings after a lone theme); ORCHARD THE DEFAULT BY NAME (`colors.default_theme`: config.Settings' `theme`, the library's `default_theme`, macos.zig's bare page), never index 0, which is dark now; THE RING TEST: dusk, lagoon, solarium and forge_soft `soft` (`soft_themes`: held at AA, their text and tag text never to the pro 7:1; the coordinator's ruling) where they were on the expected list; the diff rows' "unless the text holds it nearer" exception for the ports and imports only, pardes's own held to 1.15:1 (the coordinator's ruling: every one of them meets it); pardes's own are every theme before the first faithful port, so dark and the new four are held to the pro floors with the natives; the old tests that read the first fifteen by place read the fifteen designed natives by name (`designed`; `native_theme_count` gone, B8); RUN (TEST FIRST): the ring test with dark off its list and the soft four marked failed on L4's dark (ansi_pro: its ANSI 8 3:1) and, with the soft mark on text alone, on lagoon's and solarium's tag_text7: 281 of 289 themes pass (272 of 285 at L4, the four new ones passing every floor, pro included), 8 on the list (L7's retired); colors.zig "the picker's sections run in ring order and cover it": dark first, orchard the default by name, each imported family's heading at its first, none after the lone ones' (fails on L4: "Pardes themes", orchard at 0); test/process/tty_themes.zig's `theme` case boots in dark (`Theme dark`, its own init line) and steps NextColor through the 24 of the new order into the first ports (dark, light, orchard, orchard-black, ink, mono, okabe, sepia, paper, daybreak, dusk, lapis, forge, ..., clay, acme, atelier, dark-plus, solarized-dark), `themesel` walks the Themes list from its first row the same 24 (both goldens re-recorded and read at the programme's end gate: the snaps are named for the new order); core-test 1140/1313 (173 skipped: as L4, the picker test grown); OUTSIDE my files: core/config.zig (the default, 1 line), core/lib_syntax.zig (`default_theme`), runtime/macos.zig (1 line), test/consumer/lib.zig (orchard is `default_theme`), test/process/tty_themes.zig (the two cases); no dump or digest change (a dump names its theme; settings.theme is a place in this build's ring, as before)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'core/themes/mono.zig')
-rw-r--r--core/themes/mono.zig31
1 files changed, 31 insertions, 0 deletions
diff --git a/core/themes/mono.zig b/core/themes/mono.zig
new file mode 100644
index 00000000..f0dd109a
--- /dev/null
+++ b/core/themes/mono.zig
@@ -0,0 +1,31 @@
+//! pardes mono: acme at night (DESIGN.md part D). Syntax by lightness
+//! alone: keywords the brightest, strings a warm off-white, numbers the
+//! text's, comments a step down (5.6:1). Hue only where pardes says a state:
+//! the selection, hits, severities, added and deleted. For acme and Plan 9
+//! users, anyone who finds syntax colour noise, and screen sharing.
+pub const theme = .{
+ .name = "mono",
+ .page = .{ 0x11, 0x11, 0x13 },
+ .text = .{ 0xbf, 0xc0, 0xc6 },
+ .tag = .{ 0x1e, 0x1f, 0x24 },
+ .tag_text = .{ 0xa2, 0xa4, 0xad },
+ .accent = .{ 0xe6, 0xe7, 0xec },
+ .selection = .{ 0x3b, 0x3d, 0x47 },
+ .selection_text = .{ 0xf2, 0xf2, 0xf5 },
+ .keyword = .{ 0xf2, 0xf2, 0xf5 },
+ .string = .{ 0xd4, 0xd0, 0xc4 },
+ .number = .{ 0xbf, 0xc0, 0xc6 },
+ .comment = .{ 0x8a, 0x8b, 0x94 },
+ .line_number = .{ 0x55, 0x56, 0x5e },
+ .line_number_current = .{ 0x80, 0x81, 0x8b },
+ .@"error" = .{ 0xff, 0x7b, 0x72 },
+ .warning = .{ 0xe3, 0xb3, 0x41 },
+ .info = .{ 0x79, 0xc0, 0xff },
+ .hint = .{ 0xa5, 0xd6, 0xa7 },
+ .ansi = .{
+ .{ 0x1e, 0x1f, 0x24 }, .{ 0xff, 0x7b, 0x72 }, .{ 0x7e, 0xe7, 0x87 }, .{ 0xe3, 0xb3, 0x41 },
+ .{ 0x79, 0xc0, 0xff }, .{ 0xd2, 0xa8, 0xff }, .{ 0x76, 0xe3, 0xea }, .{ 0xbf, 0xc0, 0xc6 },
+ .{ 0x7b, 0x7d, 0x86 }, .{ 0xff, 0xa1, 0x98 }, .{ 0xa5, 0xf0, 0xb0 }, .{ 0xf2, 0xcc, 0x60 },
+ .{ 0xa5, 0xd6, 0xff }, .{ 0xe2, 0xc5, 0xff }, .{ 0xb3, 0xf0, 0xff }, .{ 0xf2, 0xf2, 0xf5 },
+ },
+};