summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-26 03:40:00 -0300
committerGabriel Schneider <[email protected]>2026-11-26 04:15:33 -0300
commit0788ce68c4c43148d3d5fa173b4fe46aa10371c9 (patch)
tree54fe1321dbf0e31d9f8151efedbf29a2609ad6cb
parent60e85abe53debc0c8dd8986b748e9c86086e0007 (diff)
downloadpardes-0788ce68c4c43148d3d5fa173b4fe46aa10371c9.tar.gz
pardes-0788ce68c4c43148d3d5fa173b4fe46aa10371c9.zip
themes, colors, gen_themes: every theme file in the v2 names, values unchanged (the themes programme's L3; DESIGN.md B2, B3, B8, E1, G4, G6), the fields the new names derive deleted, the comptime fold of the old names gone, each faithful port's file saying each own colour pardes moves to meet a floor, and E1's five fixes: THE FILES: core/themes/*.zig renamed by a script (bg page, fg text, tag_bg tag, tag_fg tag_text, box accent, sel_bg selection, kw keyword, str string, num number, palette ansi, sel_fg selection_text, tag_active_* tag_focus*, tag_name_fg tag_name, tagline_* workspace*, lineno* line_number*, search_bg hit, diagnostic_* the severities, border rule, scroll_* rail*, empty_col empty_column, box_border grip_ring, box_dirty dirty, column_box column_grip, tag_sel_bg tag_selection; seoul256's level rows and their citations too), box_dim, column_box_dim, tag_active_name_fg, search_fg and acme's tag_reading_bg deleted with the lines citing them (B8: always derived; G1': acme's #f3f0cc reading tint goes with the ground), acme's sweep_bg and sweep_fg one `sweeps`; tools/gen_themes.zig writes the generated ones in the same names (its emitted box_dim, the selection again, gone); `colors.fold` folds the files into `Theme` itself (a field no Theme has is a compile error; `as` turns acme's sweep literals into Theme.Sweep, which a literal's own struct type does not coerce to); `legacy_themes`, the ring folded in the old names at comptime, deleted: THE OLD NAMES' VIEW (what draw.zig and the old ChromeTheme and Roles still read until L2a) is a ring theme's chrome's, `ChromeTheme.view`, filled from its Chrome as L1 filled a new-names ThemeFile's (`viewOf`: the old required fields a theme leaves unset, and the derived ones: box_dim a resting grip's fill, the tag's own ground where a theme rings its grips itself (acme's clean button, so its grid grip keeps its look) else the resting ring; tag_active_name_fg `name[1]`, column_box_dim `grip.column_rest`); `Pardes.theme()` reads it (a ThemeFile's, the file itself, as before); ChromeTheme.box, the focused grip the grid fills, is the chrome's `grip.focus` (the accent held 3:1, R6: ayu_light's accent, 2:1 on its tag, was its resting ring too, and the grid drew its focused and resting grips alike); the library's `Theme` and `themes` are the v2 ones (lib_syntax: page, ink and synInk read page, text, keyword, string, number, comment; Grounds.of takes a Theme), runtime/macos.zig's bare page reads `themes[0].page`; E1's FIXES (the ring test's L3 list): acme's sixteen each 4.5:1 on its page, the native floor (6, 8 and 13 held darker in their hue; 10, 11 and 14, held there, landed on their normal colour and go 0.06 OKLab darker than it, R14's bright on a light page: #038384 #757575 #016e08 #785300 #b942b9 #017070); solarized_dark's, solarized_light's and seoul256's light levels' search hit their own hue as a ground the text reads on (#1d180e, #ffeb99, #a6e6fe; each file says from what and why); R8 takes a theme's own hit at R0's visible alternative, 1.1:1 off the page with 0.08 OKLab, only where its text leaves no room for 1.5:1 (no ground that far off keeps the text its floor: those four and forge_soft and ayu_light, whose own hits are taken now where an amber stood; no other theme's hit moves), else E1's `hit` fixes could not be met; G4: core/themes' ports say, under "Moved by pardes as it loads", each own colour Chrome.of moves (focused tag and grip, the resting and unsaved grip, the selection and its ink, the hit, the four severities on the page; 267 lines over 54 files, written from the test's own output by .scratch/themes/L3457/tools/g4_headers.py); RUN (TEST FIRST): colors.zig "every faithful port's file says each of its own colours pardes moves to meet a floor (DESIGN.md G4)" (each port's own value Chrome.of moves, as `role #own -> #got`, found in its file): fails on the renamed files with 273 unsaid, passes now; "every theme in the ring meets every floor ..." with L3's five taken off its list: acme fails ansi and ansi_pro, solarized_dark, solarized_light, seoul256_light_254 and _255 fail hit, all five pass now: 266 of 285 themes pass (261 at L1), 19 on the list (L4 6, L5 1, L7 8, soft 4); draw.zig's "an unfocused reading pane's box in the grid is its ring round the reading tint where the box's fill is the tag's own ground (acme's)" failed on the first view (acme's resting fill its ring), passes with the tag's ground; "a grip's four states ... are each its own" failed in ayu_light on the raw accent, passes on grip.focus; the old tests that pinned the deleted fields' file values keep what is still a file's (a name's tint at its tag ink's lightness, the accent off the column grip; the helix document test strips the derived fields too; the names test reads Chrome's names, an ink held to white or black its own name, ao's and modus_vivendi's); the consumer's lib.zig pins orchard's page, ink and syntax unchanged (dark's page its `.tag`); the ring's values unchanged by the rename (the ring test's count and every original's colour asserted unmoved); core-test 1133/1306 (173 skipped: L2b's 1132/1305 + the G4 test); OUTSIDE my files: core/Core.zig `theme()` (the view), core/lib_syntax.zig (v2 Theme), runtime/macos.zig `pardes_theme_bg` (one line), test/consumer/lib.zig (`.tag`); the process goldens move with the view (the grid's resting grip, the focused name's tint, the column grip at rest, acme's reading grip) and are re-recorded and read at the programme's end gate; no dump or digest change (the view is the chrome's, a `local` field)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
-rw-r--r--core/Core.zig7
-rw-r--r--core/colors.zig270
-rw-r--r--core/lib_syntax.zig10
-rw-r--r--core/themes/acme.zig67
-rw-r--r--core/themes/alucard.zig46
-rw-r--r--core/themes/atelier.zig54
-rw-r--r--core/themes/ayu_dark.zig52
-rw-r--r--core/themes/ayu_light.zig57
-rw-r--r--core/themes/ayu_mirage.zig53
-rw-r--r--core/themes/catppuccin_frappe.zig57
-rw-r--r--core/themes/catppuccin_latte.zig63
-rw-r--r--core/themes/catppuccin_macchiato.zig57
-rw-r--r--core/themes/catppuccin_mocha.zig57
-rw-r--r--core/themes/clay.zig54
-rw-r--r--core/themes/dark.zig33
-rw-r--r--core/themes/dark_plus.zig62
-rw-r--r--core/themes/daybreak.zig54
-rw-r--r--core/themes/doom_one.zig54
-rw-r--r--core/themes/doom_one_light.zig58
-rw-r--r--core/themes/dracula.zig51
-rw-r--r--core/themes/dracula_soft.zig51
-rw-r--r--core/themes/duckbones.zig58
-rw-r--r--core/themes/dusk.zig54
-rw-r--r--core/themes/forestbones_dark.zig57
-rw-r--r--core/themes/forestbones_light.zig63
-rw-r--r--core/themes/forge.zig54
-rw-r--r--core/themes/forge_black.zig54
-rw-r--r--core/themes/forge_soft.zig54
-rw-r--r--core/themes/harvest.zig54
-rw-r--r--core/themes/helix.zig33
-rw-r--r--core/themes/ink.zig54
-rw-r--r--core/themes/kanagawabones.zig56
-rw-r--r--core/themes/lagoon.zig54
-rw-r--r--core/themes/lapis.zig60
-rw-r--r--core/themes/monokai.zig59
-rw-r--r--core/themes/monokai_pro.zig58
-rw-r--r--core/themes/monokai_pro_classic.zig58
-rw-r--r--core/themes/monokai_pro_light.zig64
-rw-r--r--core/themes/monokai_pro_light_sun.zig64
-rw-r--r--core/themes/monokai_pro_machine.zig58
-rw-r--r--core/themes/monokai_pro_octagon.zig58
-rw-r--r--core/themes/monokai_pro_ristretto.zig58
-rw-r--r--core/themes/monokai_pro_spectrum.zig58
-rw-r--r--core/themes/neobones_dark.zig56
-rw-r--r--core/themes/neobones_light.zig57
-rw-r--r--core/themes/nord.zig58
-rw-r--r--core/themes/nordbones.zig60
-rw-r--r--core/themes/orchard.zig54
-rw-r--r--core/themes/orchard_black.zig54
-rw-r--r--core/themes/paper.zig54
-rw-r--r--core/themes/rose_pine.zig56
-rw-r--r--core/themes/rose_pine_dawn.zig65
-rw-r--r--core/themes/rose_pine_moon.zig56
-rw-r--r--core/themes/rosebones_dark.zig56
-rw-r--r--core/themes/rosebones_light.zig62
-rw-r--r--core/themes/seoul256.zig341
-rw-r--r--core/themes/seoulbones_dark.zig62
-rw-r--r--core/themes/seoulbones_light.zig63
-rw-r--r--core/themes/solarium.zig54
-rw-r--r--core/themes/solarized_dark.zig57
-rw-r--r--core/themes/solarized_light.zig56
-rw-r--r--core/themes/spectrum.zig54
-rw-r--r--core/themes/tokyobones_dark.zig56
-rw-r--r--core/themes/tokyobones_light.zig57
-rw-r--r--core/themes/tokyonight_day.zig63
-rw-r--r--core/themes/tokyonight_moon.zig58
-rw-r--r--core/themes/tokyonight_night.zig58
-rw-r--r--core/themes/tokyonight_storm.zig60
-rw-r--r--core/themes/vimbones.zig57
-rw-r--r--core/themes/zenbones_dark.zig57
-rw-r--r--core/themes/zenbones_light.zig57
-rw-r--r--core/themes/zenburned.zig63
-rw-r--r--core/themes/zenwritten_dark.zig57
-rw-r--r--core/themes/zenwritten_light.zig57
-rw-r--r--runtime/macos.zig4
-rw-r--r--test/consumer/lib.zig2
-rw-r--r--tools/gen_themes.zig146
77 files changed, 2425 insertions, 2309 deletions
diff --git a/core/Core.zig b/core/Core.zig
index e458dab4..9cd58c50 100644
--- a/core/Core.zig
+++ b/core/Core.zig
@@ -2155,10 +2155,11 @@ fn sizes(p: *const Pardes, pane: *const Pane) bool {
return pane.sized_by == p.live;
}
+/// The theme in the old names, for what still reads a theme's own
+/// fields (colors.ChromeTheme.view).
pub fn theme(p: *const Pardes) *const LegacyTheme {
- if (p.theme_preview) |i| return &colors.legacy_themes[i];
- if (p.custom_theme) |*custom| return custom;
- return &colors.legacy_themes[p.settings.theme];
+ if (p.theme_preview == null) if (p.custom_theme) |*custom| return custom;
+ return &p.chromeTheme().view;
}
/// The colours of the chrome: the theme's, set as it changes.
diff --git a/core/colors.zig b/core/colors.zig
index 44a2d415..ed82b731 100644
--- a/core/colors.zig
+++ b/core/colors.zig
@@ -700,12 +700,17 @@ pub const Chrome = struct {
};
const severity = severitiesOn(page, text, candidates, null);
- // R8: the hits' hue and grounds.
+ // R8: the hits' hue and grounds; a theme's own where it is a ground
+ // you see and the text reads on: 1.5:1 off the page, or, where the
+ // text leaves no room for that (no ground 1.5:1 off keeps it its
+ // floor), 1.1:1 with 0.08 OKLab (R0).
const ink_floor = @min(text_floor, contrast(text, page) * 0.9);
- const own_hit: ?[3]u8 = if (th.hit) |own|
- (if (contrast(own, page) >= hit_floor - 0.01 and contrast(text, own) >= ink_floor - 0.01) own else null)
- else
- null;
+ const own_hit: ?[3]u8 = if (th.hit) |own| own: {
+ const off = contrast(own, page);
+ const no_room = contrast(text, page) < hit_floor * ink_floor;
+ const seen = off >= hit_floor - 0.01 or (no_room and off >= 1.1 and oklabDistance(labOf(own), labOf(page)) >= 0.08);
+ break :own if (seen and contrast(text, own) >= ink_floor - 0.01) own else null;
+ } else null;
var hue = severity[1];
if (own_hit) |own| {
hue = own;
@@ -1054,12 +1059,12 @@ fn hsvApart(a: [3]u8, b: [3]u8) f32 {
}
/// The ink a syntax class is drawn in; a byte of none keeps its text's own.
-pub fn synInk(th: *const LegacyTheme, sy: @import("syntax.zig").Syn) ?[3]u8 {
+pub fn synInk(th: *const Theme, sy: @import("syntax.zig").Syn) ?[3]u8 {
return switch (sy) {
.none => null,
- .keyword => th.kw,
- .string => th.str,
- .number => th.num,
+ .keyword => th.keyword,
+ .string => th.string,
+ .number => th.number,
.comment => th.comment,
};
}
@@ -1073,8 +1078,8 @@ pub const Grounds = struct {
pub const Ground = Chrome.Diff;
- pub fn of(th: *const LegacyTheme) Grounds {
- const c = Chrome.of(&.fromLegacy(th.*));
+ pub fn of(th: *const Theme) Grounds {
+ const c = Chrome.of(th);
return .{ .add = c.add, .del = c.del };
}
@@ -1178,19 +1183,21 @@ const curated = struct {
pub const dark = @import("themes/dark.zig");
};
-/// A struct of theme files as themes in the old names: each file's
-/// `theme`, a field it leaves out its default.
-fn fold(comptime C: type) [@typeInfo(C).@"struct".decl_names.len]LegacyTheme {
+/// A struct of theme files as themes: each file's `theme`, a field it
+/// leaves out its default.
+fn fold(comptime C: type) [@typeInfo(C).@"struct".decl_names.len]Theme {
comptime {
@setEvalBranchQuota(400000);
- var out: [@typeInfo(C).@"struct".decl_names.len]LegacyTheme = undefined;
- const theme_info = @typeInfo(LegacyTheme).@"struct";
+ var out: [@typeInfo(C).@"struct".decl_names.len]Theme = undefined;
+ const theme_info = @typeInfo(Theme).@"struct";
for (@typeInfo(C).@"struct".decl_names, 0..) |d, i| {
- var t: LegacyTheme = undefined;
+ var t: Theme = undefined;
const source = @field(C, d).theme;
+ for (@typeInfo(@TypeOf(source)).@"struct".field_names) |name| if (!@hasField(Theme, name))
+ @compileError("theme " ++ d ++ " has no field " ++ name ++ " (core/theme_schema.zig)");
for (theme_info.field_names, theme_info.field_types, theme_info.field_attrs) |name, T, attrs| {
@field(t, name) = if (@hasField(@TypeOf(source), name))
- @field(source, name)
+ as(T, @field(source, name))
else if (attrs.defaultValue(T)) |value|
value
else
@@ -1202,18 +1209,27 @@ fn fold(comptime C: type) [@typeInfo(C).@"struct".decl_names.len]LegacyTheme {
}
}
-/// The ring in the old names: what `Pardes.theme()` hands the surfaces
-/// that still read a theme's own fields, until they read `Chrome` (the
-/// themes programme's L2 lines).
-pub const legacy_themes = fold(curated) ++ fold(@import("generated_themes"));
+/// A theme file's literal as the field's type: a struct field by field
+/// (acme's sweeps), which a literal's own struct type does not coerce to.
+fn as(comptime T: type, comptime value: anytype) T {
+ return switch (@typeInfo(T)) {
+ .optional => |o| if (@TypeOf(value) == @TypeOf(null)) null else as(o.child, value),
+ .array => |a| blk: {
+ var out: T = undefined;
+ for (&out, 0..) |*e, i| e.* = as(a.child, value[i]);
+ break :blk out;
+ },
+ .@"struct" => blk: {
+ var out: T = undefined;
+ for (@typeInfo(T).@"struct".field_names) |name| @field(out, name) = as(@FieldType(T, name), @field(value, name));
+ break :blk out;
+ },
+ else => value,
+ };
+}
+
/// The ring: pardes's own (`native_count` of them), then the imported.
-/// The files still speak the old names: renamed here, at comptime.
-pub const themes: [legacy_themes.len]Theme = blk: {
- @setEvalBranchQuota(400000);
- var out: [legacy_themes.len]Theme = undefined;
- for (&out, legacy_themes) |*t, old| t.* = .fromLegacy(old);
- break :blk out;
-};
+pub const themes = fold(curated) ++ fold(@import("generated_themes"));
/// The first `native_count` of `themes` are pardes's own; the rest imported.
pub const native_count = @typeInfo(curated).@"struct".decl_names.len;
@@ -1299,14 +1315,25 @@ pub const ChromeTheme = struct {
/// the surfaces that still read them until they do (the themes
/// programme's L2 lines), so no frame moves before its surface does.
resolved: Chrome,
+ /// The theme in the old names (`Pardes.theme()`), for what still reads
+ /// a theme's own fields: a ThemeFile in them, itself; any other theme's
+ /// filled from its chrome where the new names derive (`viewOf`).
+ view: LegacyTheme,
/// A theme in the old names' chrome.
pub fn fromTheme(th: *const LegacyTheme) ChromeTheme {
- return .of(&.fromLegacy(th.*), th);
+ return .of(&.fromLegacy(th.*), th, .of(&.fromLegacy(th.*)));
}
- /// A theme's chrome, from the theme and its old names' view.
- pub fn of(theme: *const Theme, th: *const LegacyTheme) ChromeTheme {
+ /// A theme in the new names' chrome: the ring's, a ThemeFile's.
+ pub fn ofTheme(theme: *const Theme) ChromeTheme {
+ const resolved: Chrome = .of(theme);
+ return .of(theme, &viewOf(theme, &resolved), resolved);
+ }
+
+ /// A theme's chrome, from the theme, its old names' view and what B4
+ /// derives of it.
+ fn of(theme: *const Theme, th: *const LegacyTheme, resolved: Chrome) ChromeTheme {
const active_bg = focusTint(th);
const active_fg = th.tag_active_fg orelse th.tag_fg;
// A name is always tinted: a theme that names no tint gets one of
@@ -1332,18 +1359,37 @@ pub const ChromeTheme = struct {
// A theme's error ink, else its palette's red (UX E3).
.diagnostic_error = th.diagnostic_error orelse if (th.palette) |pal| pal[1] else (th.fg orelse th.tag_fg),
.diagnostic_warning = th.diagnostic_warning orelse (th.fg orelse th.tag_fg),
- .box = th.box,
+ // The focused grip the chrome's (the accent held 3:1, R6).
+ .box = resolved.grip.focus,
.box_dim = th.box_dim,
.column_box = th.column_box orelse th.num,
.column_box_dim = th.column_box_dim orelse mix(th.column_box orelse th.num, th.tag_bg),
.scroll_track = th.scroll_track,
.scroll_thumb = th.scroll_thumb,
.roles = .of(th, th.tag_bg, active_bg, reading),
- .resolved = .of(theme),
+ .resolved = resolved,
+ .view = th.*,
};
}
};
+/// A theme in the new names as the old names say it: the fields they
+/// require and the new ones derive, from its chrome. `box_dim`, a resting
+/// grip's fill: the tag's own ground where the theme rings its grips itself
+/// (acme's clean button, R6), else the resting ring.
+fn viewOf(theme: *const Theme, r: *const Chrome) LegacyTheme {
+ const fill = if (theme.grip_ring != null) r.tag[0].ground else r.grip.ring;
+ return theme.toLegacy(.{
+ .sel_fg = r.page.selection.text,
+ .lineno = r.line_number,
+ .scroll_track = r.rail,
+ .scroll_thumb = r.rail_thumb,
+ .box_dim = fill,
+ .tag_active_name_fg = r.name[1],
+ .column_box_dim = r.grip.column_rest,
+ });
+}
+
/// A tag's ground in the walk UI (UX DESIGN.md D4): the plain tag's, the
/// focused one's tint, a reading pane's tint, focused or not (its ink is
/// the focused tag's while it has the keyboard).
@@ -1691,26 +1737,27 @@ pub fn loadThemeFile(p: *Pardes, generation: u32, bytes: []const u8) bool {
// user's own, an older DumpThemes') is read in them and renamed; its
// old names' view is the file itself.
var theme: Theme = undefined;
- var view: LegacyTheme = undefined;
+ var chrome: ChromeTheme = undefined;
if (inOldNames(source)) {
- view = std.zon.parse.fromSlice(LegacyTheme, options) catch |err| return zonFailed(p, request, err, &diagnostics);
+ const view = std.zon.parse.fromSlice(LegacyTheme, options) catch |err| return zonFailed(p, request, err, &diagnostics);
+ chrome = .fromTheme(&view);
theme = .fromLegacy(view);
} else {
theme = std.zon.parse.fromSlice(Theme, options) catch |err| return zonFailed(p, request, err, &diagnostics);
- const r = Chrome.of(&theme);
- view = theme.toLegacy(.{ .sel_fg = r.page.selection.text, .lineno = r.line_number, .scroll_track = r.rail, .scroll_thumb = r.rail_thumb, .box_dim = r.grip.ring });
+ chrome = .ofTheme(&theme);
}
if (theme.name.len == 0 or theme.name.len > 255) {
themeFileError(p, request, error.InvalidThemeName);
return false;
}
+ var view = chrome.view;
view.name = p.gpa.dupe(u8, theme.name) catch |err| {
themeFileError(p, request, err);
return false;
};
- theme.name = view.name;
+ chrome.view.name = view.name;
- p.theme_chrome = .of(&theme, &view);
+ p.theme_chrome = chrome;
const old = p.custom_theme;
p.custom_theme = view;
if (old) |theme_value| p.gpa.free(theme_value.name);
@@ -1749,8 +1796,7 @@ fn inOldNames(source: [:0]const u8) bool {
/// The session's theme's chrome, at its start (Pardes.init, a Restore):
/// never one the window previews (`previewTheme`).
pub fn finishThemeInitialization(p: *Pardes) void {
- const theme = if (p.custom_theme) |*custom| custom else &legacy_themes[p.settings.theme];
- p.theme_chrome = if (p.custom_theme != null) .fromTheme(theme) else .of(&themes[p.settings.theme], theme);
+ p.theme_chrome = if (p.custom_theme) |*custom| .fromTheme(custom) else .ofTheme(&themes[p.settings.theme]);
}
/// Themes near `name`, a line of them, for a Theme given a name there is
@@ -1830,14 +1876,14 @@ pub fn previewTheme(p: *Pardes, index: ?usize) void {
if (i >= themes.len) return;
if (p.theme_preview) |had| if (had == i) return;
p.theme_preview = @intCast(i);
- p.preview_chrome = .of(&themes[i], &legacy_themes[i]);
+ p.preview_chrome = .ofTheme(&themes[i]);
}
pub fn setThemeIndex(p: *Pardes, index: usize) void {
if (index >= themes.len or
(p.custom_theme == null and p.theme_file_path.get().len == 0 and
index == @as(usize, p.settings.theme))) return;
- p.theme_chrome = .of(&themes[index], &legacy_themes[index]);
+ p.theme_chrome = .ofTheme(&themes[index]);
if (p.custom_theme) |theme_value| {
p.custom_theme = null;
p.gpa.free(theme_value.name);
@@ -1852,7 +1898,9 @@ pub fn setThemeIndex(p: *Pardes, index: usize) void {
}
test "every native theme's separators stand off its page, and its focus tint off its tag" {
- for (legacy_themes[0..native_count]) |*theme| {
+ for (themes[0..native_count]) |*ring_theme| {
+ const view = ChromeTheme.ofTheme(ring_theme).view;
+ const theme = &view;
const chrome = ChromeTheme.fromTheme(theme);
const page = theme.bg orelse null_page;
try std.testing.expect(contrast(chrome.border, page) >= separator_floor);
@@ -1871,7 +1919,9 @@ test "every native theme's separators stand off its page, and its focus tint off
test "every faithful port meets pardes's chrome floors in its own colours, with nothing left to derive" {
const first = comptime indexOfTheme("lapis") + 1;
const last = comptime indexOfTheme("helix");
- for (legacy_themes[first..last]) |*th| {
+ for (themes[first..last]) |*ring_theme| {
+ const view = ChromeTheme.ofTheme(ring_theme).view;
+ const th = &view;
const chrome = ChromeTheme.fromTheme(th);
const page = th.bg.?;
// Written out already adjusted: the run-time lift and push leave
@@ -1892,11 +1942,8 @@ test "every faithful port meets pardes's chrome floors in its own colours, with
}
test "a derived separator or tint keeps the theme's own when it already stands off" {
- const forge = &legacy_themes[
- for (legacy_themes[0..native_count], 0..) |t, i| {
- if (std.mem.eql(u8, t.name, "forge")) break i;
- } else unreachable
- ];
+ const view = ChromeTheme.ofTheme(&themes[comptime indexOfTheme("forge")]).view;
+ const forge = &view;
const chrome = ChromeTheme.fromTheme(forge);
try std.testing.expectEqual(forge.border.?, chrome.border);
// forge's own tint is 1.23:1 off its tag: pushed on the way it leans.
@@ -1939,9 +1986,9 @@ test "seoul256's twelve backgrounds ring in their order, after Catppuccin and be
"seoul256_light_253", "seoul256_light_254", "seoul256_light_255", "seoul256_light_256",
};
const first = indexOfTheme("seoul256_dark_233");
- for (names, legacy_themes[first..][0..names.len]) |name, t| try std.testing.expectEqualStrings(name, t.name);
- try std.testing.expectEqualStrings("catppuccin_mocha", legacy_themes[first - 1].name);
- try std.testing.expectEqualStrings("zenbones_light", legacy_themes[first + names.len].name);
+ for (names, themes[first..][0..names.len]) |name, t| try std.testing.expectEqualStrings(name, t.name);
+ try std.testing.expectEqualStrings("catppuccin_mocha", themes[first - 1].name);
+ try std.testing.expectEqualStrings("zenbones_light", themes[first + names.len].name);
}
test "a theme hint drops whole names to fit, never cutting one" {
@@ -2028,7 +2075,7 @@ test "ThemeFile parses ZON atomically and Theme returns to the compiled ring" {
try std.testing.expectEqual(@as(?[3]u8, .{ 1, 2, 3 }), p.theme().bg);
setThemeIndex(p, 0);
- try std.testing.expectEqualStrings(legacy_themes[0].name, p.theme().name);
+ try std.testing.expectEqualStrings(themes[0].name, p.theme().name);
try std.testing.expect(themeFileRequest(p, request_effect.generation) == null);
const stop = while (p.nextEffect()) |effect| switch (effect) {
.theme_file => |theme_file| break theme_file,
@@ -2040,7 +2087,8 @@ test "ThemeFile parses ZON atomically and Theme returns to the compiled ring" {
test "native themes keep text and UI roles readable on their own surfaces" {
const names = [_][]const u8{ "orchard", "dusk", "ink", "paper", "daybreak", "atelier", "forge", "lagoon", "solarium", "spectrum", "harvest", "clay", "forge_black", "forge_soft", "orchard_black" };
try std.testing.expectEqual(names.len, native_theme_count);
- for (legacy_themes[0..names.len], names) |th, name| {
+ for (themes[0..names.len], names) |own, name| {
+ const th = ChromeTheme.ofTheme(&own).view;
try std.testing.expectEqualStrings(name, th.name);
const chrome = ChromeTheme.fromTheme(&th);
const minimum: f32 = if (std.mem.eql(u8, name, "ink") or std.mem.eql(u8, name, "daybreak")) 7 else 4.5;
@@ -2074,12 +2122,11 @@ test "native themes keep text and UI roles readable on their own surfaces" {
}
test "native filename tints change hue without changing perceived lightness" {
- for (legacy_themes[0..native_theme_count]) |th| {
- try std.testing.expect(th.tag_name_fg != null and th.tag_active_name_fg != null);
- const chrome = ChromeTheme.fromTheme(&th);
- const pairs = [2][2][3]u8{
- .{ chrome.tag_fg, chrome.tag_name_fg },
- .{ chrome.tag_active_fg, chrome.tag_active_name_fg },
+ for (themes[0..native_theme_count]) |*th| {
+ // The theme's own tint at its tag ink's lightness (the focused one
+ // Chrome.of's, R13).
+ const pairs = [1][2][3]u8{
+ .{ th.tag_text, th.tag_name.? },
};
for (pairs) |pair| {
const base = toOklab(pair[0]);
@@ -2099,7 +2146,8 @@ test "native filename tints change hue without changing perceived lightness" {
}
test "native dark palettes choose near-black or deliberately soft contrast" {
- for (legacy_themes[0..native_theme_count]) |th| {
+ for (themes[0..native_theme_count]) |ring_theme| {
+ const th = ChromeTheme.ofTheme(&ring_theme).view;
if (contrast(th.bg.?, .{ 0, 0, 0 }) > 10) continue; // light paper
const soft = std.mem.eql(u8, th.name, "dusk") or std.mem.eql(u8, th.name, "lagoon") or
std.mem.eql(u8, th.name, "solarium") or std.mem.eql(u8, th.name, "forge_soft");
@@ -2112,12 +2160,12 @@ test "native dark palettes choose near-black or deliberately soft contrast" {
}
}
const forge = curated.forge.theme;
- try std.testing.expectEqual(forge.bg[0], forge.bg[1]);
+ try std.testing.expectEqual(forge.page[0], forge.page[1]);
// Forge chrome is cool-neutral, never the old green-over-blue mint cast.
- for ([_][3]u8{ forge.tag_bg, forge.tag_active_bg, forge.box, forge.border }) |rgb|
+ for ([_][3]u8{ forge.tag, forge.tag_focus, forge.accent, forge.rule }) |rgb|
try std.testing.expect(rgb[2] >= rgb[1]);
- try std.testing.expectEqual([3]u8{ 0, 0, 0 }, @as([3]u8, curated.forge_black.theme.bg));
- try std.testing.expectEqual([3]u8{ 0, 0, 0 }, @as([3]u8, curated.orchard_black.theme.bg));
+ try std.testing.expectEqual([3]u8{ 0, 0, 0 }, @as([3]u8, curated.forge_black.theme.page));
+ try std.testing.expectEqual([3]u8{ 0, 0, 0 }, @as([3]u8, curated.orchard_black.theme.page));
}
test "line numbers stay quiet without a current-line tag background" {
@@ -2127,7 +2175,7 @@ test "line numbers stay quiet without a current-line tag background" {
const pane = try p.setTestFile("first\nsecond\n");
pane.body.cur_pinned = true;
pane.body.cur_row = 0;
- var custom = legacy_themes[0];
+ var custom = ChromeTheme.ofTheme(&themes[0]).view;
custom.name = try gpa.dupe(u8, "quiet-gutter");
custom.lineno = .{ 70, 70, 70 };
custom.lineno_active = .{ 95, 95, 95 };
@@ -2165,14 +2213,16 @@ test "legacy ThemeFile documents inherit Pardes UI roles without new fields" {
@setEvalBranchQuota(10000);
var encoded: std.Io.Writer.Allocating = .init(std.testing.allocator);
defer encoded.deinit();
- try std.zon.stringify.serialize(curated.helix.theme, .{ .whitespace = false }, &encoded.writer);
- // helix without the focused tag's pair it has since gained: a document
- // written before those fields existed.
+ try std.zon.stringify.serialize(ChromeTheme.ofTheme(&themes[comptime indexOfTheme("helix")]).view, .{ .whitespace = false }, &encoded.writer);
+ // helix without the focused tag's pair it has since gained, and the
+ // names' and column grip's dim fills: a document written before those
+ // fields existed.
var legacy: std.ArrayList(u8) = .empty;
defer legacy.deinit(std.testing.allocator);
var rest: []const u8 = encoded.written();
while (true) {
- const at = @min(std.mem.indexOf(u8, rest, ".tag_active_bg") orelse rest.len, std.mem.indexOf(u8, rest, ".tag_active_fg") orelse rest.len);
+ var at = rest.len;
+ for ([_][]const u8{ ".tag_active_bg", ".tag_active_fg", ".tag_active_name_fg", ".column_box_dim" }) |field| at = @min(at, std.mem.indexOf(u8, rest, field) orelse rest.len);
try legacy.appendSlice(std.testing.allocator, rest[0..at]);
if (at == rest.len) break;
rest = rest[at + std.mem.indexOfScalar(u8, rest[at..], '}').? + 1 ..];
@@ -2202,12 +2252,10 @@ test "legacy ThemeFile documents inherit Pardes UI roles without new fields" {
}
test "column grip colors remain distinct from pane grips across native themes" {
- for (legacy_themes[0..native_theme_count]) |th| {
- try std.testing.expect(th.column_box != null and th.column_box_dim != null);
- const chrome = ChromeTheme.fromTheme(&th);
+ for (themes[0..native_theme_count]) |*th| {
+ // The theme's own (their rest and grabbed inks Chrome.of's, R6, H).
for ([_][2][3]u8{
- .{ chrome.box, chrome.column_box },
- .{ chrome.box_dim, chrome.column_box_dim },
+ .{ th.accent, th.column_grip.? },
}) |pair| {
var distance: u32 = 0;
for (pair[0], pair[1]) |a, b| {
@@ -2217,7 +2265,7 @@ test "column grip colors remain distinct from pane grips across native themes" {
try std.testing.expect(distance >= 30 * 30);
}
}
- var custom = legacy_themes[0];
+ var custom = ChromeTheme.ofTheme(&themes[0]).view;
custom.column_box = .{ 90, 130, 170 };
custom.column_box_dim = null;
var chrome = ChromeTheme.fromTheme(&custom);
@@ -2229,7 +2277,7 @@ test "column grip colors remain distinct from pane grips across native themes" {
}
test "custom filename tints preserve optional active fallback precedence" {
- var theme = legacy_themes[0];
+ var theme = ChromeTheme.ofTheme(&themes[0]).view;
theme.tag_name_fg = null;
theme.tag_active_name_fg = null;
var chrome = ChromeTheme.fromTheme(&theme);
@@ -2251,14 +2299,18 @@ test "custom filename tints preserve optional active fallback precedence" {
}
test "every theme tints its names off the tag's ink, and they read on both grounds" {
- for (&legacy_themes) |*th| {
- const chrome = ChromeTheme.fromTheme(th);
+ for (&themes) |*th| {
+ const c = Chrome.of(th);
const pairs = [2][3][3]u8{
- .{ chrome.tag_fg, chrome.tag_name_fg, chrome.tag_bg },
- .{ chrome.tag_active_fg, chrome.tag_active_name_fg, chrome.tag_active_bg },
+ .{ c.tag[0].text, c.name[0], c.tag[0].ground },
+ .{ c.tag[1].text, c.name[1], c.tag[1].ground },
};
for (pairs) |pair| {
const ink, const name, const ground = pair;
+ // An ink held to the end of the gamut (white or black, H's 7:1
+ // on a mid-grey tag: ao's, modus_vivendi's) has no hue at its
+ // lightness: the name is the ink.
+ if (std.mem.eql(u8, &name, &ink) and (std.mem.eql(u8, &ink, &@as([3]u8, @splat(255))) or std.mem.eql(u8, &ink, &@as([3]u8, @splat(0))))) continue;
const apart = oklabDistance(toOklab(ink), toOklab(name));
const floor = nameTintFloor(ink, ground);
if (apart < name_tint_distance or contrast(name, ground) < floor - 0.01)
@@ -2286,7 +2338,9 @@ test "every theme's walk UI roles meet their floors on every ground they are dra
var checks: std.ArrayList(Check) = .empty;
defer checks.deinit(a);
var failed: usize = 0;
- for (&legacy_themes) |*th| {
+ for (&themes) |*ring_theme| {
+ const view = ChromeTheme.ofTheme(ring_theme).view;
+ const th = &view;
checks.clearRetainingCapacity();
const chrome = ChromeTheme.fromTheme(th);
const r = &chrome.roles;
@@ -2550,12 +2604,6 @@ fn ringFailures(th: *const Theme, c: *const Chrome) std.EnumSet(RingCheck) {
/// them lands (DESIGN.md E1, F): the list shrinks as each does, and a theme
/// on it that passes fails the test, so it is taken off.
const ring_expected = [_]struct { []const u8, []const u8 }{
- // L3 (core/themes): the overrides DESIGN.md E1 names.
- .{ "acme", "L3: its own sixteen where pardes's picks read under 3:1 (ANSI 10, 14)" },
- .{ "solarized_dark", "L3: `hit` and `added`/`deleted` of its own" },
- .{ "solarized_light", "L3: `hit` of its own" },
- .{ "seoul256_light_254", "L3: `hit` of its own" },
- .{ "seoul256_light_255", "L3: `hit` of its own" },
// L4 (tools/gen_themes.zig): B7's mapping, or an import's override.
.{ "everforest_light", "L4: `hit` of its own" },
.{ "github_dark_dimmed", "L4: its text from helix's `variable`" },
@@ -2625,6 +2673,48 @@ test "every theme in the ring meets every floor pardes owns (DESIGN.md B4), nati
try std.testing.expectEqual(0, wrong);
}
+/// A faithful port's own colours pardes moves where they miss a floor: its
+/// indicators and grounds (B1.6, G4: only that colour, and its file says
+/// so); its text, syntax, comments and sixteen never move (the ring test).
+/// Each with the ground it is held on, for the words its file says.
+fn portMoves(th: *const Theme, c: *const Chrome) [12]struct { role: []const u8, own: ?[3]u8, got: [3]u8, on: [3]u8 } {
+ const page = c.page.ground;
+ return .{
+ .{ .role = "tag ground", .own = th.tag, .got = c.tag[0].ground, .on = page },
+ .{ .role = "focused tag ground", .own = th.tag_focus, .got = c.tag[1].ground, .on = c.tag[0].ground },
+ .{ .role = "focused grip", .own = th.accent, .got = c.grip.focus, .on = c.tag[1].ground },
+ .{ .role = "grip ring", .own = th.grip_ring, .got = c.grip.ring, .on = c.tag[0].ground },
+ .{ .role = "unsaved grip", .own = th.dirty, .got = c.grip.dirty, .on = c.tag[0].ground },
+ .{ .role = "selection", .own = th.selection, .got = c.page.selection.ground, .on = page },
+ .{ .role = "selection text", .own = th.selection_text, .got = c.page.selection.text, .on = c.page.selection.ground },
+ .{ .role = "search hit", .own = th.hit, .got = c.hit, .on = page },
+ .{ .role = "error", .own = th.@"error", .got = c.page.severity[0], .on = page },
+ .{ .role = "warning", .own = th.warning, .got = c.page.severity[1], .on = page },
+ .{ .role = "info", .own = th.info, .got = c.page.severity[2], .on = page },
+ .{ .role = "hint", .own = th.hint, .got = c.page.severity[3], .on = page },
+ };
+}
+
+test "every faithful port's file says each of its own colours pardes moves to meet a floor (DESIGN.md G4)" {
+ const first = comptime indexOfTheme("dark_plus");
+ const last = comptime indexOfTheme("doom_one_light");
+ var unsaid: usize = 0;
+ inline for (@typeInfo(curated).@"struct".decl_names[first .. last + 1], first..) |d, i| {
+ const file = comptime if (std.mem.startsWith(u8, d, "seoul256_")) "seoul256" else d;
+ const source = @embedFile("themes/" ++ file ++ ".zig");
+ const c = Chrome.of(&themes[i]);
+ for (portMoves(&themes[i], &c)) |m| if (m.own) |own| if (!std.mem.eql(u8, &own, &m.got)) {
+ var buf: [64]u8 = undefined;
+ const said = try std.fmt.bufPrint(&buf, "{s} #{x:0>2}{x:0>2}{x:0>2} -> #{x:0>2}{x:0>2}{x:0>2}", .{ m.role, own[0], own[1], own[2], m.got[0], m.got[1], m.got[2] });
+ if (std.mem.indexOf(u8, source, said) == null) {
+ unsaid += 1;
+ std.debug.print("unsaid\t{s}\t{s}\t{s}\t{d:.2}\t{d:.2}\n", .{ themes[i].name, file, said, contrast(own, m.on), contrast(m.got, m.on) });
+ }
+ };
+ }
+ try std.testing.expectEqual(0, unsaid);
+}
+
/// B9's budget, about 0.5 ms a theme and the ring in 150 ms on an idle
/// machine (Debug), in user-space instructions, which a loaded machine does
/// not move: Chrome.of retires about 7 a nanosecond here (the ring's 304 M
diff --git a/core/lib_syntax.zig b/core/lib_syntax.zig
index fa6812ee..2c771b72 100644
--- a/core/lib_syntax.zig
+++ b/core/lib_syntax.zig
@@ -102,21 +102,21 @@ pub const NodeWalk = syntax.NodeWalk;
pub const Span = syntax.Span;
pub const walkNodes = syntax.walkNodes;
-pub const Theme = colors.LegacyTheme;
+pub const Theme = colors.Theme;
/// Every theme: pardes's own, then those imported from helix and zed. The
/// first is the default.
-pub const themes: []const Theme = &colors.legacy_themes;
+pub const themes: []const Theme = &colors.themes;
/// The theme named `name`, whatever its case.
pub fn theme(name: []const u8) ?*const Theme {
- return &colors.legacy_themes[colors.themeIndex(name) orelse return null];
+ return &colors.themes[colors.themeIndex(name) orelse return null];
}
/// A theme's page and its text's ink as a file pane has them: its own, or
/// its tag's for the one theme with none (`dark`, a terminal's own).
pub fn page(th: *const Theme) [3]u8 {
- return th.bg orelse th.tag_bg;
+ return th.page orelse th.tag;
}
pub fn ink(th: *const Theme) [3]u8 {
- return th.fg orelse th.tag_fg;
+ return th.text orelse th.tag_text;
}
pub const synInk = colors.synInk;
diff --git a/core/themes/acme.zig b/core/themes/acme.zig
index 34d99805..030874fc 100644
--- a/core/themes/acme.zig
+++ b/core/themes/acme.zig
@@ -1,10 +1,16 @@
//! acme's yellow page — the light theme, and the one that has to resolve
-//! `palette` itself. A theme that only dresses the page can leave a child's
+//! `ansi` itself. A theme that only dresses the page can leave a child's
//! ANSI indices alone and let the host answer them; on #ffffea that is how you
//! get pale yellow `ls` output on pale yellow paper. So the sixteen below are
//! darkened for paper: index 7 (the "white" a shell writes most of its output
//! in) is a mid grey, and 15 (bright white) is BLACK, because a program asking
//! for the brightest color on a light page means "make this stand out".
+//! Each of the sixteen reads 4.5:1 on the page (DESIGN.md E1, the native
+//! floor): 6 #118888 -> #038384, 8 #888888 -> #757575 and 13 #bb44bb ->
+//! #b942b9, each held darker in its hue (R0); 10 #33aa33, 11 #aa7700 and 14
+//! #22aaaa held there land on their normal colour, so they go 0.06 darker
+//! than it in OKLab, #016e08, #785300 and #017070 (R14: a bright one is
+//! darker on a light page, as 15 is black).
//!
//! Every colour below that acme has is acme's own, from plan9port's acme.c
//! iconinit and draw.h: the tag #eaffff and body #ffffea (each 25% of
@@ -24,41 +30,40 @@
//! (draw.h's DMedblue): a navy that reads as ink until you look for it.
pub const theme = .{
.name = "acme",
- .bg = .{ 0xff, 0xff, 0xea },
- .fg = .{ 0x00, 0x00, 0x00 },
- .sel_bg = .{ 0xee, 0xee, 0x9e },
- .sel_fg = .{ 0x00, 0x00, 0x00 },
- .tag_bg = .{ 0xea, 0xff, 0xff },
- .tag_fg = .{ 0x00, 0x00, 0x00 },
- .tag_name_fg = .{ 0x00, 0x00, 0x99 },
- .box = .{ 0x88, 0x88, 0xcc },
- .box_dim = .{ 0xea, 0xff, 0xff },
- .kw = .{ 0x97, 0x0d, 0xae },
- .str = .{ 0x00, 0x77, 0x33 },
- .num = .{ 0xa0, 0x52, 0x00 },
+ .page = .{ 0xff, 0xff, 0xea },
+ .text = .{ 0x00, 0x00, 0x00 },
+ .selection = .{ 0xee, 0xee, 0x9e },
+ .selection_text = .{ 0x00, 0x00, 0x00 },
+ .tag = .{ 0xea, 0xff, 0xff },
+ .tag_text = .{ 0x00, 0x00, 0x00 },
+ .tag_name = .{ 0x00, 0x00, 0x99 },
+ .accent = .{ 0x88, 0x88, 0xcc },
+ .keyword = .{ 0x97, 0x0d, 0xae },
+ .string = .{ 0x00, 0x77, 0x33 },
+ .number = .{ 0xa0, 0x52, 0x00 },
.comment = .{ 0x55, 0x55, 0x55 },
- .lineno = .{ 0x99, 0x99, 0x80 },
- .scroll_track = .{ 0x99, 0x99, 0x4c },
- .scroll_thumb = .{ 0xff, 0xff, 0xea },
+ .line_number = .{ 0x99, 0x99, 0x80 },
+ .rail = .{ 0x99, 0x99, 0x4c },
+ .rail_thumb = .{ 0xff, 0xff, 0xea },
// acme paints a column with no window white (cols.c:187).
- .empty_col = .{ 0xff, 0xff, 0xff },
- .border = .{ 0x00, 0x00, 0x00 },
+ .empty_column = .{ 0xff, 0xff, 0xff },
+ .rule = .{ 0x00, 0x00, 0x00 },
.tag_rule = .{ 0x88, 0x88, 0xcc },
.rule_px = 2,
- .box_border = .{ 0x88, 0x88, 0xcc },
- .box_dirty = .{ 0x00, 0x00, 0x99 },
+ .grip_ring = .{ 0x88, 0x88, 0xcc },
+ .dirty = .{ 0x00, 0x00, 0x99 },
.rail_px = 12,
- .tag_sel_bg = .{ 0x9e, 0xee, 0xee },
- // A reading pane's tag: the page's yellow, a shade down (pick-ui's).
- .tag_reading_bg = .{ 0xf3, 0xf0, 0xcc },
- .sweep_bg = .{ .{ 0xee, 0xee, 0x9e }, .{ 0xaa, 0x00, 0x00 }, .{ 0x00, 0x66, 0x00 } },
- .sweep_fg = .{ .{ 0x00, 0x00, 0x00 }, .{ 0xff, 0xff, 0xff }, .{ 0xff, 0xff, 0xff } },
- .column_box = .{ 0x88, 0x88, 0xcc },
- .column_box_dim = .{ 0x88, 0x88, 0xcc },
- .palette = .{
+ .tag_selection = .{ 0x9e, 0xee, 0xee },
+ .sweeps = .{
+ .{ .ground = .{ 0xee, 0xee, 0x9e }, .text = .{ 0x00, 0x00, 0x00 } },
+ .{ .ground = .{ 0xaa, 0x00, 0x00 }, .text = .{ 0xff, 0xff, 0xff } },
+ .{ .ground = .{ 0x00, 0x66, 0x00 }, .text = .{ 0xff, 0xff, 0xff } },
+ },
+ .column_grip = .{ 0x88, 0x88, 0xcc },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 }, .{ 0xaa, 0x22, 0x22 }, .{ 0x22, 0x80, 0x22 }, .{ 0x88, 0x66, 0x00 },
- .{ 0x22, 0x44, 0xbb }, .{ 0x99, 0x33, 0x99 }, .{ 0x11, 0x88, 0x88 }, .{ 0x55, 0x55, 0x55 },
- .{ 0x88, 0x88, 0x88 }, .{ 0xcc, 0x33, 0x33 }, .{ 0x33, 0xaa, 0x33 }, .{ 0xaa, 0x77, 0x00 },
- .{ 0x33, 0x55, 0xdd }, .{ 0xbb, 0x44, 0xbb }, .{ 0x22, 0xaa, 0xaa }, .{ 0x00, 0x00, 0x00 },
+ .{ 0x22, 0x44, 0xbb }, .{ 0x99, 0x33, 0x99 }, .{ 0x03, 0x83, 0x84 }, .{ 0x55, 0x55, 0x55 },
+ .{ 0x75, 0x75, 0x75 }, .{ 0xcc, 0x33, 0x33 }, .{ 0x01, 0x6e, 0x08 }, .{ 0x78, 0x53, 0x00 },
+ .{ 0x33, 0x55, 0xdd }, .{ 0xb9, 0x42, 0xb9 }, .{ 0x01, 0x70, 0x70 }, .{ 0x00, 0x00, 0x00 },
},
};
diff --git a/core/themes/alucard.zig b/core/themes/alucard.zig
index 1b5695cc..42ed888b 100644
--- a/core/themes/alucard.zig
+++ b/core/themes/alucard.zig
@@ -9,53 +9,53 @@
//! - unfocused tag text #6c664b -> #5d5841: 3.75:1 on #cfcfde, tag text needs 4.5:1 to be read and run
//! Upstream notes: The README gives Alucard only as a palette; roles follow
//! dracula.yml, UI surfaces it lacks are derived.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused tag ground #fffbeb -> #b9b9c8: 1.49:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
pub const theme = .{
.name = "alucard",
// ~/05-genizah/dracula-theme/README.md:34 Alucard Background; role as dracula.yml editor.background *BG
- .bg = .{ 0xff, 0xfb, 0xeb },
+ .page = .{ 0xff, 0xfb, 0xeb },
// ~/05-genizah/dracula-theme/README.md:37 Alucard Foreground; role as dracula.yml editor.foreground *FG
- .fg = .{ 0x1f, 0x1f, 0x1f },
+ .text = .{ 0x1f, 0x1f, 0x1f },
// ~/05-genizah/dracula-theme/README.md:36 Alucard Selection; role as dracula.yml editor.selectionBackground *SELECTION
- .sel_bg = .{ 0xcf, 0xcf, 0xde },
+ .selection = .{ 0xcf, 0xcf, 0xde },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x1f, 0x1f, 0x1f },
+ .selection_text = .{ 0x1f, 0x1f, 0x1f },
// ~/05-genizah/dracula-theme/README.md:36 Alucard Selection; role as dracula.yml tab.inactiveBackground (*BGDark: Alucard has no BG variants; Selection derived)
- .tag_bg = .{ 0xcf, 0xcf, 0xde },
+ .tag = .{ 0xcf, 0xcf, 0xde },
// ~/05-genizah/dracula-theme/README.md:38 Alucard Comment; role as dracula.yml tab.inactiveForeground *COMMENT #6c664b, adjusted
- .tag_fg = .{ 0x5d, 0x58, 0x41 },
+ .tag_text = .{ 0x5d, 0x58, 0x41 },
// ~/05-genizah/dracula-theme/README.md:34 Alucard Background; role as dracula.yml tab.activeBackground *BG
- .tag_active_bg = .{ 0xff, 0xfb, 0xeb },
+ .tag_focus = .{ 0xff, 0xfb, 0xeb },
// ~/05-genizah/dracula-theme/README.md:37 Alucard Foreground; role as dracula.yml tab.activeForeground *FG
- .tag_active_fg = .{ 0x1f, 0x1f, 0x1f },
+ .tag_focus_text = .{ 0x1f, 0x1f, 0x1f },
// the focused grip: ~/05-genizah/dracula-theme/README.md:42 Alucard Pink; role as dracula.yml tab.activeBorderTop *PINK
- .box = .{ 0xa3, 0x14, 0x4d },
- // derived: the grip at rest, the accent #a3144d faded toward the unfocused tag #cfcfde as far as 1.6:1 off it (0.30 of the way)
- .box_dim = .{ 0xc2, 0x97, 0xb3 },
+ .accent = .{ 0xa3, 0x14, 0x4d },
// an unsaved grip: the original's warning colour, ~/05-genizah/dracula-theme/README.md:39 Alucard Cyan; role as dracula.yml editorWarning.foreground *CYAN
- .box_dirty = .{ 0x03, 0x6a, 0x96 },
+ .dirty = .{ 0x03, 0x6a, 0x96 },
// derived: the column grip, the original's type colour, ~/05-genizah/dracula-theme/README.md:39 Alucard Cyan; role as dracula.yml *CYAN
- .column_box = .{ 0x03, 0x6a, 0x96 },
+ .column_grip = .{ 0x03, 0x6a, 0x96 },
// ~/05-genizah/dracula-theme/README.md:42 Alucard Pink; role as dracula.yml Keywords *PINK
- .kw = .{ 0xa3, 0x14, 0x4d },
+ .keyword = .{ 0xa3, 0x14, 0x4d },
// ~/05-genizah/dracula-theme/README.md:45 Alucard Yellow; role as dracula.yml Strings *YELLOW
- .str = .{ 0x84, 0x6e, 0x15 },
+ .string = .{ 0x84, 0x6e, 0x15 },
// ~/05-genizah/dracula-theme/README.md:43 Alucard Purple; role as dracula.yml Constants *PURPLE
- .num = .{ 0x64, 0x4a, 0xc9 },
+ .number = .{ 0x64, 0x4a, 0xc9 },
// ~/05-genizah/dracula-theme/README.md:38 Alucard Comment; role as dracula.yml Comments *COMMENT
.comment = .{ 0x6c, 0x66, 0x4b },
// ~/05-genizah/dracula-theme/README.md:38 Alucard Comment; role as dracula.yml editorLineNumber.foreground *COMMENT
- .lineno = .{ 0x6c, 0x66, 0x4b },
+ .line_number = .{ 0x6c, 0x66, 0x4b },
// derived: none in the original; the page
- .scroll_track = .{ 0xff, 0xfb, 0xeb },
+ .rail = .{ 0xff, 0xfb, 0xeb },
// derived: none in the original; line numbers, ~/05-genizah/dracula-theme/README.md:38 Alucard Comment; role as dracula.yml editorLineNumber.foreground *COMMENT
- .scroll_thumb = .{ 0x6c, 0x66, 0x4b },
+ .rail_thumb = .{ 0x6c, 0x66, 0x4b },
// ~/05-genizah/dracula-theme/README.md:43 Alucard Purple; role as dracula.yml editorGroup.border *PURPLE
- .border = .{ 0x64, 0x4a, 0xc9 },
+ .rule = .{ 0x64, 0x4a, 0xc9 },
// ~/05-genizah/dracula-theme/README.md:44 Alucard Red; role as dracula.yml editorError.foreground *RED
- .diagnostic_error = .{ 0xcb, 0x3a, 0x2a },
+ .@"error" = .{ 0xcb, 0x3a, 0x2a },
// ~/05-genizah/dracula-theme/README.md:39 Alucard Cyan; role as dracula.yml editorWarning.foreground *CYAN
- .diagnostic_warning = .{ 0x03, 0x6a, 0x96 },
- .palette = .{
+ .warning = .{ 0x03, 0x6a, 0x96 },
+ .ansi = .{
.{ 0x1f, 0x1f, 0x1f }, // 0: ~/05-genizah/dracula-theme/README.md:37 Alucard Foreground (ANSI 0 derived: Dracula's ansi order with Alucard colours, dark ink as black)
.{ 0xcb, 0x3a, 0x2a }, // 1: ~/05-genizah/dracula-theme/README.md:44 Alucard Red (ANSI 1 derived: Dracula's ansi order with Alucard colours, dark ink as black)
.{ 0x14, 0x71, 0x0a }, // 2: ~/05-genizah/dracula-theme/README.md:40 Alucard Green (ANSI 2 derived: Dracula's ansi order with Alucard colours, dark ink as black)
diff --git a/core/themes/atelier.zig b/core/themes/atelier.zig
index 0ad776fa..a730a35b 100644
--- a/core/themes/atelier.zig
+++ b/core/themes/atelier.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "atelier",
- .bg = .{ 0xff, 0xfd, 0xeb },
- .fg = .{ 0x29, 0x3f, 0x35 },
- .tag_bg = .{ 0xe4, 0xf0, 0xed },
- .tag_fg = .{ 0x3d, 0x60, 0x55 },
- .tag_name_fg = .{ 0x6e, 0x47, 0x74 },
- .tag_active_name_fg = .{ 0x65, 0x3f, 0x6b },
- .tag_active_bg = .{ 0xd3, 0xe7, 0xdf },
- .tag_active_fg = .{ 0x35, 0x58, 0x4d },
- .box = .{ 0x36, 0x82, 0x6b },
- .box_dim = .{ 0x95, 0xba, 0xa2 },
- .column_box = .{ 0x95, 0x58, 0x15 },
- .column_box_dim = .{ 0xbc, 0xa4, 0x81 },
- .kw = .{ 0x7b, 0x44, 0x89 },
- .str = .{ 0x34, 0x74, 0x3d },
- .num = .{ 0x9a, 0x58, 0x10 },
+ .page = .{ 0xff, 0xfd, 0xeb },
+ .text = .{ 0x29, 0x3f, 0x35 },
+ .tag = .{ 0xe4, 0xf0, 0xed },
+ .tag_text = .{ 0x3d, 0x60, 0x55 },
+ .tag_name = .{ 0x6e, 0x47, 0x74 },
+ .tag_focus = .{ 0xd3, 0xe7, 0xdf },
+ .tag_focus_text = .{ 0x35, 0x58, 0x4d },
+ .accent = .{ 0x36, 0x82, 0x6b },
+ .column_grip = .{ 0x95, 0x58, 0x15 },
+ .keyword = .{ 0x7b, 0x44, 0x89 },
+ .string = .{ 0x34, 0x74, 0x3d },
+ .number = .{ 0x9a, 0x58, 0x10 },
.comment = .{ 0x29, 0x7c, 0x30 },
- .lineno = .{ 0x90, 0x98, 0x80 },
- .lineno_active = .{ 0x88, 0x90, 0x78 },
- .scroll_track = .{ 0xee, 0xec, 0xcf },
- .scroll_thumb = .{ 0x9f, 0xae, 0x76 },
- .border = .{ 0xff, 0xff, 0xff },
- .sel_bg = .{ 0xed, 0xf2, 0xa5 },
- .sel_fg = .{ 0x35, 0x49, 0x2d },
- .search_bg = .{ 0xfe, 0xdd, 0x86 },
- .search_fg = .{ 0x61, 0x47, 0x15 },
- .diagnostic_error = .{ 0xb3, 0x2f, 0x27 },
- .diagnostic_warning = .{ 0x89, 0x5c, 0x00 },
- .diagnostic_info = .{ 0x29, 0x6a, 0x82 },
- .diagnostic_hint = .{ 0x51, 0x75, 0x36 },
- .palette = .{
+ .line_number = .{ 0x90, 0x98, 0x80 },
+ .line_number_current = .{ 0x88, 0x90, 0x78 },
+ .rail = .{ 0xee, 0xec, 0xcf },
+ .rail_thumb = .{ 0x9f, 0xae, 0x76 },
+ .rule = .{ 0xff, 0xff, 0xff },
+ .selection = .{ 0xed, 0xf2, 0xa5 },
+ .selection_text = .{ 0x35, 0x49, 0x2d },
+ .hit = .{ 0xfe, 0xdd, 0x86 },
+ .@"error" = .{ 0xb3, 0x2f, 0x27 },
+ .warning = .{ 0x89, 0x5c, 0x00 },
+ .info = .{ 0x29, 0x6a, 0x82 },
+ .hint = .{ 0x51, 0x75, 0x36 },
+ .ansi = .{
.{ 0x29, 0x3f, 0x35 },
.{ 0xa3, 0x3d, 0x37 },
.{ 0x3c, 0x6c, 0x43 },
diff --git a/core/themes/ayu_dark.zig b/core/themes/ayu_dark.zig
index 62fb29ed..a98412ba 100644
--- a/core/themes/ayu_dark.zig
+++ b/core/themes/ayu_dark.zig
@@ -32,59 +32,57 @@
//! terminal.*). palette = every colour of src/generated/dark.ts; alpha entries
//! composited over editor.bg (editor.*) or ui.bg (others); skipped shadows:
//! ui.panel.shadow, ui.popup.shadow.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #0d1017 -> #04050b: 1.03:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
pub const theme = .{
.name = "ayu_dark",
// ~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background; source ~/05-genizah/ayu-colors/src/generated/dark.ts:146 editor.bg #10141c
- .bg = .{ 0x10, 0x14, 0x1c },
+ .page = .{ 0x10, 0x14, 0x1c },
// ~/05-genizah/vscode-ayu/ayu-dark.json:107 editor.foreground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:128 editor.fg #bfbdb6
- .fg = .{ 0xbf, 0xbd, 0xb6 },
+ .text = .{ 0xbf, 0xbd, 0xb6 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:112 editor.selectionBackground #3388ff40 composited over editor.background #10141c (~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background)
- .sel_bg = .{ 0x19, 0x31, 0x55 },
+ .selection = .{ 0x19, 0x31, 0x55 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xbf, 0xbd, 0xb6 },
+ .selection_text = .{ 0xbf, 0xbd, 0xb6 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:102 tab.inactiveBackground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:163 ui.bg #0d1017
- .tag_bg = .{ 0x0d, 0x10, 0x17 },
+ .tag = .{ 0x0d, 0x10, 0x17 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:103 tab.inactiveForeground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:149 ui.fg #5a6378 #5a6378, adjusted
- .tag_fg = .{ 0x74, 0x7c, 0x8e },
+ .tag_text = .{ 0x74, 0x7c, 0x8e },
// ~/05-genizah/vscode-ayu/ayu-dark.json:96 tab.activeBackground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:146 editor.bg #10141c #10141c, adjusted
- .tag_active_bg = .{ 0x33, 0x36, 0x3b },
+ .tag_focus = .{ 0x33, 0x36, 0x3b },
// ~/05-genizah/vscode-ayu/ayu-dark.json:97 tab.activeForeground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:128 editor.fg #bfbdb6
- .tag_active_fg = .{ 0xbf, 0xbd, 0xb6 },
+ .tag_focus_text = .{ 0xbf, 0xbd, 0xb6 },
// the focused grip: ~/05-genizah/vscode-ayu/ayu-dark.json:4 focusBorder [also tab.activeBorderTop]; source ~/05-genizah/ayu-colors/src/generated/dark.ts:167 common.accent.tint #e6b450
- .box = .{ 0xe6, 0xb4, 0x50 },
- // derived: the grip at rest, the accent #e6b450 faded toward the unfocused tag #0d1017 as far as 1.6:1 off it (0.24 of the way)
- .box_dim = .{ 0x41, 0x37, 0x25 },
+ .accent = .{ 0xe6, 0xb4, 0x50 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode-ayu/ayu-dark.json:145 editorGutter.modifiedBackground [also gitDecoration.modifiedResourceForeground]; source ~/05-genizah/ayu-colors/src/generated/dark.ts:118 vcs.modified #73b8ff
- .box_dirty = .{ 0x73, 0xb8, 0xff },
+ .dirty = .{ 0x73, 0xb8, 0xff },
// derived: the column grip, the original's type colour, ~/05-genizah/vscode-ayu/ayu-dark.json:622 tokenColors "Entity name" foreground; = syntax.entity (~/05-genizah/ayu-colors/src/generated/dark.ts:88 syntax.entity)
- .column_box = .{ 0x59, 0xc2, 0xff },
+ .column_grip = .{ 0x59, 0xc2, 0xff },
// ~/05-genizah/vscode-ayu/ayu-dark.json:460 tokenColors "Keyword" foreground; = syntax.keyword (~/05-genizah/ayu-colors/src/generated/dark.ts:92 syntax.keyword)
- .kw = .{ 0xff, 0x8f, 0x40 },
+ .keyword = .{ 0xff, 0x8f, 0x40 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:384 tokenColors "String" foreground; = syntax.string (~/05-genizah/ayu-colors/src/generated/dark.ts:89 syntax.string)
- .str = .{ 0xaa, 0xd9, 0x4c },
+ .string = .{ 0xaa, 0xd9, 0x4c },
// ~/05-genizah/vscode-ayu/ayu-dark.json:404 tokenColors "Number" foreground; = syntax.constant (~/05-genizah/ayu-colors/src/generated/dark.ts:95 syntax.constant)
- .num = .{ 0xd2, 0xa6, 0xff },
+ .number = .{ 0xd2, 0xa6, 0xff },
// ~/05-genizah/vscode-ayu/ayu-dark.json:374 tokenColors "Comment" foreground; = syntax.comment (~/05-genizah/ayu-colors/src/generated/dark.ts:94 syntax.comment)
.comment = .{ 0x5a, 0x66, 0x73 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:108 editorLineNumber.foreground #5a6378a6 composited over editor.background #10141c (~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno = .{ 0x40, 0x47, 0x58 },
+ .line_number = .{ 0x40, 0x47, 0x58 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:109 editorLineNumber.activeForeground [gutter has no own bg, so editor bg]
- .lineno_active = .{ 0x5a, 0x63, 0x78 },
+ .line_number_current = .{ 0x5a, 0x63, 0x78 },
// derived: none in the original; the page
- .scroll_track = .{ 0x10, 0x14, 0x1c },
+ .rail = .{ 0x10, 0x14, 0x1c },
// ~/05-genizah/vscode-ayu/ayu-dark.json:44 scrollbarSlider.background #5a637866 composited over editor.background #10141c (~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background) #2e3441, adjusted
- .scroll_thumb = .{ 0x31, 0x37, 0x43 },
+ .rail_thumb = .{ 0x31, 0x37, 0x43 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:92 editorGroup.border; source ~/05-genizah/ayu-colors/src/generated/dark.ts:150 ui.line #1b1f29 #1b1f29, adjusted
- .border = .{ 0x39, 0x3b, 0x42 },
+ .rule = .{ 0x39, 0x3b, 0x42 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:119 editor.findMatchBackground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:135 editor.findMatch.active #4c4126
- .search_bg = .{ 0x4c, 0x41, 0x26 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xbf, 0xbd, 0xb6 },
+ .hit = .{ 0x4c, 0x41, 0x26 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:143 editorError.foreground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:170 common.error #d95757
- .diagnostic_error = .{ 0xd9, 0x57, 0x57 },
+ .@"error" = .{ 0xd9, 0x57, 0x57 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:144 editorWarning.foreground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:167 common.accent.tint #e6b450
- .diagnostic_warning = .{ 0xe6, 0xb4, 0x50 },
- .palette = .{
+ .warning = .{ 0xe6, 0xb4, 0x50 },
+ .ansi = .{
.{ 0x1b, 0x1f, 0x29 }, // 0: ~/05-genizah/vscode-ayu/ayu-dark.json:264 terminal.ansiBlack
.{ 0xf0, 0x6b, 0x73 }, // 1: ~/05-genizah/vscode-ayu/ayu-dark.json:265 terminal.ansiRed
.{ 0x70, 0xbf, 0x56 }, // 2: ~/05-genizah/vscode-ayu/ayu-dark.json:266 terminal.ansiGreen
diff --git a/core/themes/ayu_light.zig b/core/themes/ayu_light.zig
index 22436be7..730689c3 100644
--- a/core/themes/ayu_light.zig
+++ b/core/themes/ayu_light.zig
@@ -31,59 +31,62 @@
//! terminal.*). palette = every colour of src/generated/light.ts; alpha entries
//! composited over editor.bg (editor.*) or ui.bg (others); skipped shadows:
//! ui.panel.shadow, ui.popup.shadow.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #f8f9fa -> #f0f1f2: 1.03:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #dcddde -> #d7d8d9: 1.20:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #f29718 -> #ae6a01: 1.60:1 on the focused tag, now 3.03:1 (R6: 3:1)
+//! - unsaved grip #478acc -> #3a7dbe: 3.22:1 on the tag, now 3.82:1 (R6: 3:1 on both tags)
+//! - error #e65050 -> #d33e41: 3.64:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #f29718 -> #a76501: 2.22:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "ayu_light",
// ~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background; source ~/05-genizah/ayu-colors/src/generated/light.ts:157 editor.bg #fcfcfc
- .bg = .{ 0xfc, 0xfc, 0xfc },
+ .page = .{ 0xfc, 0xfc, 0xfc },
// ~/05-genizah/vscode-ayu/ayu-light.json:107 editor.foreground; source ~/05-genizah/ayu-colors/src/generated/light.ts:140 editor.fg #5c6166
- .fg = .{ 0x5c, 0x61, 0x66 },
+ .text = .{ 0x5c, 0x61, 0x66 },
// ~/05-genizah/vscode-ayu/ayu-light.json:112 editor.selectionBackground #035bd626 composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background)
- .sel_bg = .{ 0xd7, 0xe4, 0xf6 },
+ .selection = .{ 0xd7, 0xe4, 0xf6 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x5c, 0x61, 0x66 },
+ .selection_text = .{ 0x5c, 0x61, 0x66 },
// ~/05-genizah/vscode-ayu/ayu-light.json:102 tab.inactiveBackground; source ~/05-genizah/ayu-colors/src/generated/light.ts:175 ui.bg #f8f9fa
- .tag_bg = .{ 0xf8, 0xf9, 0xfa },
+ .tag = .{ 0xf8, 0xf9, 0xfa },
// ~/05-genizah/vscode-ayu/ayu-light.json:103 tab.inactiveForeground; source ~/05-genizah/ayu-colors/src/generated/light.ts:161 ui.fg #828e9f #828e9f, adjusted
- .tag_fg = .{ 0x68, 0x72, 0x7f },
+ .tag_text = .{ 0x68, 0x72, 0x7f },
// ~/05-genizah/vscode-ayu/ayu-light.json:96 tab.activeBackground; source ~/05-genizah/ayu-colors/src/generated/light.ts:157 editor.bg #fcfcfc #fcfcfc, adjusted
- .tag_active_bg = .{ 0xdc, 0xdd, 0xde },
+ .tag_focus = .{ 0xdc, 0xdd, 0xde },
// ~/05-genizah/vscode-ayu/ayu-light.json:97 tab.activeForeground; source ~/05-genizah/ayu-colors/src/generated/light.ts:140 editor.fg #5c6166
- .tag_active_fg = .{ 0x5c, 0x61, 0x66 },
+ .tag_focus_text = .{ 0x5c, 0x61, 0x66 },
// the focused grip: ~/05-genizah/vscode-ayu/ayu-light.json:4 focusBorder [also tab.activeBorderTop]; source ~/05-genizah/ayu-colors/src/generated/light.ts:179 common.accent.tint #f29718
- .box = .{ 0xf2, 0x97, 0x18 },
- // derived: the grip at rest, the accent #f29718 faded toward the unfocused tag #f8f9fa as far as 1.6:1 off it (0.62 of the way)
- .box_dim = .{ 0xf4, 0xbc, 0x6e },
+ .accent = .{ 0xf2, 0x97, 0x18 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode-ayu/ayu-light.json:145 editorGutter.modifiedBackground [also gitDecoration.modifiedResourceForeground]; source ~/05-genizah/ayu-colors/src/generated/light.ts:130 vcs.modified #478acc
- .box_dirty = .{ 0x47, 0x8a, 0xcc },
+ .dirty = .{ 0x47, 0x8a, 0xcc },
// derived: the column grip, the original's type colour, ~/05-genizah/vscode-ayu/ayu-light.json:622 tokenColors "Entity name" foreground; = syntax.entity (~/05-genizah/ayu-colors/src/generated/light.ts:92 syntax.entity)
- .column_box = .{ 0x22, 0xa4, 0xe6 },
+ .column_grip = .{ 0x22, 0xa4, 0xe6 },
// ~/05-genizah/vscode-ayu/ayu-light.json:460 tokenColors "Keyword" foreground; = syntax.keyword (~/05-genizah/ayu-colors/src/generated/light.ts:100 syntax.keyword)
- .kw = .{ 0xfa, 0x85, 0x32 },
+ .keyword = .{ 0xfa, 0x85, 0x32 },
// ~/05-genizah/vscode-ayu/ayu-light.json:384 tokenColors "String" foreground; = syntax.string (~/05-genizah/ayu-colors/src/generated/light.ts:94 syntax.string)
- .str = .{ 0x86, 0xb3, 0x00 },
+ .string = .{ 0x86, 0xb3, 0x00 },
// ~/05-genizah/vscode-ayu/ayu-light.json:404 tokenColors "Number" foreground; = syntax.constant (~/05-genizah/ayu-colors/src/generated/light.ts:106 syntax.constant)
- .num = .{ 0xa3, 0x7a, 0xcc },
+ .number = .{ 0xa3, 0x7a, 0xcc },
// ~/05-genizah/vscode-ayu/ayu-light.json:374 tokenColors "Comment" foreground; = syntax.comment (~/05-genizah/ayu-colors/src/generated/light.ts:104 syntax.comment)
.comment = .{ 0xad, 0xae, 0xb1 },
// ~/05-genizah/vscode-ayu/ayu-light.json:108 editorLineNumber.foreground #828e9f66 composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno = .{ 0xcb, 0xd0, 0xd7 },
+ .line_number = .{ 0xcb, 0xd0, 0xd7 },
// ~/05-genizah/vscode-ayu/ayu-light.json:109 editorLineNumber.activeForeground #828e9fcc composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno_active = .{ 0x9a, 0xa4, 0xb2 },
+ .line_number_current = .{ 0x9a, 0xa4, 0xb2 },
// derived: none in the original; the page
- .scroll_track = .{ 0xfc, 0xfc, 0xfc },
+ .rail = .{ 0xfc, 0xfc, 0xfc },
// ~/05-genizah/vscode-ayu/ayu-light.json:44 scrollbarSlider.background #828e9f66 composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background)
- .scroll_thumb = .{ 0xcb, 0xd0, 0xd7 },
+ .rail_thumb = .{ 0xcb, 0xd0, 0xd7 },
// ~/05-genizah/vscode-ayu/ayu-light.json:92 editorGroup.border #6b7d8f1f composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background); source ~/05-genizah/ayu-colors/src/generated/light.ts:162 ui.line #6b7d8f1f #eaedef, adjusted
- .border = .{ 0xc5, 0xc9, 0xcb },
+ .rule = .{ 0xc5, 0xc9, 0xcb },
// ~/05-genizah/vscode-ayu/ayu-light.json:119 editor.findMatchBackground; source ~/05-genizah/ayu-colors/src/generated/light.ts:146 editor.findMatch.active #ffe294
- .search_bg = .{ 0xff, 0xe2, 0x94 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0x5c, 0x61, 0x66 },
+ .hit = .{ 0xff, 0xe2, 0x94 },
// ~/05-genizah/vscode-ayu/ayu-light.json:143 editorError.foreground; source ~/05-genizah/ayu-colors/src/generated/light.ts:182 common.error #e65050
- .diagnostic_error = .{ 0xe6, 0x50, 0x50 },
+ .@"error" = .{ 0xe6, 0x50, 0x50 },
// ~/05-genizah/vscode-ayu/ayu-light.json:144 editorWarning.foreground; source ~/05-genizah/ayu-colors/src/generated/light.ts:179 common.accent.tint #f29718
- .diagnostic_warning = .{ 0xf2, 0x97, 0x18 },
- .palette = .{
+ .warning = .{ 0xf2, 0x97, 0x18 },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 }, // 0: ~/05-genizah/vscode-ayu/ayu-light.json:264 terminal.ansiBlack
.{ 0xf0, 0x6b, 0x6c }, // 1: ~/05-genizah/vscode-ayu/ayu-light.json:265 terminal.ansiRed
.{ 0x6c, 0xbf, 0x43 }, // 2: ~/05-genizah/vscode-ayu/ayu-light.json:266 terminal.ansiGreen
diff --git a/core/themes/ayu_mirage.zig b/core/themes/ayu_mirage.zig
index 23aff67f..fcb7bcd8 100644
--- a/core/themes/ayu_mirage.zig
+++ b/core/themes/ayu_mirage.zig
@@ -31,59 +31,58 @@
//! terminal.*). palette = every colour of src/generated/mirage.ts; alpha
//! entries composited over editor.bg (editor.*) or ui.bg (others); skipped
//! shadows: ui.panel.shadow, ui.popup.shadow.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #1f2430 -> #1c212d: 1.07:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - search hit #736950 -> #58402b: 2.67:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "ayu_mirage",
// ~/05-genizah/vscode-ayu/ayu-mirage.json:106 editor.background; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:146 editor.bg #242936
- .bg = .{ 0x24, 0x29, 0x36 },
+ .page = .{ 0x24, 0x29, 0x36 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:107 editor.foreground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:128 editor.fg #cccac2
- .fg = .{ 0xcc, 0xca, 0xc2 },
+ .text = .{ 0xcc, 0xca, 0xc2 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:112 editor.selectionBackground #409fff40 composited over editor.background #242936 (~/05-genizah/vscode-ayu/ayu-mirage.json:106 editor.background)
- .sel_bg = .{ 0x2b, 0x47, 0x68 },
+ .selection = .{ 0x2b, 0x47, 0x68 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xcc, 0xca, 0xc2 },
+ .selection_text = .{ 0xcc, 0xca, 0xc2 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:102 tab.inactiveBackground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:163 ui.bg #1f2430
- .tag_bg = .{ 0x1f, 0x24, 0x30 },
+ .tag = .{ 0x1f, 0x24, 0x30 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:103 tab.inactiveForeground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:149 ui.fg #707a8c #707a8c, adjusted
- .tag_fg = .{ 0x84, 0x8d, 0x9c },
+ .tag_text = .{ 0x84, 0x8d, 0x9c },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:96 tab.activeBackground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:146 editor.bg #242936 #242936, adjusted
- .tag_active_bg = .{ 0x3f, 0x43, 0x4c },
+ .tag_focus = .{ 0x3f, 0x43, 0x4c },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:97 tab.activeForeground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:128 editor.fg #cccac2
- .tag_active_fg = .{ 0xcc, 0xca, 0xc2 },
+ .tag_focus_text = .{ 0xcc, 0xca, 0xc2 },
// the focused grip: ~/05-genizah/vscode-ayu/ayu-mirage.json:4 focusBorder [also tab.activeBorderTop]; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:167 common.accent.tint #ffcc66
- .box = .{ 0xff, 0xcc, 0x66 },
- // derived: the grip at rest, the accent #ffcc66 faded toward the unfocused tag #1f2430 as far as 1.6:1 off it (0.20 of the way)
- .box_dim = .{ 0x4c, 0x46, 0x3b },
+ .accent = .{ 0xff, 0xcc, 0x66 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode-ayu/ayu-mirage.json:145 editorGutter.modifiedBackground [also gitDecoration.modifiedResourceForeground]; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:118 vcs.modified #80bfff
- .box_dirty = .{ 0x80, 0xbf, 0xff },
+ .dirty = .{ 0x80, 0xbf, 0xff },
// derived: the column grip, the original's type colour, ~/05-genizah/vscode-ayu/ayu-mirage.json:622 tokenColors "Entity name" foreground; = syntax.entity (~/05-genizah/ayu-colors/src/generated/mirage.ts:88 syntax.entity)
- .column_box = .{ 0x73, 0xd0, 0xff },
+ .column_grip = .{ 0x73, 0xd0, 0xff },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:460 tokenColors "Keyword" foreground; = syntax.keyword (~/05-genizah/ayu-colors/src/generated/mirage.ts:92 syntax.keyword)
- .kw = .{ 0xff, 0xa6, 0x59 },
+ .keyword = .{ 0xff, 0xa6, 0x59 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:384 tokenColors "String" foreground; = syntax.string (~/05-genizah/ayu-colors/src/generated/mirage.ts:89 syntax.string)
- .str = .{ 0xd5, 0xff, 0x80 },
+ .string = .{ 0xd5, 0xff, 0x80 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:404 tokenColors "Number" foreground; = syntax.constant (~/05-genizah/ayu-colors/src/generated/mirage.ts:95 syntax.constant)
- .num = .{ 0xdf, 0xbf, 0xff },
+ .number = .{ 0xdf, 0xbf, 0xff },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:374 tokenColors "Comment" foreground; = syntax.comment (~/05-genizah/ayu-colors/src/generated/mirage.ts:94 syntax.comment)
.comment = .{ 0x6e, 0x7c, 0x8f },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:108 editorLineNumber.foreground #707a8c80 composited over editor.background #242936 (~/05-genizah/vscode-ayu/ayu-mirage.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno = .{ 0x4a, 0x52, 0x61 },
+ .line_number = .{ 0x4a, 0x52, 0x61 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:109 editorLineNumber.activeForeground [gutter has no own bg, so editor bg]
- .lineno_active = .{ 0x70, 0x7a, 0x8c },
+ .line_number_current = .{ 0x70, 0x7a, 0x8c },
// derived: none in the original; the page
- .scroll_track = .{ 0x24, 0x29, 0x36 },
+ .rail = .{ 0x24, 0x29, 0x36 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:44 scrollbarSlider.background #707a8c66 composited over editor.background #242936 (~/05-genizah/vscode-ayu/ayu-mirage.json:106 editor.background)
- .scroll_thumb = .{ 0x42, 0x49, 0x58 },
+ .rail_thumb = .{ 0x42, 0x49, 0x58 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:92 editorGroup.border; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:150 ui.line #171b24 #171b24, adjusted
- .border = .{ 0x46, 0x49, 0x4d },
+ .rule = .{ 0x46, 0x49, 0x4d },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:119 editor.findMatchBackground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:135 editor.findMatch.active #736950
- .search_bg = .{ 0x73, 0x69, 0x50 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xcc, 0xca, 0xc2 },
+ .hit = .{ 0x73, 0x69, 0x50 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:143 editorError.foreground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:170 common.error #ff6666
- .diagnostic_error = .{ 0xff, 0x66, 0x66 },
+ .@"error" = .{ 0xff, 0x66, 0x66 },
// ~/05-genizah/vscode-ayu/ayu-mirage.json:144 editorWarning.foreground; source ~/05-genizah/ayu-colors/src/generated/mirage.ts:167 common.accent.tint #ffcc66
- .diagnostic_warning = .{ 0xff, 0xcc, 0x66 },
- .palette = .{
+ .warning = .{ 0xff, 0xcc, 0x66 },
+ .ansi = .{
.{ 0x17, 0x1b, 0x24 }, // 0: ~/05-genizah/vscode-ayu/ayu-mirage.json:264 terminal.ansiBlack
.{ 0xf2, 0x82, 0x73 }, // 1: ~/05-genizah/vscode-ayu/ayu-mirage.json:265 terminal.ansiRed
.{ 0x87, 0xd9, 0x6c }, // 2: ~/05-genizah/vscode-ayu/ayu-mirage.json:266 terminal.ansiGreen
diff --git a/core/themes/catppuccin_frappe.zig b/core/themes/catppuccin_frappe.zig
index 7a97ee2c..de225bdc 100644
--- a/core/themes/catppuccin_frappe.zig
+++ b/core/themes/catppuccin_frappe.zig
@@ -28,63 +28,62 @@
//! (groups/integrations/gitsigns.lua:11), and neo-tree uses NeoTreeModified =
//! peach. Keyword = mauve directly (Statement also mauve). Diagnostic groups
//! are in groups/lsp.lua (merged into editor groups by lib/mapper.lua:26).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - search hit #506373 -> #644a3b: 1.98:1 off the page, now 1.52:1 (R8: 1.5:1, the text reading on it)
+//! - hint #81c8be -> #a6d189: 6.41:1 on the page, now 7.10:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "catppuccin_frappe",
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal bg = C.base (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:25)
- .bg = .{ 0x30, 0x34, 0x46 },
+ .page = .{ 0x30, 0x34, 0x46 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:16)
- .fg = .{ 0xc6, 0xd0, 0xf5 },
+ .text = .{ 0xc6, 0xd0, 0xf5 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:107 Visual bg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:23)
- .sel_bg = .{ 0x51, 0x57, 0x6d },
+ .selection = .{ 0x51, 0x57, 0x6d },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc6, 0xd0, 0xf5 },
+ .selection_text = .{ 0xc6, 0xd0, 0xf5 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:26)
- .tag_bg = .{ 0x29, 0x2c, 0x3c },
+ .tag = .{ 0x29, 0x2c, 0x3c },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:23) #51576d, adjusted
- .tag_fg = .{ 0x90, 0x93, 0xa2 },
+ .tag_text = .{ 0x90, 0x93, 0xa2 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:26) #292c3c, adjusted
- .tag_active_bg = .{ 0x45, 0x4a, 0x5d },
+ .tag_focus = .{ 0x45, 0x4a, 0x5d },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:16)
- .tag_active_fg = .{ 0xc6, 0xd0, 0xf5 },
+ .tag_focus_text = .{ 0xc6, 0xd0, 0xf5 },
// the focused grip: ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/lualine.lua:20 lualine normal.a bg = C.blue (used by lua/lualine/themes/catppuccin-frappe.lua) -> C.blue (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:14)
- .box = .{ 0x8c, 0xaa, 0xee },
- // derived: the grip at rest, the accent #8caaee faded toward the unfocused tag #292c3c as far as 1.6:1 off it (0.26 of the way)
- .box_dim = .{ 0x43, 0x4d, 0x6a },
+ .accent = .{ 0x8c, 0xaa, 0xee },
// an unsaved grip: the original's warning colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:9)
- .box_dirty = .{ 0xe5, 0xc8, 0x90 },
+ .dirty = .{ 0xe5, 0xc8, 0x90 },
// derived: the column grip, the original's type colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:32 Type fg = C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:9)
- .column_box = .{ 0xe5, 0xc8, 0x90 },
+ .column_grip = .{ 0xe5, 0xc8, 0x90 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:20 Keyword fg = C.mauve (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:5)
- .kw = .{ 0xca, 0x9e, 0xe6 },
+ .keyword = .{ 0xca, 0x9e, 0xe6 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:8 String fg = C.green (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:10)
- .str = .{ 0xa6, 0xd1, 0x89 },
+ .string = .{ 0xa6, 0xd1, 0x89 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:10 Number fg = C.peach (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:8)
- .num = .{ 0xef, 0x9f, 0x76 },
+ .number = .{ 0xef, 0x9f, 0x76 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:5 Comment fg = C.overlay2 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:19)
.comment = .{ 0x94, 0x9c, 0xbb },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:27 LineNr fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:23)
- .lineno = .{ 0x51, 0x57, 0x6d },
+ .line_number = .{ 0x51, 0x57, 0x6d },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:28 CursorLineNr fg = C.lavender (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:15)
- .lineno_active = .{ 0xba, 0xbb, 0xf1 },
+ .line_number_current = .{ 0xba, 0xbb, 0xf1 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:72 PmenuSbar bg = C.surface0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:24)
- .scroll_track = .{ 0x41, 0x45, 0x59 },
+ .rail = .{ 0x41, 0x45, 0x59 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:73 PmenuThumb bg = C.overlay0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:21)
- .scroll_thumb = .{ 0x73, 0x79, 0x94 },
+ .rail_thumb = .{ 0x73, 0x79, 0x94 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:114 WinSeparator fg = C.crust (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:27) #232634, adjusted
- .border = .{ 0x51, 0x56, 0x6a },
+ .rule = .{ 0x51, 0x56, 0x6a },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search bg = U.darken(C.sky, 0.30, C.base) = blend(fg sky #99d1db, bg base #303446, alpha 0.3) per ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/colors.lua:29 -> #506373
- .search_bg = .{ 0x50, 0x63, 0x73 },
- // ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:16)
- .search_fg = .{ 0xc6, 0xd0, 0xf5 },
+ .hit = .{ 0x50, 0x63, 0x73 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:50 DiagnosticError fg = error (local error = C.red at line 8) -> C.red (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:6)
- .diagnostic_error = .{ 0xe7, 0x82, 0x84 },
+ .@"error" = .{ 0xe7, 0x82, 0x84 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:9)
- .diagnostic_warning = .{ 0xe5, 0xc8, 0x90 },
+ .warning = .{ 0xe5, 0xc8, 0x90 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:52 DiagnosticInfo fg = info (local info = C.sky at line 10) -> C.sky (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:12)
- .diagnostic_info = .{ 0x99, 0xd1, 0xdb },
+ .info = .{ 0x99, 0xd1, 0xdb },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:53 DiagnosticHint fg = hint (local hint = C.teal at line 11) -> C.teal (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/frappe.lua:11)
- .diagnostic_hint = .{ 0x81, 0xc8, 0xbe },
- .palette = .{
+ .hint = .{ 0x81, 0xc8, 0xbe },
+ .ansi = .{
.{ 0x51, 0x57, 0x6d }, // 0: ~/05-genizah/catppuccin-palette/palette.json:1470 frappe.ansiColors.black.normal
.{ 0xe7, 0x82, 0x84 }, // 1: ~/05-genizah/catppuccin-palette/palette.json:1514 frappe.ansiColors.red.normal
.{ 0xa6, 0xd1, 0x89 }, // 2: ~/05-genizah/catppuccin-palette/palette.json:1558 frappe.ansiColors.green.normal
diff --git a/core/themes/catppuccin_latte.zig b/core/themes/catppuccin_latte.zig
index 259198b4..03c95690 100644
--- a/core/themes/catppuccin_latte.zig
+++ b/core/themes/catppuccin_latte.zig
@@ -28,63 +28,68 @@
//! (groups/integrations/gitsigns.lua:11), and neo-tree uses NeoTreeModified =
//! peach. Keyword = mauve directly (Statement also mauve). Diagnostic groups
//! are in groups/lsp.lua (merged into editor groups by lib/mapper.lua:26).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #e6e9ef -> #e3e6ec: 1.08:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #cdd0da -> #cbced4: 1.23:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
+//! - unsaved grip #df8e1d -> #a36400: 2.09:1 on the tag, now 3.83:1 (R6: 3:1 on both tags)
+//! - selection text #4c4f69 -> #4a4d67: 4.39:1 on the selection, now 4.53:1 (R7: 4.5:1)
+//! - search hit #a8daf0 -> #f2bc85: 1.33:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - warning #df8e1d -> #9d6000: 2.31:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - info #04a5e5 -> #0575a4: 2.47:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #179299 -> #097a81: 3.31:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "catppuccin_latte",
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal bg = C.base (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:25)
- .bg = .{ 0xef, 0xf1, 0xf5 },
+ .page = .{ 0xef, 0xf1, 0xf5 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:16)
- .fg = .{ 0x4c, 0x4f, 0x69 },
+ .text = .{ 0x4c, 0x4f, 0x69 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:107 Visual bg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:23)
- .sel_bg = .{ 0xbc, 0xc0, 0xcc },
+ .selection = .{ 0xbc, 0xc0, 0xcc },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x4c, 0x4f, 0x69 },
+ .selection_text = .{ 0x4c, 0x4f, 0x69 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:26)
- .tag_bg = .{ 0xe6, 0xe9, 0xef },
+ .tag = .{ 0xe6, 0xe9, 0xef },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:23) #bcc0cc, adjusted
- .tag_fg = .{ 0x66, 0x68, 0x6e },
+ .tag_text = .{ 0x66, 0x68, 0x6e },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:26) #e6e9ef, adjusted
- .tag_active_bg = .{ 0xcd, 0xd0, 0xda },
+ .tag_focus = .{ 0xcd, 0xd0, 0xda },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:16)
- .tag_active_fg = .{ 0x4c, 0x4f, 0x69 },
+ .tag_focus_text = .{ 0x4c, 0x4f, 0x69 },
// the focused grip: ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/lualine.lua:20 lualine normal.a bg = C.blue (used by lua/lualine/themes/catppuccin-latte.lua) -> C.blue (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:14)
- .box = .{ 0x1e, 0x66, 0xf5 },
- // derived: the grip at rest, the accent #1e66f5 faded toward the unfocused tag #e6e9ef as far as 1.6:1 off it (0.38 of the way)
- .box_dim = .{ 0x9a, 0xb7, 0xf1 },
+ .accent = .{ 0x1e, 0x66, 0xf5 },
// an unsaved grip: the original's warning colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:9)
- .box_dirty = .{ 0xdf, 0x8e, 0x1d },
+ .dirty = .{ 0xdf, 0x8e, 0x1d },
// derived: the column grip, the original's type colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:32 Type fg = C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:9)
- .column_box = .{ 0xdf, 0x8e, 0x1d },
+ .column_grip = .{ 0xdf, 0x8e, 0x1d },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:20 Keyword fg = C.mauve (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:5)
- .kw = .{ 0x88, 0x39, 0xef },
+ .keyword = .{ 0x88, 0x39, 0xef },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:8 String fg = C.green (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:10)
- .str = .{ 0x40, 0xa0, 0x2b },
+ .string = .{ 0x40, 0xa0, 0x2b },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:10 Number fg = C.peach (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:8)
- .num = .{ 0xfe, 0x64, 0x0b },
+ .number = .{ 0xfe, 0x64, 0x0b },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:5 Comment fg = C.overlay2 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:19)
.comment = .{ 0x7c, 0x7f, 0x93 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:27 LineNr fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:23)
- .lineno = .{ 0xbc, 0xc0, 0xcc },
+ .line_number = .{ 0xbc, 0xc0, 0xcc },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:28 CursorLineNr fg = C.lavender (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:15)
- .lineno_active = .{ 0x72, 0x87, 0xfd },
+ .line_number_current = .{ 0x72, 0x87, 0xfd },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:72 PmenuSbar bg = C.surface0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:24)
- .scroll_track = .{ 0xcc, 0xd0, 0xda },
+ .rail = .{ 0xcc, 0xd0, 0xda },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:73 PmenuThumb bg = C.overlay0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:21)
- .scroll_thumb = .{ 0x9c, 0xa0, 0xb0 },
+ .rail_thumb = .{ 0x9c, 0xa0, 0xb0 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:114 WinSeparator fg = C.crust (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:27) #dce0e8, adjusted
- .border = .{ 0xbc, 0xc0, 0xcc },
+ .rule = .{ 0xbc, 0xc0, 0xcc },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search bg = U.darken(C.sky, 0.30, C.base) = blend(fg sky #04a5e5, bg base #eff1f5, alpha 0.3) per ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/colors.lua:29 -> #a8daf0
- .search_bg = .{ 0xa8, 0xda, 0xf0 },
- // ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:16)
- .search_fg = .{ 0x4c, 0x4f, 0x69 },
+ .hit = .{ 0xa8, 0xda, 0xf0 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:50 DiagnosticError fg = error (local error = C.red at line 8) -> C.red (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:6)
- .diagnostic_error = .{ 0xd2, 0x0f, 0x39 },
+ .@"error" = .{ 0xd2, 0x0f, 0x39 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:9)
- .diagnostic_warning = .{ 0xdf, 0x8e, 0x1d },
+ .warning = .{ 0xdf, 0x8e, 0x1d },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:52 DiagnosticInfo fg = info (local info = C.sky at line 10) -> C.sky (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:12)
- .diagnostic_info = .{ 0x04, 0xa5, 0xe5 },
+ .info = .{ 0x04, 0xa5, 0xe5 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:53 DiagnosticHint fg = hint (local hint = C.teal at line 11) -> C.teal (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/latte.lua:11)
- .diagnostic_hint = .{ 0x17, 0x92, 0x99 },
- .palette = .{
+ .hint = .{ 0x17, 0x92, 0x99 },
+ .ansi = .{
.{ 0x5c, 0x5f, 0x77 }, // 0: ~/05-genizah/catppuccin-palette/palette.json:562 latte.ansiColors.black.normal
.{ 0xd2, 0x0f, 0x39 }, // 1: ~/05-genizah/catppuccin-palette/palette.json:606 latte.ansiColors.red.normal
.{ 0x40, 0xa0, 0x2b }, // 2: ~/05-genizah/catppuccin-palette/palette.json:650 latte.ansiColors.green.normal
diff --git a/core/themes/catppuccin_macchiato.zig b/core/themes/catppuccin_macchiato.zig
index 918c3257..db75f482 100644
--- a/core/themes/catppuccin_macchiato.zig
+++ b/core/themes/catppuccin_macchiato.zig
@@ -28,63 +28,62 @@
//! (groups/integrations/gitsigns.lua:11), and neo-tree uses NeoTreeModified =
//! peach. Keyword = mauve directly (Statement also mauve). Diagnostic groups
//! are in groups/lsp.lua (merged into editor groups by lib/mapper.lua:26).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #1e2030 -> #1d1f2f: 1.09:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - hint #8bd5ca -> #a6da95: 8.74:1 on the page, now 9.17:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "catppuccin_macchiato",
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal bg = C.base (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:25)
- .bg = .{ 0x24, 0x27, 0x3a },
+ .page = .{ 0x24, 0x27, 0x3a },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:16)
- .fg = .{ 0xca, 0xd3, 0xf5 },
+ .text = .{ 0xca, 0xd3, 0xf5 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:107 Visual bg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:23)
- .sel_bg = .{ 0x49, 0x4d, 0x64 },
+ .selection = .{ 0x49, 0x4d, 0x64 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xca, 0xd3, 0xf5 },
+ .selection_text = .{ 0xca, 0xd3, 0xf5 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:26)
- .tag_bg = .{ 0x1e, 0x20, 0x30 },
+ .tag = .{ 0x1e, 0x20, 0x30 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:23) #494d64, adjusted
- .tag_fg = .{ 0x87, 0x8a, 0x99 },
+ .tag_text = .{ 0x87, 0x8a, 0x99 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:26) #1e2030, adjusted
- .tag_active_bg = .{ 0x3d, 0x40, 0x53 },
+ .tag_focus = .{ 0x3d, 0x40, 0x53 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:16)
- .tag_active_fg = .{ 0xca, 0xd3, 0xf5 },
+ .tag_focus_text = .{ 0xca, 0xd3, 0xf5 },
// the focused grip: ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/lualine.lua:20 lualine normal.a bg = C.blue (used by lua/lualine/themes/catppuccin-macchiato.lua) -> C.blue (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:14)
- .box = .{ 0x8a, 0xad, 0xf4 },
- // derived: the grip at rest, the accent #8aadf4 faded toward the unfocused tag #1e2030 as far as 1.6:1 off it (0.24 of the way)
- .box_dim = .{ 0x38, 0x42, 0x5f },
+ .accent = .{ 0x8a, 0xad, 0xf4 },
// an unsaved grip: the original's warning colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:9)
- .box_dirty = .{ 0xee, 0xd4, 0x9f },
+ .dirty = .{ 0xee, 0xd4, 0x9f },
// derived: the column grip, the original's type colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:32 Type fg = C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:9)
- .column_box = .{ 0xee, 0xd4, 0x9f },
+ .column_grip = .{ 0xee, 0xd4, 0x9f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:20 Keyword fg = C.mauve (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:5)
- .kw = .{ 0xc6, 0xa0, 0xf6 },
+ .keyword = .{ 0xc6, 0xa0, 0xf6 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:8 String fg = C.green (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:10)
- .str = .{ 0xa6, 0xda, 0x95 },
+ .string = .{ 0xa6, 0xda, 0x95 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:10 Number fg = C.peach (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:8)
- .num = .{ 0xf5, 0xa9, 0x7f },
+ .number = .{ 0xf5, 0xa9, 0x7f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:5 Comment fg = C.overlay2 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:19)
.comment = .{ 0x93, 0x9a, 0xb7 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:27 LineNr fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:23)
- .lineno = .{ 0x49, 0x4d, 0x64 },
+ .line_number = .{ 0x49, 0x4d, 0x64 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:28 CursorLineNr fg = C.lavender (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:15)
- .lineno_active = .{ 0xb7, 0xbd, 0xf8 },
+ .line_number_current = .{ 0xb7, 0xbd, 0xf8 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:72 PmenuSbar bg = C.surface0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:24)
- .scroll_track = .{ 0x36, 0x3a, 0x4f },
+ .rail = .{ 0x36, 0x3a, 0x4f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:73 PmenuThumb bg = C.overlay0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:21)
- .scroll_thumb = .{ 0x6e, 0x73, 0x8d },
+ .rail_thumb = .{ 0x6e, 0x73, 0x8d },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:114 WinSeparator fg = C.crust (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:27) #181926, adjusted
- .border = .{ 0x46, 0x49, 0x5c },
+ .rule = .{ 0x46, 0x49, 0x5c },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search bg = U.darken(C.sky, 0.30, C.base) = blend(fg sky #91d7e3, bg base #24273a, alpha 0.3) per ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/colors.lua:29 -> #455c6d
- .search_bg = .{ 0x45, 0x5c, 0x6d },
- // ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:16)
- .search_fg = .{ 0xca, 0xd3, 0xf5 },
+ .hit = .{ 0x45, 0x5c, 0x6d },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:50 DiagnosticError fg = error (local error = C.red at line 8) -> C.red (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:6)
- .diagnostic_error = .{ 0xed, 0x87, 0x96 },
+ .@"error" = .{ 0xed, 0x87, 0x96 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:9)
- .diagnostic_warning = .{ 0xee, 0xd4, 0x9f },
+ .warning = .{ 0xee, 0xd4, 0x9f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:52 DiagnosticInfo fg = info (local info = C.sky at line 10) -> C.sky (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:12)
- .diagnostic_info = .{ 0x91, 0xd7, 0xe3 },
+ .info = .{ 0x91, 0xd7, 0xe3 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:53 DiagnosticHint fg = hint (local hint = C.teal at line 11) -> C.teal (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/macchiato.lua:11)
- .diagnostic_hint = .{ 0x8b, 0xd5, 0xca },
- .palette = .{
+ .hint = .{ 0x8b, 0xd5, 0xca },
+ .ansi = .{
.{ 0x49, 0x4d, 0x64 }, // 0: ~/05-genizah/catppuccin-palette/palette.json:2378 macchiato.ansiColors.black.normal
.{ 0xed, 0x87, 0x96 }, // 1: ~/05-genizah/catppuccin-palette/palette.json:2422 macchiato.ansiColors.red.normal
.{ 0xa6, 0xda, 0x95 }, // 2: ~/05-genizah/catppuccin-palette/palette.json:2466 macchiato.ansiColors.green.normal
diff --git a/core/themes/catppuccin_mocha.zig b/core/themes/catppuccin_mocha.zig
index fb34a923..dae31a69 100644
--- a/core/themes/catppuccin_mocha.zig
+++ b/core/themes/catppuccin_mocha.zig
@@ -28,63 +28,62 @@
//! (groups/integrations/gitsigns.lua:11), and neo-tree uses NeoTreeModified =
//! peach. Keyword = mauve directly (Statement also mauve). Diagnostic groups
//! are in groups/lsp.lua (merged into editor groups by lib/mapper.lua:26).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #181825 -> #151522: 1.07:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - hint #94e2d5 -> #a6e3a1: 11.01:1 on the page, now 11.03:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "catppuccin_mocha",
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal bg = C.base (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:25)
- .bg = .{ 0x1e, 0x1e, 0x2e },
+ .page = .{ 0x1e, 0x1e, 0x2e },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:16)
- .fg = .{ 0xcd, 0xd6, 0xf4 },
+ .text = .{ 0xcd, 0xd6, 0xf4 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:107 Visual bg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:23)
- .sel_bg = .{ 0x45, 0x47, 0x5a },
+ .selection = .{ 0x45, 0x47, 0x5a },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xcd, 0xd6, 0xf4 },
+ .selection_text = .{ 0xcd, 0xd6, 0xf4 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:26)
- .tag_bg = .{ 0x18, 0x18, 0x25 },
+ .tag = .{ 0x18, 0x18, 0x25 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:23) #45475a, adjusted
- .tag_fg = .{ 0x81, 0x82, 0x8f },
+ .tag_text = .{ 0x81, 0x82, 0x8f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:26) #181825, adjusted
- .tag_active_bg = .{ 0x39, 0x3a, 0x4a },
+ .tag_focus = .{ 0x39, 0x3a, 0x4a },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:16)
- .tag_active_fg = .{ 0xcd, 0xd6, 0xf4 },
+ .tag_focus_text = .{ 0xcd, 0xd6, 0xf4 },
// the focused grip: ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/lualine.lua:20 lualine normal.a bg = C.blue (used by lua/lualine/themes/catppuccin-mocha.lua) -> C.blue (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:14)
- .box = .{ 0x89, 0xb4, 0xfa },
- // derived: the grip at rest, the accent #89b4fa faded toward the unfocused tag #181825 as far as 1.6:1 off it (0.24 of the way)
- .box_dim = .{ 0x33, 0x3d, 0x58 },
+ .accent = .{ 0x89, 0xb4, 0xfa },
// an unsaved grip: the original's warning colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:9)
- .box_dirty = .{ 0xf9, 0xe2, 0xaf },
+ .dirty = .{ 0xf9, 0xe2, 0xaf },
// derived: the column grip, the original's type colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:32 Type fg = C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:9)
- .column_box = .{ 0xf9, 0xe2, 0xaf },
+ .column_grip = .{ 0xf9, 0xe2, 0xaf },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:20 Keyword fg = C.mauve (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:5)
- .kw = .{ 0xcb, 0xa6, 0xf7 },
+ .keyword = .{ 0xcb, 0xa6, 0xf7 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:8 String fg = C.green (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:10)
- .str = .{ 0xa6, 0xe3, 0xa1 },
+ .string = .{ 0xa6, 0xe3, 0xa1 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:10 Number fg = C.peach (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:8)
- .num = .{ 0xfa, 0xb3, 0x87 },
+ .number = .{ 0xfa, 0xb3, 0x87 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:5 Comment fg = C.overlay2 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:19)
.comment = .{ 0x93, 0x99, 0xb2 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:27 LineNr fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:23)
- .lineno = .{ 0x45, 0x47, 0x5a },
+ .line_number = .{ 0x45, 0x47, 0x5a },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:28 CursorLineNr fg = C.lavender (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:15)
- .lineno_active = .{ 0xb4, 0xbe, 0xfe },
+ .line_number_current = .{ 0xb4, 0xbe, 0xfe },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:72 PmenuSbar bg = C.surface0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:24)
- .scroll_track = .{ 0x31, 0x32, 0x44 },
+ .rail = .{ 0x31, 0x32, 0x44 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:73 PmenuThumb bg = C.overlay0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:21)
- .scroll_thumb = .{ 0x6c, 0x70, 0x86 },
+ .rail_thumb = .{ 0x6c, 0x70, 0x86 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:114 WinSeparator fg = C.crust (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:27) #11111b, adjusted
- .border = .{ 0x3e, 0x40, 0x4f },
+ .rule = .{ 0x3e, 0x40, 0x4f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search bg = U.darken(C.sky, 0.30, C.base) = blend(fg sky #89dceb, bg base #1e1e2e, alpha 0.3) per ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/colors.lua:29 -> #3e5767
- .search_bg = .{ 0x3e, 0x57, 0x67 },
- // ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:16)
- .search_fg = .{ 0xcd, 0xd6, 0xf4 },
+ .hit = .{ 0x3e, 0x57, 0x67 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:50 DiagnosticError fg = error (local error = C.red at line 8) -> C.red (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:6)
- .diagnostic_error = .{ 0xf3, 0x8b, 0xa8 },
+ .@"error" = .{ 0xf3, 0x8b, 0xa8 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:9)
- .diagnostic_warning = .{ 0xf9, 0xe2, 0xaf },
+ .warning = .{ 0xf9, 0xe2, 0xaf },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:52 DiagnosticInfo fg = info (local info = C.sky at line 10) -> C.sky (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:12)
- .diagnostic_info = .{ 0x89, 0xdc, 0xeb },
+ .info = .{ 0x89, 0xdc, 0xeb },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:53 DiagnosticHint fg = hint (local hint = C.teal at line 11) -> C.teal (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:11)
- .diagnostic_hint = .{ 0x94, 0xe2, 0xd5 },
- .palette = .{
+ .hint = .{ 0x94, 0xe2, 0xd5 },
+ .ansi = .{
.{ 0x45, 0x47, 0x5a }, // 0: ~/05-genizah/catppuccin-palette/palette.json:3286 mocha.ansiColors.black.normal
.{ 0xf3, 0x8b, 0xa8 }, // 1: ~/05-genizah/catppuccin-palette/palette.json:3330 mocha.ansiColors.red.normal
.{ 0xa6, 0xe3, 0xa1 }, // 2: ~/05-genizah/catppuccin-palette/palette.json:3374 mocha.ansiColors.green.normal
diff --git a/core/themes/clay.zig b/core/themes/clay.zig
index ba76ad35..4b28fb36 100644
--- a/core/themes/clay.zig
+++ b/core/themes/clay.zig
@@ -4,36 +4,32 @@
//! 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 },
+ .page = .{ 0x10, 0x10, 0x0e },
+ .text = .{ 0xf3, 0xe5, 0xbc },
+ .tag = .{ 0x34, 0x3f, 0x36 },
+ .tag_text = .{ 0xd7, 0xd6, 0xb6 },
+ .tag_name = .{ 0xaa, 0xe0, 0xe0 },
+ .tag_focus = .{ 0x42, 0x4f, 0x40 },
+ .tag_focus_text = .{ 0xe3, 0xe2, 0xc2 },
+ .accent = .{ 0x8a, 0xc8, 0x74 },
+ .column_grip = .{ 0xdd, 0x7c, 0x97 },
+ .keyword = .{ 0xff, 0x88, 0x65 },
+ .string = .{ 0xd1, 0xd5, 0x0c },
+ .number = .{ 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 = .{
+ .line_number = .{ 0x69, 0x64, 0x55 },
+ .line_number_current = .{ 0x71, 0x6c, 0x5d },
+ .rail = .{ 0x22, 0x21, 0x19 },
+ .rail_thumb = .{ 0x8c, 0x94, 0x67 },
+ .rule = .{ 0x74, 0x87, 0x61 },
+ .selection = .{ 0x50, 0x5c, 0x38 },
+ .selection_text = .{ 0xfb, 0xf1, 0xc7 },
+ .hit = .{ 0x6f, 0x54, 0x1f },
+ .@"error" = .{ 0xff, 0x88, 0x65 },
+ .warning = .{ 0xff, 0xbf, 0x2a },
+ .info = .{ 0x7b, 0xbd, 0xac },
+ .hint = .{ 0x89, 0xca, 0x72 },
+ .ansi = .{
.{ 0x10, 0x10, 0x0e },
.{ 0xfb, 0x8a, 0x69 },
.{ 0xb8, 0xbb, 0x26 },
diff --git a/core/themes/dark.zig b/core/themes/dark.zig
index e93fd489..51768f56 100644
--- a/core/themes/dark.zig
+++ b/core/themes/dark.zig
@@ -11,24 +11,23 @@
//! exactly what it was picked for.
pub const theme = .{
.name = "dark",
- .bg = null,
- .fg = null,
- .sel_bg = .{ 0x51, 0x3c, 0x17 },
- .sel_fg = .{ 0xd8, 0xc8, 0xa8 },
- .tag_bg = .{ 0x2c, 0x2a, 0x3e },
- .tag_fg = .{ 0x96, 0x96, 0x96 },
+ .page = null,
+ .text = null,
+ .selection = .{ 0x51, 0x3c, 0x17 },
+ .selection_text = .{ 0xd8, 0xc8, 0xa8 },
+ .tag = .{ 0x2c, 0x2a, 0x3e },
+ .tag_text = .{ 0x96, 0x96, 0x96 },
// The focused tag: its band lighter in its own hue (1.54:1 off the
// plain one), its ink lighter to keep reading on it.
- .tag_active_bg = .{ 0x48, 0x45, 0x66 },
- .tag_active_fg = .{ 0xc8, 0xc8, 0xc8 },
- .box = .{ 0x66, 0x3f, 0xe0 },
- .box_dim = .{ 0x35, 0x3a, 0x58 },
- .kw = .{ 0xda, 0x5e, 0xea },
- .str = .{ 0x85, 0xc3, 0x6f },
- .num = .{ 0xe1, 0xcb, 0x5f },
+ .tag_focus = .{ 0x48, 0x45, 0x66 },
+ .tag_focus_text = .{ 0xc8, 0xc8, 0xc8 },
+ .accent = .{ 0x66, 0x3f, 0xe0 },
+ .keyword = .{ 0xda, 0x5e, 0xea },
+ .string = .{ 0x85, 0xc3, 0x6f },
+ .number = .{ 0xe1, 0xcb, 0x5f },
.comment = .{ 0xf0, 0xf0, 0xf0 },
- .lineno = .{ 0x5a, 0x5a, 0x5a },
- .scroll_track = .{ 0x2a, 0x2a, 0x2a },
- .scroll_thumb = .{ 0x52, 0x52, 0x52 },
- .palette = null,
+ .line_number = .{ 0x5a, 0x5a, 0x5a },
+ .rail = .{ 0x2a, 0x2a, 0x2a },
+ .rail_thumb = .{ 0x52, 0x52, 0x52 },
+ .ansi = null,
};
diff --git a/core/themes/dark_plus.zig b/core/themes/dark_plus.zig
index 9c1cb689..f0a13f1e 100644
--- a/core/themes/dark_plus.zig
+++ b/core/themes/dark_plus.zig
@@ -8,67 +8,67 @@
//! Adjusted to meet pardes's floors (chrome only; text, syntax and ANSI are untouched):
//! - unfocused tag ground #2d2d2d -> #3c3c3c: 1.21:1 off the focused one (the page, kept), pardes needs 1.5:1 on a dark page
//! - unfocused tag text #969696 -> #a7a7a7: 3.73:1 on #3c3c3c, tag text needs 4.5:1 to be read and run
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused tag ground #1e1e1e -> #565656: 1.51:1 off the tag, now 1.50:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #007fd4 -> #4dabff: 1.74:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - unsaved grip #3399cc -> #4db0e4: 3.45:1 on the tag, now 4.54:1 (R6: 3:1 on both tags)
pub const theme = .{
.name = "dark_plus",
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 colors."editor.background"
- .bg = .{ 0x1e, 0x1e, 0x1e },
+ .page = .{ 0x1e, 0x1e, 0x1e },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 colors."editor.foreground"
- .fg = .{ 0xd4, 0xd4, 0xd4 },
+ .text = .{ 0xd4, 0xd4, 0xd4 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:122 editor.selectionBackground dark
- .sel_bg = .{ 0x26, 0x4f, 0x78 },
+ .selection = .{ 0x26, 0x4f, 0x78 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xd4, 0xd4, 0xd4 },
+ .selection_text = .{ 0xd4, 0xd4, 0xd4 },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:36 tab.inactiveBackground dark #2d2d2d, adjusted
- .tag_bg = .{ 0x3c, 0x3c, 0x3c },
+ .tag = .{ 0x3c, 0x3c, 0x3c },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:56 tab.inactiveForeground dark = transparent(tab.activeForeground #FFFFFF, 0.5) over #2d2d2d #969696, adjusted
- .tag_fg = .{ 0xa7, 0xa7, 0xa7 },
+ .tag_text = .{ 0xa7, 0xa7, 0xa7 },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:31 tab.activeBackground = editorBackground
- .tag_active_bg = .{ 0x1e, 0x1e, 0x1e },
+ .tag_focus = .{ 0x1e, 0x1e, 0x1e },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:49 tab.activeForeground dark Color.white
- .tag_active_fg = .{ 0xff, 0xff, 0xff },
+ .tag_focus_text = .{ 0xff, 0xff, 0xff },
// the tagline is the status bar: ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:298 statusBar.background dark #007ACC
- .tagline_bg = .{ 0x00, 0x7a, 0xcc },
+ .workspace = .{ 0x00, 0x7a, 0xcc },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:289 statusBar.foreground dark #FFFFFF
- .tagline_fg = .{ 0xff, 0xff, 0xff },
+ .workspace_text = .{ 0xff, 0xff, 0xff },
// the focused grip: ~/05-genizah/vscode/src/vs/platform/theme/common/colors/baseColors.ts:38 focusBorder dark
- .box = .{ 0x00, 0x7f, 0xd4 },
- // derived: the grip at rest, the accent #007fd4 faded toward the unfocused tag #3c3c3c as far as 1.6:1 off it (0.54 of the way)
- .box_dim = .{ 0x1c, 0x60, 0x8e },
+ .accent = .{ 0x00, 0x7f, 0xd4 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:176 tab.activeModifiedBorder dark
- .box_dirty = .{ 0x33, 0x99, 0xcc },
+ .dirty = .{ 0x33, 0x99, 0xcc },
// derived: the column grip, the original's type colour, /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_plus.json:1 tokenColors entity.name.type
- .column_box = .{ 0x4e, 0xc9, 0xb0 },
+ .column_grip = .{ 0x4e, 0xc9, 0xb0 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors keyword (keyword.control is #C586C0 in dark_plus.json:1; pardes has one keyword colour)
- .kw = .{ 0x56, 0x9c, 0xd6 },
+ .keyword = .{ 0x56, 0x9c, 0xd6 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors string
- .str = .{ 0xce, 0x91, 0x78 },
+ .string = .{ 0xce, 0x91, 0x78 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors constant.numeric
- .num = .{ 0xb5, 0xce, 0xa8 },
+ .number = .{ 0xb5, 0xce, 0xa8 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors comment
.comment = .{ 0x6a, 0x99, 0x55 },
// ~/05-genizah/vscode/src/vs/editor/common/core/editorColorRegistry.ts:29 editorLineNumber.foreground dark
- .lineno = .{ 0x85, 0x85, 0x85 },
+ .line_number = .{ 0x85, 0x85, 0x85 },
// ~/05-genizah/vscode/src/vs/editor/common/core/editorColorRegistry.ts:48 editorActiveLineNumber.foreground dark (editorLineNumber.activeForeground defaults to it, :49)
- .lineno_active = .{ 0xc6, 0xc6, 0xc6 },
+ .line_number_current = .{ 0xc6, 0xc6, 0xc6 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/miscColors.ts:68 scrollbar.background null: the editor shows through
- .scroll_track = .{ 0x1e, 0x1e, 0x1e },
+ .rail = .{ 0x1e, 0x1e, 0x1e },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/miscColors.ts:57 scrollbarSlider.background dark #797979 at 0.4, over #1e1e1e
- .scroll_thumb = .{ 0x42, 0x42, 0x42 },
+ .rail_thumb = .{ 0x42, 0x42, 0x42 },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:237 editorGroup.border dark
- .border = .{ 0x44, 0x44, 0x44 },
+ .rule = .{ 0x44, 0x44, 0x44 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:149 editor.findMatchBackground dark
- .search_bg = .{ 0x51, 0x5c, 0x6a },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xd4, 0xd4, 0xd4 },
+ .hit = .{ 0x51, 0x5c, 0x6a },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:71 editorError.foreground dark
- .diagnostic_error = .{ 0xf1, 0x4c, 0x4c },
+ .@"error" = .{ 0xf1, 0x4c, 0x4c },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:84 editorWarning.foreground dark
- .diagnostic_warning = .{ 0xcc, 0xa7, 0x00 },
+ .warning = .{ 0xcc, 0xa7, 0x00 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:97 editorInfo.foreground dark
- .diagnostic_info = .{ 0x59, 0xa4, 0xf9 },
+ .info = .{ 0x59, 0xa4, 0xf9 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:106 editorHint.foreground dark #eeeeee at 0.7, over #1e1e1e
- .diagnostic_hint = .{ 0xb0, 0xb0, 0xb0 },
- .palette = .{
+ .hint = .{ 0xb0, 0xb0, 0xb0 },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 }, // 0: ~/05-genizah/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts:107 terminal.ansiBlack dark
.{ 0xcd, 0x31, 0x31 }, // 1: ~/05-genizah/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts:116 terminal.ansiRed dark
.{ 0x0d, 0xbc, 0x79 }, // 2: ~/05-genizah/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts:125 terminal.ansiGreen dark
diff --git a/core/themes/daybreak.zig b/core/themes/daybreak.zig
index e032b994..2e6c0b8a 100644
--- a/core/themes/daybreak.zig
+++ b/core/themes/daybreak.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "daybreak",
- .bg = .{ 0xff, 0xff, 0xff },
- .fg = .{ 0x14, 0x2d, 0x40 },
- .tag_bg = .{ 0xed, 0xf2, 0xf7 },
- .tag_fg = .{ 0x29, 0x46, 0x5e },
- .tag_name_fg = .{ 0x5a, 0x2d, 0x67 },
- .tag_active_name_fg = .{ 0x52, 0x25, 0x5f },
- .tag_active_bg = .{ 0xdf, 0xea, 0xf3 },
- .tag_active_fg = .{ 0x21, 0x3e, 0x56 },
- .box = .{ 0x00, 0x61, 0x98 },
- .box_dim = .{ 0x7b, 0x9e, 0xb7 },
- .column_box = .{ 0x7f, 0x42, 0x00 },
- .column_box_dim = .{ 0xb7, 0x9a, 0x7a },
- .kw = .{ 0x65, 0x1a, 0x98 },
- .str = .{ 0x1a, 0x65, 0x2b },
- .num = .{ 0x7f, 0x42, 0x00 },
+ .page = .{ 0xff, 0xff, 0xff },
+ .text = .{ 0x14, 0x2d, 0x40 },
+ .tag = .{ 0xed, 0xf2, 0xf7 },
+ .tag_text = .{ 0x29, 0x46, 0x5e },
+ .tag_name = .{ 0x5a, 0x2d, 0x67 },
+ .tag_focus = .{ 0xdf, 0xea, 0xf3 },
+ .tag_focus_text = .{ 0x21, 0x3e, 0x56 },
+ .accent = .{ 0x00, 0x61, 0x98 },
+ .column_grip = .{ 0x7f, 0x42, 0x00 },
+ .keyword = .{ 0x65, 0x1a, 0x98 },
+ .string = .{ 0x1a, 0x65, 0x2b },
+ .number = .{ 0x7f, 0x42, 0x00 },
.comment = .{ 0x08, 0x62, 0x39 },
- .lineno = .{ 0x88, 0x93, 0x9b },
- .lineno_active = .{ 0x80, 0x8b, 0x93 },
- .scroll_track = .{ 0xe6, 0xed, 0xf3 },
- .scroll_thumb = .{ 0x66, 0x85, 0xa0 },
- .border = .{ 0xc5, 0xcf, 0xd7 },
- .sel_bg = .{ 0xb9, 0xdf, 0xfb },
- .sel_fg = .{ 0x10, 0x36, 0x4f },
- .search_bg = .{ 0xff, 0xe3, 0x96 },
- .search_fg = .{ 0x4b, 0x35, 0x00 },
- .diagnostic_error = .{ 0xb3, 0x08, 0x22 },
- .diagnostic_warning = .{ 0x70, 0x49, 0x00 },
- .diagnostic_info = .{ 0x00, 0x5c, 0x8a },
- .diagnostic_hint = .{ 0x36, 0x5b, 0x25 },
- .palette = .{
+ .line_number = .{ 0x88, 0x93, 0x9b },
+ .line_number_current = .{ 0x80, 0x8b, 0x93 },
+ .rail = .{ 0xe6, 0xed, 0xf3 },
+ .rail_thumb = .{ 0x66, 0x85, 0xa0 },
+ .rule = .{ 0xc5, 0xcf, 0xd7 },
+ .selection = .{ 0xb9, 0xdf, 0xfb },
+ .selection_text = .{ 0x10, 0x36, 0x4f },
+ .hit = .{ 0xff, 0xe3, 0x96 },
+ .@"error" = .{ 0xb3, 0x08, 0x22 },
+ .warning = .{ 0x70, 0x49, 0x00 },
+ .info = .{ 0x00, 0x5c, 0x8a },
+ .hint = .{ 0x36, 0x5b, 0x25 },
+ .ansi = .{
.{ 0x14, 0x2d, 0x40 },
.{ 0xa1, 0x1c, 0x30 },
.{ 0x24, 0x5b, 0x30 },
diff --git a/core/themes/doom_one.zig b/core/themes/doom_one.zig
index 9db8bdee..1d3df86a 100644
--- a/core/themes/doom_one.zig
+++ b/core/themes/doom_one.zig
@@ -29,61 +29,59 @@
//! from tab-bar faces (inherit tab-line-*). The doom-modeline package
//! (separate) draws on the mode-line face; its accent bar is doom-modeline-bar
//! = highlight.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - search hit #387aa7 -> #594324: 3.01:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "doom_one",
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:13 default :background bg; bg = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:56 bg (GUI/default column #282c34)
- .bg = .{ 0x28, 0x2c, 0x34 },
+ .page = .{ 0x28, 0x2c, 0x34 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:13 default :foreground fg; fg = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:57 fg (GUI/default column #bbc2cf)
- .fg = .{ 0xbb, 0xc2, 0xcf },
+ .text = .{ 0xbb, 0xc2, 0xcf },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:15 region :background region; region = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:110 region = (doom-lighten (car bg-alt) #21242b 0.15) = (doom-blend #21242b #FFFFFF 0.85) = #42444a (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten)
- .sel_bg = .{ 0x42, 0x44, 0x4a },
+ .selection = .{ 0x42, 0x44, 0x4a },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xbb, 0xc2, 0xcf },
+ .selection_text = .{ 0xbb, 0xc2, 0xcf },
// ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:145 mode-line-inactive :background modeline-bg-inactive; modeline-bg-inactive = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:128 modeline-bg-inactive = bg-alt (car bg-alt) -> #21242b
- .tag_bg = .{ 0x21, 0x24, 0x2b },
+ .tag = .{ 0x21, 0x24, 0x2b },
// ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:145 mode-line-inactive :foreground modeline-fg-alt; modeline-fg-alt = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:121 modeline-fg-alt = base5 -> #5b6268 #5b6268, adjusted
- .tag_fg = .{ 0x86, 0x8b, 0x8f },
+ .tag_text = .{ 0x86, 0x8b, 0x8f },
// ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:142 mode-line :background modeline-bg; modeline-bg = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:122 modeline-bg = (doom-darken bg-alt #21242b 0.1) (doom-one-brighter-modeline nil) = (doom-blend #21242b #000000 0.9) = #1d2026 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten) #1d2026, adjusted
- .tag_active_bg = .{ 0x40, 0x44, 0x4b },
+ .tag_focus = .{ 0x40, 0x44, 0x4b },
// ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:142 mode-line :foreground modeline-fg; modeline-fg = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:120 modeline-fg = fg -> #bbc2cf
- .tag_active_fg = .{ 0xbb, 0xc2, 0xcf },
+ .tag_focus_text = .{ 0xbb, 0xc2, 0xcf },
// the focused grip: ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:154 doom-modeline-bar :background highlight (the modeline accent bar; also cursor/link/minibuffer-prompt, ~/05-genizah/doomemacs-themes/doom-themes-base.el:17); highlight = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:95 highlight = blue -> #51afef
- .box = .{ 0x51, 0xaf, 0xef },
- // derived: the grip at rest, the accent #51afef faded toward the unfocused tag #21242b as far as 1.6:1 off it (0.26 of the way)
- .box_dim = .{ 0x2d, 0x48, 0x5e },
+ .accent = .{ 0x51, 0xaf, 0xef },
// an unsaved grip: the original's modified colour, ~/05-genizah/doomemacs-themes/doom-themes-base.el:412 diff-changed :foreground violet (doom-modeline-buffer-modified not defined in doom-themes); violet = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:88 violet (GUI/default column #a9a1e1)
- .box_dirty = .{ 0xa9, 0xa1, 0xe1 },
+ .dirty = .{ 0xa9, 0xa1, 0xe1 },
// derived: the column grip, the original's type colour, ~/05-genizah/doomemacs-themes/doom-themes-base.el:57 font-lock-type-face :foreground type; type = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:106 type = yellow -> #ecbe7b
- .column_box = .{ 0xec, 0xbe, 0x7b },
+ .column_grip = .{ 0xec, 0xbe, 0x7b },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:44 font-lock-keyword-face :foreground keywords; keywords = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:103 keywords = blue -> #51afef
- .kw = .{ 0x51, 0xaf, 0xef },
+ .keyword = .{ 0x51, 0xaf, 0xef },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:56 font-lock-string-face :foreground strings; strings = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:107 strings = green -> #98be65
- .str = .{ 0x98, 0xbe, 0x65 },
+ .string = .{ 0x98, 0xbe, 0x65 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:769 highlight-numbers-number :foreground numbers; numbers = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:109 numbers = orange -> #da8548
- .num = .{ 0xda, 0x85, 0x48 },
+ .number = .{ 0xda, 0x85, 0x48 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:37 font-lock-comment-face :foreground comments; comments = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:99 comments = base5 (doom-one-brighter-comments nil) -> #5b6268
.comment = .{ 0x5b, 0x62, 0x68 },
// ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:137 line-number &override :foreground base4; base4 = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:73 base4 (GUI/default column #3f444a)
- .lineno = .{ 0x3f, 0x44, 0x4a },
+ .line_number = .{ 0x3f, 0x44, 0x4a },
// ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:138 line-number-current-line &override :foreground fg; fg = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:57 fg (GUI/default column #bbc2cf)
- .lineno_active = .{ 0xbb, 0xc2, 0xcf },
+ .line_number_current = .{ 0xbb, 0xc2, 0xcf },
// derived: none in the original; the page
- .scroll_track = .{ 0x28, 0x2c, 0x34 },
+ .rail = .{ 0x28, 0x2c, 0x34 },
// derived: none in the original; line numbers, ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:137 line-number &override :foreground base4; base4 = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:73 base4 (GUI/default column #3f444a) #3f444a, adjusted
- .scroll_thumb = .{ 0x44, 0x49, 0x4f },
+ .rail_thumb = .{ 0x44, 0x49, 0x4f },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:28 vertical-border :foreground vertical-bar; vertical-bar = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:96 vertical-bar = (doom-darken base1 #1c1f24 0.1) = (doom-blend #1c1f24 #000000 0.9) = #191b20 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten) #191b20, adjusted
- .border = .{ 0x4a, 0x4d, 0x55 },
+ .rule = .{ 0x4a, 0x4d, 0x55 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:23 lazy-highlight &dark :background (doom-darken highlight #51afef 0.3) = (doom-blend #51afef #000000 0.7) = #387aa7 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-331); isearch inherits lazy-highlight (~/05-genizah/doomemacs-themes/doom-themes-base.el:820)
- .search_bg = .{ 0x38, 0x7a, 0xa7 },
- // ~/05-genizah/doomemacs-themes/doom-themes-base.el:23 lazy-highlight &dark :foreground base8 (isearch :inherit lazy-highlight, ~/05-genizah/doomemacs-themes/doom-themes-base.el:820); base8 = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:77 base8 (GUI/default column #dfdfdf)
- .search_fg = .{ 0xdf, 0xdf, 0xdf },
+ .hit = .{ 0x38, 0x7a, 0xa7 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:30 error face :foreground error; error = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:111 error = red -> #ff6c6b
- .diagnostic_error = .{ 0xff, 0x6c, 0x6b },
+ .@"error" = .{ 0xff, 0x6c, 0x6b },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:31 warning face :foreground warning; warning = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:112 warning = yellow -> #ecbe7b
- .diagnostic_warning = .{ 0xec, 0xbe, 0x7b },
+ .warning = .{ 0xec, 0xbe, 0x7b },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:32 success face :foreground success; success = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:113 success = green -> #98be65
- .diagnostic_info = .{ 0x98, 0xbe, 0x65 },
- .palette = .{
+ .info = .{ 0x98, 0xbe, 0x65 },
+ .ansi = .{
.{ 0x28, 0x2c, 0x34 }, // 0: ~/05-genizah/doomemacs-themes/doom-themes-base.el:198 ansi-color-black :foreground bg; bg = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:56 bg (GUI/default column #282c34)
.{ 0xff, 0x6c, 0x6b }, // 1: ~/05-genizah/doomemacs-themes/doom-themes-base.el:199 ansi-color-red :foreground red; red = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:80 red (GUI/default column #ff6c6b)
.{ 0x98, 0xbe, 0x65 }, // 2: ~/05-genizah/doomemacs-themes/doom-themes-base.el:200 ansi-color-green :foreground green; green = ~/05-genizah/doomemacs-themes/themes/doom-one-theme.el:82 green (GUI/default column #98be65)
diff --git a/core/themes/doom_one_light.zig b/core/themes/doom_one_light.zig
index c95b5c17..b70a9272 100644
--- a/core/themes/doom_one_light.zig
+++ b/core/themes/doom_one_light.zig
@@ -31,61 +31,63 @@
//! because ansi-color-black/white map to bg/fg; tabline_fg = fg-alt #c6c7c7 is
//! very low-contrast on bg-alt; the variable is named modeline-bg-alt-inactive
//! in this theme.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #4078f2 -> #3167df: 2.42:1 on the focused tag, now 3.04:1 (R6: 3:1)
+//! - unsaved grip #b751b6 -> #ab45aa: 3.30:1 on the tag, now 3.86:1 (R6: 3:1 on both tags)
+//! - search hit #c2d3f7 -> #f4c783: 1.44:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #e45649 -> #ce4136: 3.51:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - info #50a14f -> #318332: 3.07:1 on the page, now 4.55:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "doom_one_light",
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:13 default :background bg; bg = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:47 bg (GUI/default column #fafafa)
- .bg = .{ 0xfa, 0xfa, 0xfa },
+ .page = .{ 0xfa, 0xfa, 0xfa },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:13 default :foreground fg; fg = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:48 fg (GUI/default column #383a42)
- .fg = .{ 0x38, 0x3a, 0x42 },
+ .text = .{ 0x38, 0x3a, 0x42 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:15 region :background region; region = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:101 region = (doom-darken (car bg-alt) #f0f0f0 0.1) = (doom-blend #f0f0f0 #000000 0.9) = #d8d8d8 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten)
- .sel_bg = .{ 0xd8, 0xd8, 0xd8 },
+ .selection = .{ 0xd8, 0xd8, 0xd8 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x38, 0x3a, 0x42 },
+ .selection_text = .{ 0x38, 0x3a, 0x42 },
// ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:138 mode-line-inactive :background modeline-bg-inactive; modeline-bg-inactive = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:121 modeline-bg-inactive = (doom-darken bg #fafafa 0.1) = (doom-blend #fafafa #000000 0.9) = #e1e1e1 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten)
- .tag_bg = .{ 0xe1, 0xe1, 0xe1 },
+ .tag = .{ 0xe1, 0xe1, 0xe1 },
// ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:138 mode-line-inactive :foreground modeline-fg-alt; modeline-fg-alt = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:112 modeline-fg-alt = (doom-blend violet #b751b6 base4 #9ca0a4 0.2) (doom-one-light-brighter-modeline nil) = #a190a7 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten) #a190a7, adjusted
- .tag_fg = .{ 0x6a, 0x5f, 0x6e },
+ .tag_text = .{ 0x6a, 0x5f, 0x6e },
// ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:135 mode-line :background modeline-bg; modeline-bg = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:115 modeline-bg = base1 (doom-one-light-brighter-modeline nil) -> #e7e7e7 #e7e7e7, adjusted
- .tag_active_bg = .{ 0xc8, 0xc8, 0xc9 },
+ .tag_focus = .{ 0xc8, 0xc8, 0xc9 },
// ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:135 mode-line :foreground modeline-fg; modeline-fg = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:111 modeline-fg = fg -> #383a42
- .tag_active_fg = .{ 0x38, 0x3a, 0x42 },
+ .tag_focus_text = .{ 0x38, 0x3a, 0x42 },
// the focused grip: ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:152 doom-modeline-bar :background highlight (the modeline accent bar; also cursor/link/minibuffer-prompt, ~/05-genizah/doomemacs-themes/doom-themes-base.el:17); highlight = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:86 highlight = blue -> #4078f2
- .box = .{ 0x40, 0x78, 0xf2 },
- // derived: the grip at rest, the accent #4078f2 faded toward the unfocused tag #e1e1e1 as far as 1.6:1 off it (0.46 of the way)
- .box_dim = .{ 0x97, 0xb1, 0xe9 },
+ .accent = .{ 0x40, 0x78, 0xf2 },
// an unsaved grip: the original's modified colour, ~/05-genizah/doomemacs-themes/doom-themes-base.el:412 diff-changed :foreground violet (doom-modeline-buffer-modified not defined in doom-themes); violet = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:79 violet (GUI/default column #b751b6)
- .box_dirty = .{ 0xb7, 0x51, 0xb6 },
+ .dirty = .{ 0xb7, 0x51, 0xb6 },
// derived: the column grip, the original's type colour, ~/05-genizah/doomemacs-themes/doom-themes-base.el:57 font-lock-type-face :foreground type; type = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:97 type = yellow -> #986801
- .column_box = .{ 0x98, 0x68, 0x01 },
+ .column_grip = .{ 0x98, 0x68, 0x01 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:44 font-lock-keyword-face :foreground keywords; keywords = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:94 keywords = red -> #e45649
- .kw = .{ 0xe4, 0x56, 0x49 },
+ .keyword = .{ 0xe4, 0x56, 0x49 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:56 font-lock-string-face :foreground strings; strings = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:98 strings = green -> #50a14f
- .str = .{ 0x50, 0xa1, 0x4f },
+ .string = .{ 0x50, 0xa1, 0x4f },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:769 highlight-numbers-number :foreground numbers; numbers = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:100 numbers = orange -> #da8548
- .num = .{ 0xda, 0x85, 0x48 },
+ .number = .{ 0xda, 0x85, 0x48 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:37 font-lock-comment-face :foreground comments; comments = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:90 comments = base4 (doom-one-light-brighter-comments nil) -> #9ca0a4
.comment = .{ 0x9c, 0xa0, 0xa4 },
// ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:132 line-number &override :foreground (doom-lighten base4 #9ca0a4 0.15) = (doom-blend #9ca0a4 #FFFFFF 0.85) = #aaaeb1 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343)
- .lineno = .{ 0xaa, 0xae, 0xb1 },
+ .line_number = .{ 0xaa, 0xae, 0xb1 },
// ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:133 line-number-current-line &override :foreground base8; base8 = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:68 base8 (GUI/default column #1b2229)
- .lineno_active = .{ 0x1b, 0x22, 0x29 },
+ .line_number_current = .{ 0x1b, 0x22, 0x29 },
// derived: none in the original; the page
- .scroll_track = .{ 0xfa, 0xfa, 0xfa },
+ .rail = .{ 0xfa, 0xfa, 0xfa },
// derived: none in the original; line numbers, ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:132 line-number &override :foreground (doom-lighten base4 #9ca0a4 0.15) = (doom-blend #9ca0a4 #FFFFFF 0.85) = #aaaeb1 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343)
- .scroll_thumb = .{ 0xaa, 0xae, 0xb1 },
+ .rail_thumb = .{ 0xaa, 0xae, 0xb1 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:28 vertical-border :foreground vertical-bar; vertical-bar = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:87 vertical-bar = (doom-darken base2 #dfdfdf 0.1) = (doom-blend #dfdfdf #000000 0.9) = #c8c8c8 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-343 doom-blend/darken/lighten)
- .border = .{ 0xc8, 0xc8, 0xc8 },
+ .rule = .{ 0xc8, 0xc8, 0xc8 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:24 lazy-highlight &light :background (doom-blend bg #fafafa highlight #4078f2 0.7) = #c2d3f7 (computed per ~/05-genizah/doomemacs-themes/doom-themes.el:301-319); isearch inherits lazy-highlight (~/05-genizah/doomemacs-themes/doom-themes-base.el:820)
- .search_bg = .{ 0xc2, 0xd3, 0xf7 },
- // ~/05-genizah/doomemacs-themes/doom-themes-base.el:24 lazy-highlight &light :foreground base0 (isearch :inherit lazy-highlight, ~/05-genizah/doomemacs-themes/doom-themes-base.el:820); base0 = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:60 base0 (GUI/default column #f0f0f0)
- .search_fg = .{ 0xf0, 0xf0, 0xf0 },
+ .hit = .{ 0xc2, 0xd3, 0xf7 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:30 error face :foreground error; error = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:102 error = red -> #e45649
- .diagnostic_error = .{ 0xe4, 0x56, 0x49 },
+ .@"error" = .{ 0xe4, 0x56, 0x49 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:31 warning face :foreground warning; warning = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:103 warning = yellow -> #986801
- .diagnostic_warning = .{ 0x98, 0x68, 0x01 },
+ .warning = .{ 0x98, 0x68, 0x01 },
// ~/05-genizah/doomemacs-themes/doom-themes-base.el:32 success face :foreground success; success = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:104 success = green -> #50a14f
- .diagnostic_info = .{ 0x50, 0xa1, 0x4f },
- .palette = .{
+ .info = .{ 0x50, 0xa1, 0x4f },
+ .ansi = .{
.{ 0xfa, 0xfa, 0xfa }, // 0: ~/05-genizah/doomemacs-themes/doom-themes-base.el:198 ansi-color-black :foreground bg; bg = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:47 bg (GUI/default column #fafafa)
.{ 0xe4, 0x56, 0x49 }, // 1: ~/05-genizah/doomemacs-themes/doom-themes-base.el:199 ansi-color-red :foreground red; red = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:71 red (GUI/default column #e45649)
.{ 0x50, 0xa1, 0x4f }, // 2: ~/05-genizah/doomemacs-themes/doom-themes-base.el:200 ansi-color-green :foreground green; green = ~/05-genizah/doomemacs-themes/themes/doom-one-light-theme.el:73 green (GUI/default column #50a14f)
diff --git a/core/themes/dracula.zig b/core/themes/dracula.zig
index 16c6ba43..53bd74eb 100644
--- a/core/themes/dracula.zig
+++ b/core/themes/dracula.zig
@@ -8,57 +8,56 @@
//! Adjusted to meet pardes's floors (chrome only; text, syntax and ANSI are untouched):
//! - focused tag ground #282a36 -> #41434d: 1.11:1 off the unfocused #21222c, pardes needs 1.5:1 on a dark page
//! - unfocused tag text #6272a4 -> #7b89b3: 3.36:1 on #21222c, tag text needs 4.5:1 to be read and run
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #94527e -> #be78a6: 1.76:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - search hit #947151 -> #004c63: 3.21:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "dracula",
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:185 editor.background: *BG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:10)
- .bg = .{ 0x28, 0x2a, 0x36 },
+ .page = .{ 0x28, 0x2a, 0x36 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:184 editor.foreground: *FG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:11)
- .fg = .{ 0xf8, 0xf8, 0xf2 },
+ .text = .{ 0xf8, 0xf8, 0xf2 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:189 editor.selectionBackground: *SELECTION (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:12)
- .sel_bg = .{ 0x44, 0x47, 0x5a },
+ .selection = .{ 0x44, 0x47, 0x5a },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xf8, 0xf8, 0xf2 },
+ .selection_text = .{ 0xf8, 0xf8, 0xf2 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:178 tab.inactiveBackground: *BGDark (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:50)
- .tag_bg = .{ 0x21, 0x22, 0x2c },
+ .tag = .{ 0x21, 0x22, 0x2c },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:179 tab.inactiveForeground: *COMMENT (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:13) #6272a4, adjusted
- .tag_fg = .{ 0x7b, 0x89, 0xb3 },
+ .tag_text = .{ 0x7b, 0x89, 0xb3 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:172 tab.activeBackground: *BG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:10) #282a36, adjusted
- .tag_active_bg = .{ 0x41, 0x43, 0x4d },
+ .tag_focus = .{ 0x41, 0x43, 0x4d },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:173 tab.activeForeground: *FG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:11)
- .tag_active_fg = .{ 0xf8, 0xf8, 0xf2 },
+ .tag_focus_text = .{ 0xf8, 0xf8, 0xf2 },
// the focused grip: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:175 tab.activeBorderTop: !alpha [*PINK, 80] over BG
- .box = .{ 0x94, 0x52, 0x7e },
- // derived: the grip at rest, the accent #94527e faded toward the unfocused tag #21222c as far as 1.6:1 off it (0.50 of the way)
- .box_dim = .{ 0x5b, 0x3a, 0x55 },
+ .accent = .{ 0x94, 0x52, 0x7e },
// an unsaved grip: the original's warning colour, ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:250 editorWarning.foreground: *CYAN (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:14)
- .box_dirty = .{ 0x8b, 0xe9, 0xfd },
+ .dirty = .{ 0x8b, 0xe9, 0xfd },
// derived: the column grip, the original's function colour, ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:688 tokenColors "Function names" *GREEN
- .column_box = .{ 0x50, 0xfa, 0x7b },
+ .column_grip = .{ 0x50, 0xfa, 0x7b },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:725 tokenColors "Keywords" *PINK
- .kw = .{ 0xff, 0x79, 0xc6 },
+ .keyword = .{ 0xff, 0x79, 0xc6 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:978 tokenColors "Strings" *YELLOW
- .str = .{ 0xf1, 0xfa, 0x8c },
+ .string = .{ 0xf1, 0xfa, 0x8c },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:640 tokenColors "Constants" *PURPLE
- .num = .{ 0xbd, 0x93, 0xf9 },
+ .number = .{ 0xbd, 0x93, 0xf9 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:601 tokenColors "Comments" *COMMENT
.comment = .{ 0x62, 0x72, 0xa4 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:186 editorLineNumber.foreground: *COMMENT (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:13)
- .lineno = .{ 0x62, 0x72, 0xa4 },
+ .line_number = .{ 0x62, 0x72, 0xa4 },
// derived: none in the original; the page
- .scroll_track = .{ 0x28, 0x2a, 0x36 },
+ .rail = .{ 0x28, 0x2a, 0x36 },
// derived: none in the original; line numbers, ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:186 editorLineNumber.foreground: *COMMENT (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:13)
- .scroll_thumb = .{ 0x62, 0x72, 0xa4 },
+ .rail_thumb = .{ 0x62, 0x72, 0xa4 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:167 editorGroup.border: *PURPLE (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:18)
- .border = .{ 0xbd, 0x93, 0xf9 },
+ .rule = .{ 0xbd, 0x93, 0xf9 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:197 editor.findMatchBackground: !alpha [*ORANGE, 80] over BG
- .search_bg = .{ 0x94, 0x71, 0x51 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xf8, 0xf8, 0xf2 },
+ .hit = .{ 0x94, 0x71, 0x51 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:248 editorError.foreground: *RED (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:19)
- .diagnostic_error = .{ 0xff, 0x55, 0x55 },
+ .@"error" = .{ 0xff, 0x55, 0x55 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:250 editorWarning.foreground: *CYAN (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:14)
- .diagnostic_warning = .{ 0x8b, 0xe9, 0xfd },
- .palette = .{
+ .warning = .{ 0x8b, 0xe9, 0xfd },
+ .ansi = .{
.{ 0x21, 0x22, 0x2c }, // 0: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:67 terminal.ansiBlack: *COLOR0 (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:22)
.{ 0xff, 0x55, 0x55 }, // 1: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:68 terminal.ansiRed: *COLOR1 (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:23)
.{ 0x50, 0xfa, 0x7b }, // 2: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:69 terminal.ansiGreen: *COLOR2 (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:24)
diff --git a/core/themes/dracula_soft.zig b/core/themes/dracula_soft.zig
index 9a8d5788..74396635 100644
--- a/core/themes/dracula_soft.zig
+++ b/core/themes/dracula_soft.zig
@@ -8,57 +8,56 @@
//! Adjusted to meet pardes's floors (chrome only; text, syntax and ANSI are untouched):
//! - focused tag ground #282a36 -> #454751: 1.05:1 off the unfocused #272727, pardes needs 1.5:1 on a dark page
//! - unfocused tag text #7b7f8b -> #8b8e99: 3.74:1 on #272727, tag text needs 4.5:1 to be read and run
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #7d6976 -> #a28d9b: 1.83:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - search hit #947151 -> #004c63: 3.21:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "dracula_soft",
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:185 editor.background: *BG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:10)
- .bg = .{ 0x28, 0x2a, 0x36 },
+ .page = .{ 0x28, 0x2a, 0x36 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:184 editor.foreground: *FG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:11); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .fg = .{ 0xf6, 0xf6, 0xf4 },
+ .text = .{ 0xf6, 0xf6, 0xf4 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:189 editor.selectionBackground: *SELECTION (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:12)
- .sel_bg = .{ 0x44, 0x47, 0x5a },
+ .selection = .{ 0x44, 0x47, 0x5a },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xf6, 0xf6, 0xf4 },
+ .selection_text = .{ 0xf6, 0xf6, 0xf4 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:178 tab.inactiveBackground: *BGDark (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:50); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .tag_bg = .{ 0x27, 0x27, 0x27 },
+ .tag = .{ 0x27, 0x27, 0x27 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:179 tab.inactiveForeground: *COMMENT (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:13); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44) #7b7f8b, adjusted
- .tag_fg = .{ 0x8b, 0x8e, 0x99 },
+ .tag_text = .{ 0x8b, 0x8e, 0x99 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:172 tab.activeBackground: *BG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:10) #282a36, adjusted
- .tag_active_bg = .{ 0x45, 0x47, 0x51 },
+ .tag_focus = .{ 0x45, 0x47, 0x51 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:173 tab.activeForeground: *FG (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:11); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .tag_active_fg = .{ 0xf6, 0xf6, 0xf4 },
+ .tag_focus_text = .{ 0xf6, 0xf6, 0xf4 },
// the focused grip: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:175 tab.activeBorderTop: !alpha [*PINK, 80] over BG; Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .box = .{ 0x7d, 0x69, 0x76 },
- // derived: the grip at rest, the accent #7d6976 faded toward the unfocused tag #272727 as far as 1.6:1 off it (0.46 of the way)
- .box_dim = .{ 0x4f, 0x45, 0x4b },
+ .accent = .{ 0x7d, 0x69, 0x76 },
// an unsaved grip: the original's warning colour, ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:250 editorWarning.foreground: *CYAN (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:14); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .box_dirty = .{ 0x97, 0xe1, 0xf1 },
+ .dirty = .{ 0x97, 0xe1, 0xf1 },
// derived: the column grip, the original's function colour, ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:688 tokenColors "Function names" *GREEN; Soft: desaturate(20)
- .column_box = .{ 0x62, 0xe8, 0x84 },
+ .column_grip = .{ 0x62, 0xe8, 0x84 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:725 tokenColors "Keywords" *PINK; Soft: desaturate(20)
- .kw = .{ 0xf2, 0x86, 0xc4 },
+ .keyword = .{ 0xf2, 0x86, 0xc4 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:978 tokenColors "Strings" *YELLOW; Soft: desaturate(20)
- .str = .{ 0xe7, 0xee, 0x98 },
+ .string = .{ 0xe7, 0xee, 0x98 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:640 tokenColors "Constants" *PURPLE; Soft: desaturate(20)
- .num = .{ 0xbf, 0x9e, 0xee },
+ .number = .{ 0xbf, 0x9e, 0xee },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:601 tokenColors "Comments" *COMMENT; Soft: desaturate(20)
.comment = .{ 0x7b, 0x7f, 0x8b },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:186 editorLineNumber.foreground: *COMMENT (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:13); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .lineno = .{ 0x7b, 0x7f, 0x8b },
+ .line_number = .{ 0x7b, 0x7f, 0x8b },
// derived: none in the original; the page
- .scroll_track = .{ 0x28, 0x2a, 0x36 },
+ .rail = .{ 0x28, 0x2a, 0x36 },
// derived: none in the original; line numbers, ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:186 editorLineNumber.foreground: *COMMENT (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:13); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .scroll_thumb = .{ 0x7b, 0x7f, 0x8b },
+ .rail_thumb = .{ 0x7b, 0x7f, 0x8b },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:167 editorGroup.border: *PURPLE (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:18); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .border = .{ 0xbf, 0x9e, 0xee },
+ .rule = .{ 0xbf, 0x9e, 0xee },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:197 editor.findMatchBackground: !alpha [*ORANGE, 80] over BG
- .search_bg = .{ 0x94, 0x71, 0x51 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xf6, 0xf6, 0xf4 },
+ .hit = .{ 0x94, 0x71, 0x51 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:248 editorError.foreground: *RED (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:19); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .diagnostic_error = .{ 0xee, 0x66, 0x66 },
+ .@"error" = .{ 0xee, 0x66, 0x66 },
// ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:250 editorWarning.foreground: *CYAN (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:14); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
- .diagnostic_warning = .{ 0x97, 0xe1, 0xf1 },
- .palette = .{
+ .warning = .{ 0x97, 0xe1, 0xf1 },
+ .ansi = .{
.{ 0x27, 0x27, 0x27 }, // 0: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:67 terminal.ansiBlack: *COLOR0 (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:22); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
.{ 0xee, 0x66, 0x66 }, // 1: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:68 terminal.ansiRed: *COLOR1 (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:23); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
.{ 0x62, 0xe8, 0x84 }, // 2: ~/05-genizah/dracula-visual-studio-code/src/dracula.yml:69 terminal.ansiGreen: *COLOR2 (~/05-genizah/dracula-visual-studio-code/src/dracula.yml:24); Soft: desaturate(20) (~/05-genizah/dracula-visual-studio-code/scripts/generate.js:44)
diff --git a/core/themes/duckbones.zig b/core/themes/duckbones.zig
index c4f86997..dd2d92e7 100644
--- a/core/themes/duckbones.zig
+++ b/core/themes/duckbones.zig
@@ -15,63 +15,63 @@
//! (bold only), so it inherits Normal. TabLine links to StatusLine, TabLineFill
//! to StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral
//! (the theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #4f5570 -> #7e85a2: 1.51:1 on the focused tag, now 3.04:1 (R6: 3:1)
+//! - error #e03600 -> #e63c0d: 4.24:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #795ccc -> #8569da: 3.81:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "duckbones",
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:34 Normal guibg
- .bg = .{ 0x0e, 0x10, 0x1a },
+ .page = .{ 0x0e, 0x10, 0x1a },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:34 Normal guifg
- .fg = .{ 0xeb, 0xef, 0xc0 },
+ .text = .{ 0xeb, 0xef, 0xc0 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:212 Visual guibg
- .sel_bg = .{ 0x37, 0x38, 0x2d },
+ .selection = .{ 0x37, 0x38, 0x2d },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xeb, 0xef, 0xc0 },
+ .selection_text = .{ 0xeb, 0xef, 0xc0 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:199 StatusLineNC guibg
- .tag_bg = .{ 0x1a, 0x1d, 0x2b },
+ .tag = .{ 0x1a, 0x1d, 0x2b },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:199 StatusLineNC guifg
- .tag_fg = .{ 0xf0, 0xf5, 0xc4 },
+ .tag_text = .{ 0xf0, 0xf5, 0xc4 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:196 StatusLine guibg #232738, adjusted
- .tag_active_bg = .{ 0x35, 0x3b, 0x51 },
+ .tag_focus = .{ 0x35, 0x3b, 0x51 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:196 StatusLine guifg
- .tag_active_fg = .{ 0xeb, 0xef, 0xc0 },
+ .tag_focus_text = .{ 0xeb, 0xef, 0xc0 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/duckbones_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x4f, 0x55, 0x70 },
- // derived: the grip at rest, the accent #444a67 faded toward the unfocused tag #1a1d2b as far as 1.6:1 off it (0.76 of the way)
- .box_dim = .{ 0x3a, 0x3f, 0x59 },
+ .accent = .{ 0x4f, 0x55, 0x70 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/duckbones.vim:42 Changed guifg
- .box_dirty = .{ 0x00, 0xa3, 0xcb },
+ .dirty = .{ 0x00, 0xa3, 0xcb },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/duckbones.vim:208 Type guifg
- .column_box = .{ 0x89, 0x8f, 0xb1 },
+ .column_grip = .{ 0x89, 0x8f, 0xb1 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:193 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x79, 0x5c, 0xcc },
+ .keyword = .{ 0x79, 0x5c, 0xcc },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:202 String guifg
- .str = .{ 0xae, 0xb1, 0x8d },
+ .string = .{ 0xae, 0xb1, 0x8d },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:165 Number guifg
- .num = .{ 0xae, 0xb1, 0x8d },
+ .number = .{ 0xae, 0xb1, 0x8d },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:48 Comment guifg
.comment = .{ 0x5a, 0x5f, 0x7b },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:151 LineNr guifg
- .lineno = .{ 0x51, 0x58, 0x7a },
+ .line_number = .{ 0x51, 0x58, 0x7a },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:63 CursorLineNr guifg
- .lineno_active = .{ 0xeb, 0xef, 0xc0 },
+ .line_number_current = .{ 0xeb, 0xef, 0xc0 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:168 PmenuSbar guibg
- .scroll_track = .{ 0x4b, 0x51, 0x70 },
+ .rail = .{ 0x4b, 0x51, 0x70 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:170 PmenuThumb guibg
- .scroll_thumb = .{ 0x75, 0x7d, 0xa3 },
+ .rail_thumb = .{ 0x75, 0x7d, 0xa3 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:219 WinSeparator guifg
- .border = .{ 0x51, 0x58, 0x7a },
+ .rule = .{ 0x51, 0x58, 0x7a },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:174 Search guibg
- .search_bg = .{ 0x4d, 0x31, 0x91 },
- // ~/05-genizah/zenbones.nvim/colors/duckbones.vim:174 Search guifg
- .search_fg = .{ 0xeb, 0xef, 0xc0 },
+ .hit = .{ 0x4d, 0x31, 0x91 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:114 Error guifg via DiagnosticError->Error (link :115)
- .diagnostic_error = .{ 0xe0, 0x36, 0x00 },
+ .@"error" = .{ 0xe0, 0x36, 0x00 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
- .diagnostic_warning = .{ 0xe3, 0x95, 0x00 },
+ .warning = .{ 0xe3, 0x95, 0x00 },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:73 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x00, 0xa3, 0xcb },
+ .info = .{ 0x00, 0xa3, 0xcb },
// ~/05-genizah/zenbones.nvim/colors/duckbones.vim:68 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x79, 0x5c, 0xcc },
- .palette = .{
+ .hint = .{ 0x79, 0x5c, 0xcc },
+ .ansi = .{
.{ 0x0e, 0x10, 0x1a }, // 0: ~/05-genizah/zenbones.nvim/colors/duckbones.vim:18 g:terminal_color_0
.{ 0xe0, 0x36, 0x00 }, // 1: ~/05-genizah/zenbones.nvim/colors/duckbones.vim:19 g:terminal_color_1
.{ 0x5d, 0xcd, 0x97 }, // 2: ~/05-genizah/zenbones.nvim/colors/duckbones.vim:20 g:terminal_color_2
diff --git a/core/themes/dusk.zig b/core/themes/dusk.zig
index 06f90ab2..30db779f 100644
--- a/core/themes/dusk.zig
+++ b/core/themes/dusk.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "dusk",
- .bg = .{ 0x39, 0x32, 0x3b },
- .fg = .{ 0xc3, 0xb6, 0xc1 },
- .tag_bg = .{ 0x2c, 0x26, 0x30 },
- .tag_fg = .{ 0xc6, 0xb6, 0xc5 },
- .tag_name_fg = .{ 0x96, 0xc9, 0xb8 },
- .tag_active_name_fg = .{ 0xa1, 0xd5, 0xc4 },
- .tag_active_bg = .{ 0x3b, 0x2f, 0x3b },
- .tag_active_fg = .{ 0xd2, 0xc2, 0xd1 },
- .box = .{ 0xed, 0xb0, 0x92 },
- .box_dim = .{ 0x74, 0x54, 0x69 },
- .column_box = .{ 0xbd, 0xce, 0x8e },
- .column_box_dim = .{ 0x75, 0x7a, 0x5f },
- .kw = .{ 0xd0, 0xa7, 0xf2 },
- .str = .{ 0xbe, 0xd1, 0x8b },
- .num = .{ 0xf7, 0xb2, 0x83 },
+ .page = .{ 0x39, 0x32, 0x3b },
+ .text = .{ 0xc3, 0xb6, 0xc1 },
+ .tag = .{ 0x2c, 0x26, 0x30 },
+ .tag_text = .{ 0xc6, 0xb6, 0xc5 },
+ .tag_name = .{ 0x96, 0xc9, 0xb8 },
+ .tag_focus = .{ 0x3b, 0x2f, 0x3b },
+ .tag_focus_text = .{ 0xd2, 0xc2, 0xd1 },
+ .accent = .{ 0xed, 0xb0, 0x92 },
+ .column_grip = .{ 0xbd, 0xce, 0x8e },
+ .keyword = .{ 0xd0, 0xa7, 0xf2 },
+ .string = .{ 0xbe, 0xd1, 0x8b },
+ .number = .{ 0xf7, 0xb2, 0x83 },
.comment = .{ 0xff, 0xb8, 0x7b },
- .lineno = .{ 0x82, 0x71, 0x7e },
- .lineno_active = .{ 0x8a, 0x79, 0x86 },
- .scroll_track = .{ 0x3d, 0x35, 0x40 },
- .scroll_thumb = .{ 0x8e, 0x66, 0x7c },
- .border = .{ 0x6d, 0x58, 0x6b },
- .sel_bg = .{ 0x65, 0x40, 0x53 },
- .sel_fg = .{ 0xff, 0xf0, 0xeb },
- .search_bg = .{ 0x65, 0x4a, 0x27 },
- .search_fg = .{ 0xff, 0xe3, 0xa2 },
- .diagnostic_error = .{ 0xff, 0xa2, 0x9b },
- .diagnostic_warning = .{ 0xfc, 0xce, 0x7b },
- .diagnostic_info = .{ 0xa2, 0xcd, 0xe4 },
- .diagnostic_hint = .{ 0xc5, 0xd4, 0x9a },
- .palette = .{
+ .line_number = .{ 0x82, 0x71, 0x7e },
+ .line_number_current = .{ 0x8a, 0x79, 0x86 },
+ .rail = .{ 0x3d, 0x35, 0x40 },
+ .rail_thumb = .{ 0x8e, 0x66, 0x7c },
+ .rule = .{ 0x6d, 0x58, 0x6b },
+ .selection = .{ 0x65, 0x40, 0x53 },
+ .selection_text = .{ 0xff, 0xf0, 0xeb },
+ .hit = .{ 0x65, 0x4a, 0x27 },
+ .@"error" = .{ 0xff, 0xa2, 0x9b },
+ .warning = .{ 0xfc, 0xce, 0x7b },
+ .info = .{ 0xa2, 0xcd, 0xe4 },
+ .hint = .{ 0xc5, 0xd4, 0x9a },
+ .ansi = .{
.{ 0x39, 0x32, 0x3b },
.{ 0xf6, 0xaa, 0xa4 },
.{ 0xba, 0xc8, 0x94 },
diff --git a/core/themes/forestbones_dark.zig b/core/themes/forestbones_dark.zig
index 11825525..8b759f58 100644
--- a/core/themes/forestbones_dark.zig
+++ b/core/themes/forestbones_dark.zig
@@ -15,63 +15,62 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #6a7781 -> #9eacb7: 1.53:1 on the focused tag, now 3.03:1 (R6: 3:1)
+//! - search hit #9e5179 -> #614a2b: 2.35:1 off the page, now 1.52:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "forestbones_dark",
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:33 Normal guibg
- .bg = .{ 0x2c, 0x34, 0x3a },
+ .page = .{ 0x2c, 0x34, 0x3a },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:33 Normal guifg
- .fg = .{ 0xe7, 0xdc, 0xc4 },
+ .text = .{ 0xe7, 0xdc, 0xc4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:211 Visual guibg
- .sel_bg = .{ 0x61, 0x5b, 0x51 },
+ .selection = .{ 0x61, 0x5b, 0x51 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xe7, 0xdc, 0xc4 },
+ .selection_text = .{ 0xe7, 0xdc, 0xc4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:198 StatusLineNC guibg
- .tag_bg = .{ 0x35, 0x3f, 0x46 },
+ .tag = .{ 0x35, 0x3f, 0x46 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:198 StatusLineNC guifg
- .tag_fg = .{ 0xed, 0xe5, 0xd4 },
+ .tag_text = .{ 0xed, 0xe5, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:195 StatusLine guibg #3e4850, adjusted
- .tag_active_bg = .{ 0x50, 0x5a, 0x64 },
+ .tag_focus = .{ 0x50, 0x5a, 0x64 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:195 StatusLine guifg
- .tag_active_fg = .{ 0xe7, 0xdc, 0xc4 },
+ .tag_focus_text = .{ 0xe7, 0xdc, 0xc4 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/forestbones_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x6a, 0x77, 0x81 },
- // derived: the grip at rest, the accent #596873 faded toward the unfocused tag #353f46 as far as 1.6:1 off it (0.76 of the way)
- .box_dim = .{ 0x50, 0x5e, 0x68 },
+ .accent = .{ 0x6a, 0x77, 0x81 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/forestbones.vim:41 Changed guifg
- .box_dirty = .{ 0x7f, 0xbc, 0xb4 },
+ .dirty = .{ 0x7f, 0xbc, 0xb4 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/forestbones.vim:207 Type guifg
- .column_box = .{ 0x7f, 0xbc, 0xb4 },
+ .column_grip = .{ 0x7f, 0xbc, 0xb4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:192 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xa9, 0xc1, 0x81 },
+ .keyword = .{ 0xa9, 0xc1, 0x81 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:201 String guifg
- .str = .{ 0xad, 0xa2, 0x8b },
+ .string = .{ 0xad, 0xa2, 0x8b },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:164 Number guifg
- .num = .{ 0xad, 0xa2, 0x8b },
+ .number = .{ 0xad, 0xa2, 0x8b },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:47 Comment guifg
.comment = .{ 0x6e, 0x7b, 0x85 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:150 LineNr guifg
- .lineno = .{ 0x66, 0x77, 0x83 },
+ .line_number = .{ 0x66, 0x77, 0x83 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:62 CursorLineNr guifg
- .lineno_active = .{ 0xe7, 0xdc, 0xc4 },
+ .line_number_current = .{ 0xe7, 0xdc, 0xc4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:167 PmenuSbar guibg
- .scroll_track = .{ 0x60, 0x6f, 0x7b },
+ .rail = .{ 0x60, 0x6f, 0x7b },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:169 PmenuThumb guibg
- .scroll_thumb = .{ 0x82, 0x96, 0xa5 },
+ .rail_thumb = .{ 0x82, 0x96, 0xa5 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:218 WinSeparator guifg
- .border = .{ 0x66, 0x77, 0x83 },
+ .rule = .{ 0x66, 0x77, 0x83 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:173 Search guibg
- .search_bg = .{ 0x9e, 0x51, 0x79 },
- // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:173 Search guifg
- .search_fg = .{ 0xe7, 0xdc, 0xc4 },
+ .hit = .{ 0x9e, 0x51, 0x79 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:113 Error guifg via DiagnosticError->Error (link :114)
- .diagnostic_error = .{ 0xe6, 0x7c, 0x7f },
+ .@"error" = .{ 0xe6, 0x7c, 0x7f },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:212 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :213)
- .diagnostic_warning = .{ 0xdd, 0xbd, 0x7f },
+ .warning = .{ 0xdd, 0xbd, 0x7f },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:72 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x7f, 0xbc, 0xb4 },
+ .info = .{ 0x7f, 0xbc, 0xb4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:67 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xd6, 0x9a, 0xb7 },
- .palette = .{
+ .hint = .{ 0xd6, 0x9a, 0xb7 },
+ .ansi = .{
.{ 0x2c, 0x34, 0x3a }, // 0: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:17 g:terminal_color_0
.{ 0xe6, 0x7c, 0x7f }, // 1: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:18 g:terminal_color_1
.{ 0xa9, 0xc1, 0x81 }, // 2: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:19 g:terminal_color_2
diff --git a/core/themes/forestbones_light.zig b/core/themes/forestbones_light.zig
index e227d6a9..7d6132df 100644
--- a/core/themes/forestbones_light.zig
+++ b/core/themes/forestbones_light.zig
@@ -17,63 +17,68 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #b1a26f -> #7e703e: 1.56:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - unsaved grip #3a94c4 -> #1378a7: 2.62:1 on the tag, now 3.81:1 (R6: 3:1 on both tags)
+//! - selection #d3dfe6 -> #d7dcd1: 1.23:1 off the page, now 1.26:1 (R7)
+//! - search hit #eebadb -> #f9c96b: 1.50:1 off the page, now 1.40:1 (R8: 1.5:1, the text reading on it)
+//! - error #f85550 -> #d22e30: 2.96:1 on the page, now 4.55:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #dea000 -> #926805: 2.08:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - info #3a94c4 -> #1277a6: 3.05:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #df69ba -> #b54293: 2.76:1 on the page, now 4.55:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "forestbones_light",
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:267 Normal guibg
- .bg = .{ 0xfa, 0xf3, 0xe1 },
+ .page = .{ 0xfa, 0xf3, 0xe1 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:267 Normal guifg
- .fg = .{ 0x4f, 0x5b, 0x62 },
+ .text = .{ 0x4f, 0x5b, 0x62 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:445 Visual guibg
- .sel_bg = .{ 0xd3, 0xdf, 0xe6 },
+ .selection = .{ 0xd3, 0xdf, 0xe6 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x4f, 0x5b, 0x62 },
+ .selection_text = .{ 0x4f, 0x5b, 0x62 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:432 StatusLineNC guibg
- .tag_bg = .{ 0xf3, 0xe2, 0xaa },
+ .tag = .{ 0xf3, 0xe2, 0xaa },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:432 StatusLineNC guifg #758690, adjusted
- .tag_fg = .{ 0x59, 0x66, 0x6d },
+ .tag_text = .{ 0x59, 0x66, 0x6d },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:429 StatusLine guibg #e3d191, adjusted
- .tag_active_bg = .{ 0xdd, 0xca, 0x87 },
+ .tag_focus = .{ 0xdd, 0xca, 0x87 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:429 StatusLine guifg #4f5b62, adjusted
- .tag_active_fg = .{ 0x4c, 0x57, 0x5e },
+ .tag_focus_text = .{ 0x4c, 0x57, 0x5e },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/forestbones_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0xb1, 0xa2, 0x6f },
- // derived: the grip at rest, the accent #c0b079 faded toward the unfocused tag #f3e2aa as far as 1.6:1 off it (0.94 of the way)
- .box_dim = .{ 0xc3, 0xb3, 0x7c },
+ .accent = .{ 0xb1, 0xa2, 0x6f },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/forestbones.vim:275 Changed guifg
- .box_dirty = .{ 0x3a, 0x94, 0xc4 },
+ .dirty = .{ 0x3a, 0x94, 0xc4 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/forestbones.vim:441 Type guifg
- .column_box = .{ 0x3a, 0x94, 0xc4 },
+ .column_grip = .{ 0x3a, 0x94, 0xc4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:426 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x8d, 0xa2, 0x00 },
+ .keyword = .{ 0x8d, 0xa2, 0x00 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:435 String guifg
- .str = .{ 0x73, 0x84, 0x8d },
+ .string = .{ 0x73, 0x84, 0x8d },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:398 Number guifg
- .num = .{ 0x73, 0x84, 0x8d },
+ .number = .{ 0x73, 0x84, 0x8d },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:281 Comment guifg
.comment = .{ 0x9a, 0x90, 0x71 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:384 LineNr guifg
- .lineno = .{ 0xa9, 0x9b, 0x6a },
+ .line_number = .{ 0xa9, 0x9b, 0x6a },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:296 CursorLineNr guifg
- .lineno_active = .{ 0x4f, 0x5b, 0x62 },
+ .line_number_current = .{ 0x4f, 0x5b, 0x62 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:401 PmenuSbar guibg
- .scroll_track = .{ 0xb7, 0xa8, 0x74 },
+ .rail = .{ 0xb7, 0xa8, 0x74 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:403 PmenuThumb guibg
- .scroll_thumb = .{ 0xfc, 0xf9, 0xf1 },
+ .rail_thumb = .{ 0xfc, 0xf9, 0xf1 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:452 WinSeparator guifg
- .border = .{ 0xa9, 0x9b, 0x6a },
+ .rule = .{ 0xa9, 0x9b, 0x6a },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:407 Search guibg
- .search_bg = .{ 0xee, 0xba, 0xdb },
- // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:407 Search guifg
- .search_fg = .{ 0x4f, 0x5b, 0x62 },
+ .hit = .{ 0xee, 0xba, 0xdb },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:347 Error guifg via DiagnosticError->Error (link :348)
- .diagnostic_error = .{ 0xf8, 0x55, 0x50 },
+ .@"error" = .{ 0xf8, 0x55, 0x50 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:446 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :447)
- .diagnostic_warning = .{ 0xde, 0xa0, 0x00 },
+ .warning = .{ 0xde, 0xa0, 0x00 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:306 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x3a, 0x94, 0xc4 },
+ .info = .{ 0x3a, 0x94, 0xc4 },
// ~/05-genizah/zenbones.nvim/colors/forestbones.vim:301 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xdf, 0x69, 0xba },
- .palette = .{
+ .hint = .{ 0xdf, 0x69, 0xba },
+ .ansi = .{
.{ 0xfa, 0xf3, 0xe1 }, // 0: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:251 g:terminal_color_0
.{ 0xf8, 0x55, 0x50 }, // 1: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:252 g:terminal_color_1
.{ 0x8d, 0xa2, 0x00 }, // 2: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:253 g:terminal_color_2
diff --git a/core/themes/forge.zig b/core/themes/forge.zig
index 0effa742..6a0dab5f 100644
--- a/core/themes/forge.zig
+++ b/core/themes/forge.zig
@@ -4,37 +4,33 @@
//! 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 },
+ .page = .{ 0x0c, 0x0c, 0x0e },
+ .text = .{ 0xe5, 0xe5, 0xe5 },
+ .tag = .{ 0x22, 0x25, 0x2b },
+ .tag_text = .{ 0xc5, 0xc9, 0xd2 },
+ .tag_name = .{ 0xec, 0xbf, 0x9b },
+ .tag_focus = .{ 0x2d, 0x34, 0x40 },
+ .tag_focus_text = .{ 0xd1, 0xd5, 0xde },
+ .accent = .{ 0x9c, 0xc3, 0xf7 },
+ .column_grip = .{ 0xb4, 0xd3, 0xa3 },
+ .keyword = .{ 0x61, 0xb7, 0xfc },
+ .string = .{ 0xdd, 0x8b, 0x69 },
+ .number = .{ 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 },
+ .line_number = .{ 0x62, 0x65, 0x6c },
+ .line_number_current = .{ 0x6a, 0x6d, 0x74 },
+ .rail = .{ 0x1a, 0x1c, 0x21 },
+ .rail_thumb = .{ 0x70, 0x80, 0x95 },
+ .rule = .{ 0x60, 0x6f, 0x86 },
+ .selection = .{ 0x1c, 0x51, 0x72 },
+ .selection_text = .{ 0xe2, 0xee, 0xf4 },
+ .hit = .{ 0x61, 0x4d, 0x1d },
+ .@"error" = .{ 0xff, 0x7f, 0x74 },
+ .warning = .{ 0xe4, 0xbf, 0x70 },
+ .info = .{ 0x75, 0xbe, 0xff },
+ .hint = .{ 0x81, 0xd8, 0xbe },
// ANSI roles are semantic colors, independent of peach string syntax.
- .palette = .{
+ .ansi = .{
.{ 0x0c, 0x0c, 0x0e },
.{ 0xf2, 0x8a, 0x81 },
.{ 0xb5, 0xce, 0xa8 },
diff --git a/core/themes/forge_black.zig b/core/themes/forge_black.zig
index f51e8594..74401c08 100644
--- a/core/themes/forge_black.zig
+++ b/core/themes/forge_black.zig
@@ -4,37 +4,33 @@
//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ.
pub const theme = .{
.name = "forge_black",
- .bg = .{ 0x00, 0x00, 0x00 },
- .fg = .{ 0xf6, 0xf6, 0xf6 },
- .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 },
+ .page = .{ 0x00, 0x00, 0x00 },
+ .text = .{ 0xf6, 0xf6, 0xf6 },
+ .tag = .{ 0x22, 0x25, 0x2b },
+ .tag_text = .{ 0xc5, 0xc9, 0xd2 },
+ .tag_name = .{ 0xec, 0xbf, 0x9b },
+ .tag_focus = .{ 0x2d, 0x34, 0x40 },
+ .tag_focus_text = .{ 0xd1, 0xd5, 0xde },
+ .accent = .{ 0x9c, 0xc3, 0xf7 },
+ .column_grip = .{ 0xb4, 0xd3, 0xa3 },
+ .keyword = .{ 0x61, 0xb7, 0xfc },
+ .string = .{ 0xdd, 0x8b, 0x69 },
+ .number = .{ 0xb3, 0xd5, 0xa1 },
.comment = .{ 0xb3, 0xca, 0xff },
- .lineno = .{ 0x62, 0x65, 0x6c },
- .lineno_active = .{ 0x6a, 0x6d, 0x74 },
- .scroll_track = .{ 0x14, 0x16, 0x1a },
- .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 },
+ .line_number = .{ 0x62, 0x65, 0x6c },
+ .line_number_current = .{ 0x6a, 0x6d, 0x74 },
+ .rail = .{ 0x14, 0x16, 0x1a },
+ .rail_thumb = .{ 0x70, 0x80, 0x95 },
+ .rule = .{ 0x60, 0x6f, 0x86 },
+ .selection = .{ 0x1c, 0x51, 0x72 },
+ .selection_text = .{ 0xe2, 0xee, 0xf4 },
+ .hit = .{ 0x61, 0x4d, 0x1d },
+ .@"error" = .{ 0xff, 0x7f, 0x74 },
+ .warning = .{ 0xe4, 0xbf, 0x70 },
+ .info = .{ 0x75, 0xbe, 0xff },
+ .hint = .{ 0x81, 0xd8, 0xbe },
// ANSI roles are semantic colors, independent of peach string syntax.
- .palette = .{
+ .ansi = .{
.{ 0x00, 0x00, 0x00 },
.{ 0xf2, 0x8a, 0x81 },
.{ 0xb5, 0xce, 0xa8 },
diff --git a/core/themes/forge_soft.zig b/core/themes/forge_soft.zig
index a0cf141b..3d9f8fe6 100644
--- a/core/themes/forge_soft.zig
+++ b/core/themes/forge_soft.zig
@@ -4,37 +4,33 @@
//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ.
pub const theme = .{
.name = "forge_soft",
- .bg = .{ 0x35, 0x38, 0x3e },
- .fg = .{ 0xbf, 0xc3, 0xcc },
- .tag_bg = .{ 0x2a, 0x2d, 0x34 },
- .tag_fg = .{ 0xc5, 0xc9, 0xd2 },
- .tag_name_fg = .{ 0xec, 0xbf, 0x9b },
- .tag_active_name_fg = .{ 0xf8, 0xcb, 0xa7 },
- .tag_active_bg = .{ 0x37, 0x3e, 0x49 },
- .tag_active_fg = .{ 0xd1, 0xd5, 0xde },
- .box = .{ 0x9c, 0xc3, 0xf7 },
- .box_dim = .{ 0x55, 0x64, 0x7b },
- .column_box = .{ 0xb4, 0xd3, 0xa3 },
- .column_box_dim = .{ 0x6d, 0x7f, 0x6c },
- .kw = .{ 0x61, 0xb7, 0xfc },
- .str = .{ 0xe7, 0xa0, 0x81 },
- .num = .{ 0xb3, 0xd5, 0xa1 },
+ .page = .{ 0x35, 0x38, 0x3e },
+ .text = .{ 0xbf, 0xc3, 0xcc },
+ .tag = .{ 0x2a, 0x2d, 0x34 },
+ .tag_text = .{ 0xc5, 0xc9, 0xd2 },
+ .tag_name = .{ 0xec, 0xbf, 0x9b },
+ .tag_focus = .{ 0x37, 0x3e, 0x49 },
+ .tag_focus_text = .{ 0xd1, 0xd5, 0xde },
+ .accent = .{ 0x9c, 0xc3, 0xf7 },
+ .column_grip = .{ 0xb4, 0xd3, 0xa3 },
+ .keyword = .{ 0x61, 0xb7, 0xfc },
+ .string = .{ 0xe7, 0xa0, 0x81 },
+ .number = .{ 0xb3, 0xd5, 0xa1 },
.comment = .{ 0xb3, 0xca, 0xff },
- .lineno = .{ 0x86, 0x89, 0x91 },
- .lineno_active = .{ 0x8e, 0x91, 0x99 },
- .scroll_track = .{ 0x3d, 0x40, 0x47 },
- .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 },
+ .line_number = .{ 0x86, 0x89, 0x91 },
+ .line_number_current = .{ 0x8e, 0x91, 0x99 },
+ .rail = .{ 0x3d, 0x40, 0x47 },
+ .rail_thumb = .{ 0x70, 0x80, 0x95 },
+ .rule = .{ 0x60, 0x6f, 0x86 },
+ .selection = .{ 0x1c, 0x51, 0x72 },
+ .selection_text = .{ 0xe2, 0xee, 0xf4 },
+ .hit = .{ 0x61, 0x4d, 0x1d },
+ .@"error" = .{ 0xff, 0x7f, 0x74 },
+ .warning = .{ 0xe4, 0xbf, 0x70 },
+ .info = .{ 0x75, 0xbe, 0xff },
+ .hint = .{ 0x81, 0xd8, 0xbe },
// ANSI roles are semantic colors, independent of peach string syntax.
- .palette = .{
+ .ansi = .{
.{ 0x35, 0x38, 0x3e },
.{ 0xf2, 0x8a, 0x81 },
.{ 0xb5, 0xce, 0xa8 },
diff --git a/core/themes/harvest.zig b/core/themes/harvest.zig
index b0ad57c7..a0a44656 100644
--- a/core/themes/harvest.zig
+++ b/core/themes/harvest.zig
@@ -4,36 +4,32 @@
//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ.
pub const theme = .{
.name = "harvest",
- .bg = .{ 0x10, 0x0e, 0x0b },
- .fg = .{ 0xf3, 0xf2, 0xcc },
- .tag_bg = .{ 0x34, 0x3b, 0x2e },
- .tag_fg = .{ 0xd5, 0xd8, 0xb8 },
- .tag_name_fg = .{ 0xba, 0xdb, 0xeb },
- .tag_active_name_fg = .{ 0xc5, 0xe7, 0xf7 },
- .tag_active_bg = .{ 0x42, 0x4d, 0x38 },
- .tag_active_fg = .{ 0xe1, 0xe4, 0xc4 },
- .box = .{ 0xd8, 0xbd, 0x83 },
- .box_dim = .{ 0x7b, 0x7e, 0x4e },
- .column_box = .{ 0xff, 0x74, 0x54 },
- .column_box_dim = .{ 0x9b, 0x58, 0x3f },
- .kw = .{ 0xff, 0x74, 0x54 },
- .str = .{ 0x9a, 0xcc, 0x62 },
- .num = .{ 0xff, 0xd8, 0x61 },
+ .page = .{ 0x10, 0x0e, 0x0b },
+ .text = .{ 0xf3, 0xf2, 0xcc },
+ .tag = .{ 0x34, 0x3b, 0x2e },
+ .tag_text = .{ 0xd5, 0xd8, 0xb8 },
+ .tag_name = .{ 0xba, 0xdb, 0xeb },
+ .tag_focus = .{ 0x42, 0x4d, 0x38 },
+ .tag_focus_text = .{ 0xe1, 0xe4, 0xc4 },
+ .accent = .{ 0xd8, 0xbd, 0x83 },
+ .column_grip = .{ 0xff, 0x74, 0x54 },
+ .keyword = .{ 0xff, 0x74, 0x54 },
+ .string = .{ 0x9a, 0xcc, 0x62 },
+ .number = .{ 0xff, 0xd8, 0x61 },
.comment = .{ 0xff, 0xca, 0x7c },
- .lineno = .{ 0x6a, 0x64, 0x56 },
- .lineno_active = .{ 0x72, 0x6c, 0x5e },
- .scroll_track = .{ 0x20, 0x1d, 0x17 },
- .scroll_thumb = .{ 0x88, 0x8e, 0x5e },
- .border = .{ 0x78, 0x88, 0x60 },
- .sel_bg = .{ 0x4f, 0x58, 0x34 },
- .sel_fg = .{ 0xf3, 0xf2, 0xcc },
- .search_bg = .{ 0x6f, 0x44, 0x24 },
- .search_fg = .{ 0xff, 0xe2, 0xac },
- .diagnostic_error = .{ 0xff, 0x84, 0x69 },
- .diagnostic_warning = .{ 0xff, 0xd8, 0x61 },
- .diagnostic_info = .{ 0x7d, 0xca, 0xbf },
- .diagnostic_hint = .{ 0xb9, 0xcf, 0x83 },
- .palette = .{
+ .line_number = .{ 0x6a, 0x64, 0x56 },
+ .line_number_current = .{ 0x72, 0x6c, 0x5e },
+ .rail = .{ 0x20, 0x1d, 0x17 },
+ .rail_thumb = .{ 0x88, 0x8e, 0x5e },
+ .rule = .{ 0x78, 0x88, 0x60 },
+ .selection = .{ 0x4f, 0x58, 0x34 },
+ .selection_text = .{ 0xf3, 0xf2, 0xcc },
+ .hit = .{ 0x6f, 0x44, 0x24 },
+ .@"error" = .{ 0xff, 0x84, 0x69 },
+ .warning = .{ 0xff, 0xd8, 0x61 },
+ .info = .{ 0x7d, 0xca, 0xbf },
+ .hint = .{ 0xb9, 0xcf, 0x83 },
+ .ansi = .{
.{ 0x10, 0x0e, 0x0b },
.{ 0xf5, 0x8a, 0x73 },
.{ 0x99, 0xbe, 0x70 },
diff --git a/core/themes/helix.zig b/core/themes/helix.zig
index 61dc8e63..9ee639df 100644
--- a/core/themes/helix.zig
+++ b/core/themes/helix.zig
@@ -37,24 +37,23 @@
//! turns a missing field here into a compile error naming it.
pub const theme = .{
.name = "helix",
- .bg = .{ 0x08, 0x08, 0x08 },
- .fg = .{ 0xbd, 0xbd, 0xbd },
- .sel_bg = .{ 0x80, 0xa0, 0xff },
- .sel_fg = .{ 0x08, 0x08, 0x08 },
- .tag_bg = .{ 0x12, 0x12, 0x12 },
- .tag_fg = .{ 0x94, 0x94, 0x94 },
+ .page = .{ 0x08, 0x08, 0x08 },
+ .text = .{ 0xbd, 0xbd, 0xbd },
+ .selection = .{ 0x80, 0xa0, 0xff },
+ .selection_text = .{ 0x08, 0x08, 0x08 },
+ .tag = .{ 0x12, 0x12, 0x12 },
+ .tag_text = .{ 0x94, 0x94, 0x94 },
// The focused tag, still on the ramp: 237 #3a3a3a under 250 #bdbdbd
// (the page's text), 1.65:1 off the plain bar.
- .tag_active_bg = .{ 0x3a, 0x3a, 0x3a },
- .tag_active_fg = .{ 0xbd, 0xbd, 0xbd },
- .box = .{ 0x62, 0x62, 0x62 },
- .box_dim = .{ 0x26, 0x26, 0x26 },
- .kw = .{ 0xd7, 0x76, 0xf9 },
- .str = .{ 0xf3, 0xcd, 0x7a },
- .num = .{ 0xf3, 0xcd, 0x7a },
+ .tag_focus = .{ 0x3a, 0x3a, 0x3a },
+ .tag_focus_text = .{ 0xbd, 0xbd, 0xbd },
+ .accent = .{ 0x62, 0x62, 0x62 },
+ .keyword = .{ 0xd7, 0x76, 0xf9 },
+ .string = .{ 0xf3, 0xcd, 0x7a },
+ .number = .{ 0xf3, 0xcd, 0x7a },
.comment = .{ 0xff, 0xff, 0xff },
- .lineno = .{ 0x62, 0x62, 0x62 },
- .scroll_track = .{ 0x12, 0x12, 0x12 },
- .scroll_thumb = .{ 0x44, 0x44, 0x44 },
- .palette = null,
+ .line_number = .{ 0x62, 0x62, 0x62 },
+ .rail = .{ 0x12, 0x12, 0x12 },
+ .rail_thumb = .{ 0x44, 0x44, 0x44 },
+ .ansi = null,
};
diff --git a/core/themes/ink.zig b/core/themes/ink.zig
index 4151df7a..ca718cce 100644
--- a/core/themes/ink.zig
+++ b/core/themes/ink.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "ink",
- .bg = .{ 0x00, 0x00, 0x00 },
- .fg = .{ 0xf3, 0xf7, 0xfc },
- .tag_bg = .{ 0x15, 0x21, 0x2c },
- .tag_fg = .{ 0xd5, 0xe4, 0xf1 },
- .tag_name_fg = .{ 0xf5, 0xe0, 0xac },
- .tag_active_name_fg = .{ 0xff, 0xea, 0xb8 },
- .tag_active_bg = .{ 0x22, 0x33, 0x42 },
- .tag_active_fg = .{ 0xe1, 0xee, 0xf9 },
- .box = .{ 0x86, 0xd8, 0xff },
- .box_dim = .{ 0x5f, 0x79, 0x90 },
- .column_box = .{ 0xff, 0xd6, 0x94 },
- .column_box_dim = .{ 0x8f, 0x7d, 0x5b },
- .kw = .{ 0xd5, 0xb8, 0xff },
- .str = .{ 0xac, 0xf9, 0xa3 },
- .num = .{ 0xff, 0xd6, 0x94 },
+ .page = .{ 0x00, 0x00, 0x00 },
+ .text = .{ 0xf3, 0xf7, 0xfc },
+ .tag = .{ 0x15, 0x21, 0x2c },
+ .tag_text = .{ 0xd5, 0xe4, 0xf1 },
+ .tag_name = .{ 0xf5, 0xe0, 0xac },
+ .tag_focus = .{ 0x22, 0x33, 0x42 },
+ .tag_focus_text = .{ 0xe1, 0xee, 0xf9 },
+ .accent = .{ 0x86, 0xd8, 0xff },
+ .column_grip = .{ 0xff, 0xd6, 0x94 },
+ .keyword = .{ 0xd5, 0xb8, 0xff },
+ .string = .{ 0xac, 0xf9, 0xa3 },
+ .number = .{ 0xff, 0xd6, 0x94 },
.comment = .{ 0x9d, 0xee, 0xff },
- .lineno = .{ 0x62, 0x6b, 0x75 },
- .lineno_active = .{ 0x6a, 0x73, 0x7d },
- .scroll_track = .{ 0x15, 0x21, 0x2c },
- .scroll_thumb = .{ 0x86, 0xa8, 0xc2 },
- .border = .{ 0x80, 0x95, 0xa9 },
- .sel_bg = .{ 0x1b, 0x54, 0x7c },
- .sel_fg = .{ 0xff, 0xff, 0xff },
- .search_bg = .{ 0x7c, 0x4e, 0x0d },
- .search_fg = .{ 0xff, 0xff, 0xff },
- .diagnostic_error = .{ 0xff, 0xb1, 0xb1 },
- .diagnostic_warning = .{ 0xff, 0xe2, 0x9c },
- .diagnostic_info = .{ 0x9b, 0xde, 0xff },
- .diagnostic_hint = .{ 0xc4, 0xeb, 0xae },
- .palette = .{
+ .line_number = .{ 0x62, 0x6b, 0x75 },
+ .line_number_current = .{ 0x6a, 0x73, 0x7d },
+ .rail = .{ 0x15, 0x21, 0x2c },
+ .rail_thumb = .{ 0x86, 0xa8, 0xc2 },
+ .rule = .{ 0x80, 0x95, 0xa9 },
+ .selection = .{ 0x1b, 0x54, 0x7c },
+ .selection_text = .{ 0xff, 0xff, 0xff },
+ .hit = .{ 0x7c, 0x4e, 0x0d },
+ .@"error" = .{ 0xff, 0xb1, 0xb1 },
+ .warning = .{ 0xff, 0xe2, 0x9c },
+ .info = .{ 0x9b, 0xde, 0xff },
+ .hint = .{ 0xc4, 0xeb, 0xae },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 },
.{ 0xff, 0xb1, 0xb1 },
.{ 0xb5, 0xee, 0xae },
diff --git a/core/themes/kanagawabones.zig b/core/themes/kanagawabones.zig
index 94e5aab0..345d6227 100644
--- a/core/themes/kanagawabones.zig
+++ b/core/themes/kanagawabones.zig
@@ -16,63 +16,61 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #606071 -> #9090a2: 1.54:1 on the focused tag, now 3.03:1 (R6: 3:1)
pub const theme = .{
.name = "kanagawabones",
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:34 Normal guibg
- .bg = .{ 0x1f, 0x1f, 0x28 },
+ .page = .{ 0x1f, 0x1f, 0x28 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:34 Normal guifg
- .fg = .{ 0xdd, 0xd8, 0xbb },
+ .text = .{ 0xdd, 0xd8, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:212 Visual guibg
- .sel_bg = .{ 0x49, 0x47, 0x3e },
+ .selection = .{ 0x49, 0x47, 0x3e },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xdd, 0xd8, 0xbb },
+ .selection_text = .{ 0xdd, 0xd8, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:199 StatusLineNC guibg
- .tag_bg = .{ 0x29, 0x29, 0x34 },
+ .tag = .{ 0x29, 0x29, 0x34 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:199 StatusLineNC guifg
- .tag_fg = .{ 0xe9, 0xe3, 0xc5 },
+ .tag_text = .{ 0xe9, 0xe3, 0xc5 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:196 StatusLine guibg #363644, adjusted
- .tag_active_bg = .{ 0x44, 0x44, 0x56 },
+ .tag_focus = .{ 0x44, 0x44, 0x56 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:196 StatusLine guifg
- .tag_active_fg = .{ 0xdd, 0xd8, 0xbb },
+ .tag_focus_text = .{ 0xdd, 0xd8, 0xbb },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/kanagawabones_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x60, 0x60, 0x71 },
- // derived: the grip at rest, the accent #565668 faded toward the unfocused tag #292934 as far as 1.6:1 off it (0.70 of the way)
- .box_dim = .{ 0x49, 0x49, 0x58 },
+ .accent = .{ 0x60, 0x60, 0x71 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:42 Changed guifg
- .box_dirty = .{ 0x7e, 0xb3, 0xc9 },
+ .dirty = .{ 0x7e, 0xb3, 0xc9 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:208 Type guifg
- .column_box = .{ 0x97, 0x97, 0xa5 },
+ .column_grip = .{ 0x97, 0x97, 0xa5 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:192 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xdd, 0xd8, 0xbb },
+ .keyword = .{ 0xdd, 0xd8, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:202 String guifg
- .str = .{ 0xa2, 0x9e, 0x89 },
+ .string = .{ 0xa2, 0x9e, 0x89 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:165 Number guifg
- .num = .{ 0xa2, 0x9e, 0x89 },
+ .number = .{ 0xa2, 0x9e, 0x89 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:48 Comment guifg
.comment = .{ 0x69, 0x69, 0x77 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:151 LineNr guifg
- .lineno = .{ 0x64, 0x64, 0x76 },
+ .line_number = .{ 0x64, 0x64, 0x76 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:63 CursorLineNr guifg
- .lineno_active = .{ 0xdd, 0xd8, 0xbb },
+ .line_number_current = .{ 0xdd, 0xd8, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:168 PmenuSbar guibg
- .scroll_track = .{ 0x5d, 0x5d, 0x6f },
+ .rail = .{ 0x5d, 0x5d, 0x6f },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:170 PmenuThumb guibg
- .scroll_thumb = .{ 0x85, 0x85, 0x94 },
+ .rail_thumb = .{ 0x85, 0x85, 0x94 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:219 WinSeparator guifg
- .border = .{ 0x64, 0x64, 0x76 },
+ .rule = .{ 0x64, 0x64, 0x76 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:173 Search guibg
- .search_bg = .{ 0x61, 0x4a, 0x82 },
- // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:173 Search guifg
- .search_fg = .{ 0xdd, 0xd8, 0xbb },
+ .hit = .{ 0x61, 0x4a, 0x82 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:114 Error guifg via DiagnosticError->Error (link :115)
- .diagnostic_error = .{ 0xe4, 0x6a, 0x78 },
+ .@"error" = .{ 0xe4, 0x6a, 0x78 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
- .diagnostic_warning = .{ 0xe5, 0xc2, 0x83 },
+ .warning = .{ 0xe5, 0xc2, 0x83 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:73 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x7e, 0xb3, 0xc9 },
+ .info = .{ 0x7e, 0xb3, 0xc9 },
// ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:68 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x95, 0x7f, 0xb8 },
- .palette = .{
+ .hint = .{ 0x95, 0x7f, 0xb8 },
+ .ansi = .{
.{ 0x1f, 0x1f, 0x28 }, // 0: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:18 g:terminal_color_0
.{ 0xe4, 0x6a, 0x78 }, // 1: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:19 g:terminal_color_1
.{ 0x98, 0xbc, 0x6d }, // 2: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:20 g:terminal_color_2
diff --git a/core/themes/lagoon.zig b/core/themes/lagoon.zig
index 66473c46..7679f4ea 100644
--- a/core/themes/lagoon.zig
+++ b/core/themes/lagoon.zig
@@ -4,36 +4,32 @@
//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ.
pub const theme = .{
.name = "lagoon",
- .bg = .{ 0x34, 0x46, 0x4c },
- .fg = .{ 0xba, 0xc9, 0xce },
- .tag_bg = .{ 0x29, 0x44, 0x3f },
- .tag_fg = .{ 0xbb, 0xd7, 0xcb },
- .tag_name_fg = .{ 0xe4, 0xc2, 0xec },
- .tag_active_name_fg = .{ 0xf0, 0xce, 0xf8 },
- .tag_active_bg = .{ 0x34, 0x57, 0x4d },
- .tag_active_fg = .{ 0xc7, 0xe3, 0xd7 },
- .box = .{ 0x81, 0xcf, 0xb7 },
- .box_dim = .{ 0x54, 0x83, 0x72 },
- .column_box = .{ 0xff, 0xad, 0x91 },
- .column_box_dim = .{ 0x9a, 0x76, 0x62 },
- .kw = .{ 0xd9, 0x9c, 0xf9 },
- .str = .{ 0xc6, 0xf8, 0x7d },
- .num = .{ 0xff, 0xad, 0x91 },
+ .page = .{ 0x34, 0x46, 0x4c },
+ .text = .{ 0xba, 0xc9, 0xce },
+ .tag = .{ 0x29, 0x44, 0x3f },
+ .tag_text = .{ 0xbb, 0xd7, 0xcb },
+ .tag_name = .{ 0xe4, 0xc2, 0xec },
+ .tag_focus = .{ 0x34, 0x57, 0x4d },
+ .tag_focus_text = .{ 0xc7, 0xe3, 0xd7 },
+ .accent = .{ 0x81, 0xcf, 0xb7 },
+ .column_grip = .{ 0xff, 0xad, 0x91 },
+ .keyword = .{ 0xd9, 0x9c, 0xf9 },
+ .string = .{ 0xc6, 0xf8, 0x7d },
+ .number = .{ 0xff, 0xad, 0x91 },
.comment = .{ 0x84, 0xef, 0xd9 },
- .lineno = .{ 0x7b, 0x91, 0x94 },
- .lineno_active = .{ 0x83, 0x99, 0x9c },
- .scroll_track = .{ 0x3a, 0x4c, 0x50 },
- .scroll_thumb = .{ 0x6e, 0x9b, 0x8b },
- .border = .{ 0x6e, 0x9b, 0x8c },
- .sel_bg = .{ 0x32, 0x5f, 0x6c },
- .sel_fg = .{ 0xe6, 0xf2, 0xf3 },
- .search_bg = .{ 0x69, 0x58, 0x1e },
- .search_fg = .{ 0xff, 0xf0, 0xb9 },
- .diagnostic_error = .{ 0xff, 0x9d, 0xa1 },
- .diagnostic_warning = .{ 0xff, 0xcb, 0x6b },
- .diagnostic_info = .{ 0x7d, 0xca, 0xff },
- .diagnostic_hint = .{ 0x7c, 0xea, 0xd4 },
- .palette = .{
+ .line_number = .{ 0x7b, 0x91, 0x94 },
+ .line_number_current = .{ 0x83, 0x99, 0x9c },
+ .rail = .{ 0x3a, 0x4c, 0x50 },
+ .rail_thumb = .{ 0x6e, 0x9b, 0x8b },
+ .rule = .{ 0x6e, 0x9b, 0x8c },
+ .selection = .{ 0x32, 0x5f, 0x6c },
+ .selection_text = .{ 0xe6, 0xf2, 0xf3 },
+ .hit = .{ 0x69, 0x58, 0x1e },
+ .@"error" = .{ 0xff, 0x9d, 0xa1 },
+ .warning = .{ 0xff, 0xcb, 0x6b },
+ .info = .{ 0x7d, 0xca, 0xff },
+ .hint = .{ 0x7c, 0xea, 0xd4 },
+ .ansi = .{
.{ 0x34, 0x46, 0x4c },
.{ 0xff, 0x9d, 0xa1 },
.{ 0xc3, 0xe8, 0x8d },
diff --git a/core/themes/lapis.zig b/core/themes/lapis.zig
index 95fc86bd..a4996d59 100644
--- a/core/themes/lapis.zig
+++ b/core/themes/lapis.zig
@@ -5,48 +5,44 @@
pub const theme = .{
.name = "lapis",
// --lapis-deep, --vellum
- .bg = .{ 0x0a, 0x10, 0x30 },
- .fg = .{ 0xee, 0xe6, 0xd2 },
+ .page = .{ 0x0a, 0x10, 0x30 },
+ .text = .{ 0xee, 0xe6, 0xd2 },
// A gold highlight in lapis ink, as the directory's current entry.
- .sel_bg = .{ 0xe8, 0xc4, 0x6a },
- .sel_fg = .{ 0x0f, 0x1a, 0x4a },
+ .selection = .{ 0xe8, 0xc4, 0x6a },
+ .selection_text = .{ 0x0f, 0x1a, 0x4a },
// --lapis, --vellum-dim
- .tag_bg = .{ 0x0f, 0x1a, 0x4a },
- .tag_fg = .{ 0x9a, 0xa6, 0xd9 },
- .tag_name_fg = .{ 0xe8, 0xc4, 0x6a },
- .tag_active_name_fg = .{ 0xf2, 0xd2, 0x80 },
+ .tag = .{ 0x0f, 0x1a, 0x4a },
+ .tag_text = .{ 0x9a, 0xa6, 0xd9 },
+ .tag_name = .{ 0xe8, 0xc4, 0x6a },
// The plaques' hover lapis, taken a step further: 1.5:1 off the tag.
- .tag_active_bg = .{ 0x25, 0x39, 0x7d },
- .tag_active_fg = .{ 0xee, 0xe6, 0xd2 },
- .box = .{ 0xe8, 0xc4, 0x6a },
- .box_dim = .{ 0x3a, 0x4a, 0x8a },
- .box_border = .{ 0x9a, 0xa6, 0xd9 },
- .box_dirty = .{ 0xff, 0x6a, 0x4a },
- .column_box = .{ 0xff, 0x6a, 0x4a },
- .column_box_dim = .{ 0x8a, 0x3a, 0x3a },
+ .tag_focus = .{ 0x25, 0x39, 0x7d },
+ .tag_focus_text = .{ 0xee, 0xe6, 0xd2 },
+ .accent = .{ 0xe8, 0xc4, 0x6a },
+ .grip_ring = .{ 0x9a, 0xa6, 0xd9 },
+ .dirty = .{ 0xff, 0x6a, 0x4a },
+ .column_grip = .{ 0xff, 0x6a, 0x4a },
// Rubrics: vermilion keywords, gilded strings, the code window's green
// for numbers, vellum-dim comments.
- .kw = .{ 0xff, 0x6a, 0x4a },
- .str = .{ 0xe8, 0xc4, 0x6a },
- .num = .{ 0xe7, 0xff, 0xe0 },
+ .keyword = .{ 0xff, 0x6a, 0x4a },
+ .string = .{ 0xe8, 0xc4, 0x6a },
+ .number = .{ 0xe7, 0xff, 0xe0 },
.comment = .{ 0x9a, 0xa6, 0xd9 },
- .lineno = .{ 0x5a, 0x6a, 0xa8 },
- .lineno_active = .{ 0x6a, 0x7a, 0xb8 },
+ .line_number = .{ 0x5a, 0x6a, 0xa8 },
+ .line_number_current = .{ 0x6a, 0x7a, 0xb8 },
// --lapis-ink under a gold thumb (the page's scrollbar-color).
- .scroll_track = .{ 0x05, 0x0a, 0x24 },
- .scroll_thumb = .{ 0xe8, 0xc4, 0x6a },
+ .rail = .{ 0x05, 0x0a, 0x24 },
+ .rail_thumb = .{ 0xe8, 0xc4, 0x6a },
// Gold rules, a vermilion hairline between a tag and its text.
- .border = .{ 0xe8, 0xc4, 0x6a },
+ .rule = .{ 0xe8, 0xc4, 0x6a },
// An empty column is the page, not a slab of gold leaf.
- .empty_col = .{ 0x0a, 0x10, 0x30 },
+ .empty_column = .{ 0x0a, 0x10, 0x30 },
.tag_rule = .{ 0xd4, 0x41, 0x2f },
- .search_bg = .{ 0x6a, 0x2a, 0x1c },
- .search_fg = .{ 0xff, 0xd0, 0xb0 },
- .diagnostic_error = .{ 0xff, 0x6a, 0x4a },
- .diagnostic_warning = .{ 0xe8, 0xc4, 0x6a },
- .diagnostic_info = .{ 0x9a, 0xc6, 0xff },
- .diagnostic_hint = .{ 0xa8, 0xe0, 0xc0 },
- .palette = .{
+ .hit = .{ 0x6a, 0x2a, 0x1c },
+ .@"error" = .{ 0xff, 0x6a, 0x4a },
+ .warning = .{ 0xe8, 0xc4, 0x6a },
+ .info = .{ 0x9a, 0xc6, 0xff },
+ .hint = .{ 0xa8, 0xe0, 0xc0 },
+ .ansi = .{
.{ 0x0a, 0x10, 0x30 },
.{ 0xff, 0x6a, 0x4a },
.{ 0xa8, 0xe0, 0xc0 },
diff --git a/core/themes/monokai.zig b/core/themes/monokai.zig
index 13e72336..db43b764 100644
--- a/core/themes/monokai.zig
+++ b/core/themes/monokai.zig
@@ -7,63 +7,64 @@
//! Adjusted to meet pardes's floors (chrome only; text, syntax and ANSI are untouched):
//! - focused tag ground #49483e -> #59584f: 1.19:1 off the unfocused #3e3d32, pardes needs 1.5:1 on a dark page
//! - rules between panes #3b3a32 -> #4a4941: 1.30:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #f92672 -> #ff809c: 1.89:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - search hit #ffe792 -> #5f3c0c: 12.10:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #f92672 -> #fe457d: 3.93:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #75715e -> #928e7a: 3.03:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "monokai",
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:13 background
- .bg = .{ 0x27, 0x28, 0x22 },
+ .page = .{ 0x27, 0x28, 0x22 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:17 foreground
- .fg = .{ 0xf8, 0xf8, 0xf2 },
+ .text = .{ 0xf8, 0xf8, 0xf2 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:23 selection
- .sel_bg = .{ 0x49, 0x48, 0x3e },
+ .selection = .{ 0x49, 0x48, 0x3e },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xf8, 0xf8, 0xf2 },
+ .selection_text = .{ 0xf8, 0xf8, 0xf2 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:21 lineHighlight — derived: no UI colours in a tmTheme; unfocused tag = lineHighlight
- .tag_bg = .{ 0x3e, 0x3d, 0x32 },
+ .tag = .{ 0x3e, 0x3d, 0x32 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:17 foreground — derived: foreground
- .tag_fg = .{ 0xf8, 0xf8, 0xf2 },
+ .tag_text = .{ 0xf8, 0xf8, 0xf2 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:23 selection — derived: focused tag = selection #49483e, adjusted
- .tag_active_bg = .{ 0x59, 0x58, 0x4f },
+ .tag_focus = .{ 0x59, 0x58, 0x4f },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:17 foreground — derived: foreground
- .tag_active_fg = .{ 0xf8, 0xf8, 0xf2 },
+ .tag_focus_text = .{ 0xf8, 0xf8, 0xf2 },
// the focused grip: ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:122 "Keyword" foreground — derived: Keyword pink
- .box = .{ 0xf9, 0x26, 0x72 },
- // derived: the grip at rest, the accent #f92672 faded toward the unfocused tag #3e3d32 as far as 1.6:1 off it (0.54 of the way)
- .box_dim = .{ 0xa3, 0x31, 0x55 },
+ .accent = .{ 0xf9, 0x26, 0x72 },
// an unsaved grip: the original's modified colour, ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:66 "String" foreground — derived: diff.changed #E6DB74
- .box_dirty = .{ 0xe6, 0xdb, 0x74 },
+ .dirty = .{ 0xe6, 0xdb, 0x74 },
// derived: the column grip, the original's type colour, ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:148 "Storage type" foreground
- .column_box = .{ 0x66, 0xd9, 0xef },
+ .column_grip = .{ 0x66, 0xd9, 0xef },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:122 "Keyword" foreground
- .kw = .{ 0xf9, 0x26, 0x72 },
+ .keyword = .{ 0xf9, 0x26, 0x72 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:66 "String" foreground
- .str = .{ 0xe6, 0xdb, 0x74 },
+ .string = .{ 0xe6, 0xdb, 0x74 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:77 "Number" foreground
- .num = .{ 0xae, 0x81, 0xff },
+ .number = .{ 0xae, 0x81, 0xff },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:55 "Comment" foreground
.comment = .{ 0x75, 0x71, 0x5e },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:55 "Comment" foreground — derived: the tmTheme has no gutter colour; Comment
- .lineno = .{ 0x75, 0x71, 0x5e },
+ .line_number = .{ 0x75, 0x71, 0x5e },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:17 foreground — derived: foreground
- .lineno_active = .{ 0xf8, 0xf8, 0xf2 },
+ .line_number_current = .{ 0xf8, 0xf8, 0xf2 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:13 background — derived: page
- .scroll_track = .{ 0x27, 0x28, 0x22 },
+ .rail = .{ 0x27, 0x28, 0x22 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:23 selection — derived: selection
- .scroll_thumb = .{ 0x49, 0x48, 0x3e },
+ .rail_thumb = .{ 0x49, 0x48, 0x3e },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:19 invisibles — derived: invisibles #3b3a32, adjusted
- .border = .{ 0x4a, 0x49, 0x41 },
+ .rule = .{ 0x4a, 0x49, 0x41 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:25 findHighlight
- .search_bg = .{ 0xff, 0xe7, 0x92 },
- // ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:27 findHighlightForeground
- .search_fg = .{ 0x00, 0x00, 0x00 },
+ .hit = .{ 0xff, 0xe7, 0x92 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:122 "Keyword" foreground — derived: Invalid is drawn on #F92672, the Keyword colour
- .diagnostic_error = .{ 0xf9, 0x26, 0x72 },
+ .@"error" = .{ 0xf9, 0x26, 0x72 },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:200 "Function argument" foreground — derived: Function argument orange
- .diagnostic_warning = .{ 0xfd, 0x97, 0x1f },
+ .warning = .{ 0xfd, 0x97, 0x1f },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:148 "Storage type" foreground — derived: Storage type cyan
- .diagnostic_info = .{ 0x66, 0xd9, 0xef },
+ .info = .{ 0x66, 0xd9, 0xef },
// ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:55 "Comment" foreground — derived: Comment
- .diagnostic_hint = .{ 0x75, 0x71, 0x5e },
- .palette = .{
+ .hint = .{ 0x75, 0x71, 0x5e },
+ .ansi = .{
.{ 0x27, 0x28, 0x22 }, // 0: ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:13 background — derived: ANSI 0: a tmTheme has no terminal colours; its own palette in ANSI order (black=page, red=Keyword, green=Function name, yellow=String, blue and cyan=Storage type, magenta=Number, white=foreground, bright black=Comment, brights repeat)
.{ 0xf9, 0x26, 0x72 }, // 1: ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:122 "Keyword" foreground — derived: ANSI 1: a tmTheme has no terminal colours; its own palette in ANSI order (black=page, red=Keyword, green=Function name, yellow=String, blue and cyan=Storage type, magenta=Number, white=foreground, bright black=Comment, brights repeat)
.{ 0xa6, 0xe2, 0x2e }, // 2: ~/05-genizah/sublime-text-2-color-schemes/Monokai.tmTheme:187 "Function name" foreground — derived: ANSI 2: a tmTheme has no terminal colours; its own palette in ANSI order (black=page, red=Keyword, green=Function name, yellow=String, blue and cyan=Storage type, magenta=Number, white=foreground, bright black=Comment, brights repeat)
diff --git a/core/themes/monokai_pro.zig b/core/themes/monokai_pro.zig
index 46a5d58b..34510e01 100644
--- a/core/themes/monokai_pro.zig
+++ b/core/themes/monokai_pro.zig
@@ -8,63 +8,63 @@
//! - focused tag ground #2d2a2e -> #4f4637: 1.00:1 off the unfocused #2d2a2e, pardes needs 1.5:1 on a dark page
//! - rules between panes #221f22 -> #4e4b4d: 1.15:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #434044 -> #4a484b: 1.39:1 on its track #2d2a2e
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #2d2a2e -> #343135: 1.00:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #4f4637 -> #4f4c50: 1.38:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - selection #434044 -> #464048: 1.39:1 off the page, now 1.41:1 (R7)
pub const theme = .{
.name = "monokai_pro",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editor.background"
- .bg = .{ 0x2d, 0x2a, 0x2e },
+ .page = .{ 0x2d, 0x2a, 0x2e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editor.foreground"
- .fg = .{ 0xfc, 0xfc, 0xfa },
+ .text = .{ 0xfc, 0xfc, 0xfa },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editor.selectionBackground" #c1c0c026 over #2d2a2e
- .sel_bg = .{ 0x43, 0x40, 0x44 },
+ .selection = .{ 0x43, 0x40, 0x44 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xfc, 0xfc, 0xfa },
+ .selection_text = .{ 0xfc, 0xfc, 0xfa },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0x2d, 0x2a, 0x2e },
+ .tag = .{ 0x2d, 0x2a, 0x2e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."tab.inactiveForeground"
- .tag_fg = .{ 0x93, 0x92, 0x93 },
+ .tag_text = .{ 0x93, 0x92, 0x93 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."tab.activeBackground" #2d2a2e, adjusted
- .tag_active_bg = .{ 0x4f, 0x46, 0x37 },
+ .tag_focus = .{ 0x4f, 0x46, 0x37 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."tab.activeForeground"
- .tag_active_fg = .{ 0xff, 0xd8, 0x66 },
+ .tag_focus_text = .{ 0xff, 0xd8, 0x66 },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."tab.activeBorder"
- .box = .{ 0xff, 0xd8, 0x66 },
- // derived: the grip at rest, the accent #ffd866 faded toward the unfocused tag #2d2a2e as far as 1.6:1 off it (0.20 of the way)
- .box_dim = .{ 0x57, 0x4d, 0x39 },
+ .accent = .{ 0xff, 0xd8, 0x66 },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xfc, 0x98, 0x67 },
+ .dirty = .{ 0xfc, 0x98, 0x67 },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x78, 0xdc, 0xe8 },
+ .column_grip = .{ 0x78, 0xdc, 0xe8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 tokenColors[57] "keyword"
- .kw = .{ 0xff, 0x61, 0x88 },
+ .keyword = .{ 0xff, 0x61, 0x88 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 tokenColors[132] "string"
- .str = .{ 0xff, 0xd8, 0x66 },
+ .string = .{ 0xff, 0xd8, 0x66 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0xab, 0x9d, 0xf2 },
+ .number = .{ 0xab, 0x9d, 0xf2 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 tokenColors[0] "comment"
.comment = .{ 0x72, 0x70, 0x72 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0x5b, 0x59, 0x5c },
+ .line_number = .{ 0x5b, 0x59, 0x5c },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0xc1, 0xc0, 0xc0 },
+ .line_number_current = .{ 0xc1, 0xc0, 0xc0 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0x2d, 0x2a, 0x2e },
+ .rail = .{ 0x2d, 0x2a, 0x2e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."scrollbarSlider.background" #c1c0c026 over #2d2a2e #434044, adjusted
- .scroll_thumb = .{ 0x4a, 0x48, 0x4b },
+ .rail_thumb = .{ 0x4a, 0x48, 0x4b },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorGroup.border" #221f22, adjusted
- .border = .{ 0x4e, 0x4b, 0x4d },
+ .rule = .{ 0x4e, 0x4b, 0x4d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editor.findMatchBackground" #fcfcfa26 over #2d2a2e
- .search_bg = .{ 0x4c, 0x49, 0x4c },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xfc, 0xfc, 0xfa },
+ .hit = .{ 0x4c, 0x49, 0x4c },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xff, 0x61, 0x88 },
+ .@"error" = .{ 0xff, 0x61, 0x88 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xfc, 0x98, 0x67 },
+ .warning = .{ 0xfc, 0x98, 0x67 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x78, 0xdc, 0xe8 },
+ .info = .{ 0x78, 0xdc, 0xe8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0xab, 0x9d, 0xf2 },
- .palette = .{
+ .hint = .{ 0xab, 0x9d, 0xf2 },
+ .ansi = .{
.{ 0x40, 0x3e, 0x41 }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."terminal.ansiBlack"
.{ 0xff, 0x61, 0x88 }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."terminal.ansiRed"
.{ 0xa9, 0xdc, 0x76 }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro.json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_classic.zig b/core/themes/monokai_pro_classic.zig
index 69f26327..ed1f8092 100644
--- a/core/themes/monokai_pro_classic.zig
+++ b/core/themes/monokai_pro_classic.zig
@@ -8,63 +8,63 @@
//! - focused tag ground #272822 -> #46452f: 1.00:1 off the unfocused #272822, pardes needs 1.5:1 on a dark page
//! - rules between panes #1d1e19 -> #4a4b44: 1.13:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #3e3f38 -> #46473f: 1.40:1 on its track #272822
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #272822 -> #2e2f29: 1.00:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #46452f -> #494a43: 1.38:1 off the tag, now 1.51:1 (R4, H: a focus step off the tag, and the loudest)
+//! - error #f92672 -> #fe457d: 3.93:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "monokai_pro_classic",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editor.background"
- .bg = .{ 0x27, 0x28, 0x22 },
+ .page = .{ 0x27, 0x28, 0x22 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editor.foreground"
- .fg = .{ 0xfd, 0xff, 0xf1 },
+ .text = .{ 0xfd, 0xff, 0xf1 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editor.selectionBackground" #c0c1b526 over #272822
- .sel_bg = .{ 0x3e, 0x3f, 0x38 },
+ .selection = .{ 0x3e, 0x3f, 0x38 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xfd, 0xff, 0xf1 },
+ .selection_text = .{ 0xfd, 0xff, 0xf1 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0x27, 0x28, 0x22 },
+ .tag = .{ 0x27, 0x28, 0x22 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."tab.inactiveForeground"
- .tag_fg = .{ 0x91, 0x92, 0x88 },
+ .tag_text = .{ 0x91, 0x92, 0x88 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."tab.activeBackground" #272822, adjusted
- .tag_active_bg = .{ 0x46, 0x45, 0x2f },
+ .tag_focus = .{ 0x46, 0x45, 0x2f },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."tab.activeForeground"
- .tag_active_fg = .{ 0xe6, 0xdb, 0x74 },
+ .tag_focus_text = .{ 0xe6, 0xdb, 0x74 },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."tab.activeBorder"
- .box = .{ 0xe6, 0xdb, 0x74 },
- // derived: the grip at rest, the accent #e6db74 faded toward the unfocused tag #272822 as far as 1.6:1 off it (0.20 of the way)
- .box_dim = .{ 0x4d, 0x4c, 0x32 },
+ .accent = .{ 0xe6, 0xdb, 0x74 },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xfd, 0x97, 0x1f },
+ .dirty = .{ 0xfd, 0x97, 0x1f },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x66, 0xd9, 0xef },
+ .column_grip = .{ 0x66, 0xd9, 0xef },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 tokenColors[57] "keyword"
- .kw = .{ 0xf9, 0x26, 0x72 },
+ .keyword = .{ 0xf9, 0x26, 0x72 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 tokenColors[132] "string"
- .str = .{ 0xe6, 0xdb, 0x74 },
+ .string = .{ 0xe6, 0xdb, 0x74 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0xae, 0x81, 0xff },
+ .number = .{ 0xae, 0x81, 0xff },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 tokenColors[0] "comment"
.comment = .{ 0x6e, 0x70, 0x66 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0x57, 0x58, 0x4f },
+ .line_number = .{ 0x57, 0x58, 0x4f },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0xc0, 0xc1, 0xb5 },
+ .line_number_current = .{ 0xc0, 0xc1, 0xb5 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0x27, 0x28, 0x22 },
+ .rail = .{ 0x27, 0x28, 0x22 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."scrollbarSlider.background" #c0c1b526 over #272822 #3e3f38, adjusted
- .scroll_thumb = .{ 0x46, 0x47, 0x3f },
+ .rail_thumb = .{ 0x46, 0x47, 0x3f },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorGroup.border" #1d1e19, adjusted
- .border = .{ 0x4a, 0x4b, 0x44 },
+ .rule = .{ 0x4a, 0x4b, 0x44 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editor.findMatchBackground" #fdfff126 over #272822
- .search_bg = .{ 0x47, 0x48, 0x41 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xfd, 0xff, 0xf1 },
+ .hit = .{ 0x47, 0x48, 0x41 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xf9, 0x26, 0x72 },
+ .@"error" = .{ 0xf9, 0x26, 0x72 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xfd, 0x97, 0x1f },
+ .warning = .{ 0xfd, 0x97, 0x1f },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x66, 0xd9, 0xef },
+ .info = .{ 0x66, 0xd9, 0xef },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0xae, 0x81, 0xff },
- .palette = .{
+ .hint = .{ 0xae, 0x81, 0xff },
+ .ansi = .{
.{ 0x3b, 0x3c, 0x35 }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."terminal.ansiBlack"
.{ 0xf9, 0x26, 0x72 }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."terminal.ansiRed"
.{ 0xa6, 0xe2, 0x2e }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Classic.json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_light.zig b/core/themes/monokai_pro_light.zig
index ef638731..2e75d5c2 100644
--- a/core/themes/monokai_pro_light.zig
+++ b/core/themes/monokai_pro_light.zig
@@ -10,63 +10,69 @@
//! - focused tag text #e14775 -> #a73557: 2.80:1 on #f5d1d9, tag text needs 4.5:1
//! - rules between panes #ede7e5 -> #c6c0c0: 1.12:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #e5e0de -> #cec9c8: 1.20:1 on its track #faf4f2
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #faf4f2 -> #efe9e7: 1.00:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #f5d1d9 -> #d7d1cf: 1.16:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #e14775 -> #d43a6a: 2.60:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - unsaved grip #e16032 -> #cc4c1b: 2.95:1 on the tag, now 3.79:1 (R6: 3:1 on both tags)
+//! - selection #e5e0de -> #e5dad6: 1.20:1 off the page, now 1.26:1 (R7)
+//! - search hit #dbd5d4 -> #febaa3: 1.33:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #e14775 -> #cd3365: 3.60:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #e16032 -> #c54611: 3.26:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - info #1c8ca8 -> #077b95: 3.59:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "monokai_pro_light",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editor.background"
- .bg = .{ 0xfa, 0xf4, 0xf2 },
+ .page = .{ 0xfa, 0xf4, 0xf2 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editor.foreground"
- .fg = .{ 0x29, 0x24, 0x2a },
+ .text = .{ 0x29, 0x24, 0x2a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editor.selectionBackground" #706b6e26 over #faf4f2
- .sel_bg = .{ 0xe5, 0xe0, 0xde },
+ .selection = .{ 0xe5, 0xe0, 0xde },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x29, 0x24, 0x2a },
+ .selection_text = .{ 0x29, 0x24, 0x2a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0xfa, 0xf4, 0xf2 },
+ .tag = .{ 0xfa, 0xf4, 0xf2 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."tab.inactiveForeground" #918c8e, adjusted
- .tag_fg = .{ 0x71, 0x6d, 0x6f },
+ .tag_text = .{ 0x71, 0x6d, 0x6f },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."tab.activeBackground" #faf4f2, adjusted
- .tag_active_bg = .{ 0xf5, 0xd1, 0xd9 },
+ .tag_focus = .{ 0xf5, 0xd1, 0xd9 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."tab.activeForeground" #e14775, adjusted
- .tag_active_fg = .{ 0xa7, 0x35, 0x57 },
+ .tag_focus_text = .{ 0xa7, 0x35, 0x57 },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."tab.activeBorder"
- .box = .{ 0xe1, 0x47, 0x75 },
- // derived: the grip at rest, the accent #e14775 faded toward the unfocused tag #faf4f2 as far as 1.6:1 off it (0.38 of the way)
- .box_dim = .{ 0xf1, 0xb2, 0xc3 },
+ .accent = .{ 0xe1, 0x47, 0x75 },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xe1, 0x60, 0x32 },
+ .dirty = .{ 0xe1, 0x60, 0x32 },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x1c, 0x8c, 0xa8 },
+ .column_grip = .{ 0x1c, 0x8c, 0xa8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 tokenColors[57] "keyword"
- .kw = .{ 0xe1, 0x47, 0x75 },
+ .keyword = .{ 0xe1, 0x47, 0x75 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 tokenColors[132] "string"
- .str = .{ 0xcc, 0x7a, 0x0a },
+ .string = .{ 0xcc, 0x7a, 0x0a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0x70, 0x58, 0xbe },
+ .number = .{ 0x70, 0x58, 0xbe },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 tokenColors[0] "comment"
.comment = .{ 0xa5, 0x9f, 0xa0 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0xbf, 0xb9, 0xba },
+ .line_number = .{ 0xbf, 0xb9, 0xba },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0x70, 0x6b, 0x6e },
+ .line_number_current = .{ 0x70, 0x6b, 0x6e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0xfa, 0xf4, 0xf2 },
+ .rail = .{ 0xfa, 0xf4, 0xf2 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."scrollbarSlider.background" #706b6e26 over #faf4f2 #e5e0de, adjusted
- .scroll_thumb = .{ 0xce, 0xc9, 0xc8 },
+ .rail_thumb = .{ 0xce, 0xc9, 0xc8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorGroup.border" #ede7e5, adjusted
- .border = .{ 0xc6, 0xc0, 0xc0 },
+ .rule = .{ 0xc6, 0xc0, 0xc0 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editor.findMatchBackground" #29242a26 over #faf4f2
- .search_bg = .{ 0xdb, 0xd5, 0xd4 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0x29, 0x24, 0x2a },
+ .hit = .{ 0xdb, 0xd5, 0xd4 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xe1, 0x47, 0x75 },
+ .@"error" = .{ 0xe1, 0x47, 0x75 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xe1, 0x60, 0x32 },
+ .warning = .{ 0xe1, 0x60, 0x32 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x1c, 0x8c, 0xa8 },
+ .info = .{ 0x1c, 0x8c, 0xa8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0x70, 0x58, 0xbe },
- .palette = .{
+ .hint = .{ 0x70, 0x58, 0xbe },
+ .ansi = .{
.{ 0xd3, 0xcd, 0xcc }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."terminal.ansiBlack"
.{ 0xe1, 0x47, 0x75 }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."terminal.ansiRed"
.{ 0x26, 0x9d, 0x69 }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light.json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_light_sun.zig b/core/themes/monokai_pro_light_sun.zig
index 2d023deb..f74ee446 100644
--- a/core/themes/monokai_pro_light_sun.zig
+++ b/core/themes/monokai_pro_light_sun.zig
@@ -10,63 +10,69 @@
//! - focused tag text #ce4770 -> #9d3655: 3.01:1 on #f0cdcf, tag text needs 4.5:1
//! - rules between panes #eee5de -> #c7bebb: 1.09:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #e4dbd5 -> #cac1be: 1.20:1 on its track #f8efe7
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #f8efe7 -> #ede4dc: 1.00:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #f0cdcf -> #d5ccc4: 1.17:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #ce4770 -> #c7416b: 2.79:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - unsaved grip #d4572b -> #c64a1b: 3.22:1 on the tag, now 3.81:1 (R6: 3:1 on both tags)
+//! - selection #e4dbd5 -> #e7d5c7: 1.20:1 off the page, now 1.25:1 (R7)
+//! - search hit #dad1cb -> #feb599: 1.32:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #ce4770 -> #c13b65: 3.89:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #d4572b -> #c04414: 3.56:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - info #2473b6 -> #2271b4: 4.40:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "monokai_pro_light_sun",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editor.background"
- .bg = .{ 0xf8, 0xef, 0xe7 },
+ .page = .{ 0xf8, 0xef, 0xe7 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editor.foreground"
- .fg = .{ 0x2c, 0x23, 0x2e },
+ .text = .{ 0x2c, 0x23, 0x2e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editor.selectionBackground" #72696d26 over #f8efe7
- .sel_bg = .{ 0xe4, 0xdb, 0xd5 },
+ .selection = .{ 0xe4, 0xdb, 0xd5 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x2c, 0x23, 0x2e },
+ .selection_text = .{ 0x2c, 0x23, 0x2e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0xf8, 0xef, 0xe7 },
+ .tag = .{ 0xf8, 0xef, 0xe7 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."tab.inactiveForeground" #92898a, adjusted
- .tag_fg = .{ 0x72, 0x6b, 0x6c },
+ .tag_text = .{ 0x72, 0x6b, 0x6c },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."tab.activeBackground" #f8efe7, adjusted
- .tag_active_bg = .{ 0xf0, 0xcd, 0xcf },
+ .tag_focus = .{ 0xf0, 0xcd, 0xcf },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."tab.activeForeground" #ce4770, adjusted
- .tag_active_fg = .{ 0x9d, 0x36, 0x55 },
+ .tag_focus_text = .{ 0x9d, 0x36, 0x55 },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."tab.activeBorder"
- .box = .{ 0xce, 0x47, 0x70 },
- // derived: the grip at rest, the accent #ce4770 faded toward the unfocused tag #f8efe7 as far as 1.6:1 off it (0.38 of the way)
- .box_dim = .{ 0xe8, 0xaf, 0xba },
+ .accent = .{ 0xce, 0x47, 0x70 },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xd4, 0x57, 0x2b },
+ .dirty = .{ 0xd4, 0x57, 0x2b },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x24, 0x73, 0xb6 },
+ .column_grip = .{ 0x24, 0x73, 0xb6 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 tokenColors[57] "keyword"
- .kw = .{ 0xce, 0x47, 0x70 },
+ .keyword = .{ 0xce, 0x47, 0x70 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 tokenColors[132] "string"
- .str = .{ 0xb1, 0x68, 0x03 },
+ .string = .{ 0xb1, 0x68, 0x03 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0x68, 0x51, 0xa2 },
+ .number = .{ 0x68, 0x51, 0xa2 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 tokenColors[0] "comment"
.comment = .{ 0xa5, 0x9c, 0x9c },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0xbe, 0xb5, 0xb3 },
+ .line_number = .{ 0xbe, 0xb5, 0xb3 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0x72, 0x69, 0x6d },
+ .line_number_current = .{ 0x72, 0x69, 0x6d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0xf8, 0xef, 0xe7 },
+ .rail = .{ 0xf8, 0xef, 0xe7 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."scrollbarSlider.background" #72696d26 over #f8efe7 #e4dbd5, adjusted
- .scroll_thumb = .{ 0xca, 0xc1, 0xbe },
+ .rail_thumb = .{ 0xca, 0xc1, 0xbe },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorGroup.border" #eee5de, adjusted
- .border = .{ 0xc7, 0xbe, 0xbb },
+ .rule = .{ 0xc7, 0xbe, 0xbb },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editor.findMatchBackground" #2c232e26 over #f8efe7
- .search_bg = .{ 0xda, 0xd1, 0xcb },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0x2c, 0x23, 0x2e },
+ .hit = .{ 0xda, 0xd1, 0xcb },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xce, 0x47, 0x70 },
+ .@"error" = .{ 0xce, 0x47, 0x70 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xd4, 0x57, 0x2b },
+ .warning = .{ 0xd4, 0x57, 0x2b },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x24, 0x73, 0xb6 },
+ .info = .{ 0x24, 0x73, 0xb6 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0x68, 0x51, 0xa2 },
- .palette = .{
+ .hint = .{ 0x68, 0x51, 0xa2 },
+ .ansi = .{
.{ 0xd2, 0xc9, 0xc4 }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."terminal.ansiBlack"
.{ 0xce, 0x47, 0x70 }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."terminal.ansiRed"
.{ 0x21, 0x88, 0x71 }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro Light (Filter Sun).json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_machine.zig b/core/themes/monokai_pro_machine.zig
index 5e4c6885..60f3f26f 100644
--- a/core/themes/monokai_pro_machine.zig
+++ b/core/themes/monokai_pro_machine.zig
@@ -9,63 +9,63 @@
//! - unfocused tag text #8b9798 -> #8d999a: 4.42:1 on #273136, tag text needs 4.5:1 to be read and run
//! - rules between panes #1d2528 -> #485152: 1.17:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #3d474b -> #444e52: 1.39:1 on its track #273136
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #273136 -> #2e383d: 1.00:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #4a4f40 -> #485358: 1.42:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - selection #3d474b -> #334952: 1.39:1 off the page, now 1.40:1 (R7)
pub const theme = .{
.name = "monokai_pro_machine",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editor.background"
- .bg = .{ 0x27, 0x31, 0x36 },
+ .page = .{ 0x27, 0x31, 0x36 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editor.foreground"
- .fg = .{ 0xf2, 0xff, 0xfc },
+ .text = .{ 0xf2, 0xff, 0xfc },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editor.selectionBackground" #b8c4c326 over #273136
- .sel_bg = .{ 0x3d, 0x47, 0x4b },
+ .selection = .{ 0x3d, 0x47, 0x4b },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xf2, 0xff, 0xfc },
+ .selection_text = .{ 0xf2, 0xff, 0xfc },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0x27, 0x31, 0x36 },
+ .tag = .{ 0x27, 0x31, 0x36 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."tab.inactiveForeground" #8b9798, adjusted
- .tag_fg = .{ 0x8d, 0x99, 0x9a },
+ .tag_text = .{ 0x8d, 0x99, 0x9a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."tab.activeBackground" #273136, adjusted
- .tag_active_bg = .{ 0x4a, 0x4f, 0x40 },
+ .tag_focus = .{ 0x4a, 0x4f, 0x40 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."tab.activeForeground"
- .tag_active_fg = .{ 0xff, 0xed, 0x72 },
+ .tag_focus_text = .{ 0xff, 0xed, 0x72 },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."tab.activeBorder"
- .box = .{ 0xff, 0xed, 0x72 },
- // derived: the grip at rest, the accent #ffed72 faded toward the unfocused tag #273136 as far as 1.6:1 off it (0.18 of the way)
- .box_dim = .{ 0x4e, 0x53, 0x41 },
+ .accent = .{ 0xff, 0xed, 0x72 },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xff, 0xb2, 0x70 },
+ .dirty = .{ 0xff, 0xb2, 0x70 },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x7c, 0xd5, 0xf1 },
+ .column_grip = .{ 0x7c, 0xd5, 0xf1 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 tokenColors[57] "keyword"
- .kw = .{ 0xff, 0x6d, 0x7e },
+ .keyword = .{ 0xff, 0x6d, 0x7e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 tokenColors[132] "string"
- .str = .{ 0xff, 0xed, 0x72 },
+ .string = .{ 0xff, 0xed, 0x72 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0xba, 0xa0, 0xf8 },
+ .number = .{ 0xba, 0xa0, 0xf8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 tokenColors[0] "comment"
.comment = .{ 0x6b, 0x76, 0x78 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0x54, 0x5f, 0x62 },
+ .line_number = .{ 0x54, 0x5f, 0x62 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0xb8, 0xc4, 0xc3 },
+ .line_number_current = .{ 0xb8, 0xc4, 0xc3 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0x27, 0x31, 0x36 },
+ .rail = .{ 0x27, 0x31, 0x36 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."scrollbarSlider.background" #b8c4c326 over #273136 #3d474b, adjusted
- .scroll_thumb = .{ 0x44, 0x4e, 0x52 },
+ .rail_thumb = .{ 0x44, 0x4e, 0x52 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorGroup.border" #1d2528, adjusted
- .border = .{ 0x48, 0x51, 0x52 },
+ .rule = .{ 0x48, 0x51, 0x52 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editor.findMatchBackground" #f2fffc26 over #273136
- .search_bg = .{ 0x45, 0x50, 0x54 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xf2, 0xff, 0xfc },
+ .hit = .{ 0x45, 0x50, 0x54 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xff, 0x6d, 0x7e },
+ .@"error" = .{ 0xff, 0x6d, 0x7e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xff, 0xb2, 0x70 },
+ .warning = .{ 0xff, 0xb2, 0x70 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x7c, 0xd5, 0xf1 },
+ .info = .{ 0x7c, 0xd5, 0xf1 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0xba, 0xa0, 0xf8 },
- .palette = .{
+ .hint = .{ 0xba, 0xa0, 0xf8 },
+ .ansi = .{
.{ 0x3a, 0x44, 0x49 }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."terminal.ansiBlack"
.{ 0xff, 0x6d, 0x7e }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."terminal.ansiRed"
.{ 0xa2, 0xe5, 0x7b }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Machine).json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_octagon.zig b/core/themes/monokai_pro_octagon.zig
index 62bb8c15..5d9db83b 100644
--- a/core/themes/monokai_pro_octagon.zig
+++ b/core/themes/monokai_pro_octagon.zig
@@ -9,63 +9,63 @@
//! - unfocused tag text #888d94 -> #8d9298: 4.24:1 on #282a3a, tag text needs 4.5:1 to be read and run
//! - rules between panes #1e1f2b -> #4b4d57: 1.15:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #3d3f4e -> #444655: 1.36:1 on its track #282a3a
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #282a3a -> #2e3141: 1.00:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #4a4642 -> #494c5d: 1.38:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - selection #3d3f4e -> #3c4060: 1.36:1 off the page, now 1.41:1 (R7)
pub const theme = .{
.name = "monokai_pro_octagon",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editor.background"
- .bg = .{ 0x28, 0x2a, 0x3a },
+ .page = .{ 0x28, 0x2a, 0x3a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editor.foreground"
- .fg = .{ 0xea, 0xf2, 0xf1 },
+ .text = .{ 0xea, 0xf2, 0xf1 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editor.selectionBackground" #b2b9bd26 over #282a3a
- .sel_bg = .{ 0x3d, 0x3f, 0x4e },
+ .selection = .{ 0x3d, 0x3f, 0x4e },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xea, 0xf2, 0xf1 },
+ .selection_text = .{ 0xea, 0xf2, 0xf1 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0x28, 0x2a, 0x3a },
+ .tag = .{ 0x28, 0x2a, 0x3a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."tab.inactiveForeground" #888d94, adjusted
- .tag_fg = .{ 0x8d, 0x92, 0x98 },
+ .tag_text = .{ 0x8d, 0x92, 0x98 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."tab.activeBackground" #282a3a, adjusted
- .tag_active_bg = .{ 0x4a, 0x46, 0x42 },
+ .tag_focus = .{ 0x4a, 0x46, 0x42 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."tab.activeForeground"
- .tag_active_fg = .{ 0xff, 0xd7, 0x6d },
+ .tag_focus_text = .{ 0xff, 0xd7, 0x6d },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."tab.activeBorder"
- .box = .{ 0xff, 0xd7, 0x6d },
- // derived: the grip at rest, the accent #ffd76d faded toward the unfocused tag #282a3a as far as 1.6:1 off it (0.20 of the way)
- .box_dim = .{ 0x53, 0x4d, 0x44 },
+ .accent = .{ 0xff, 0xd7, 0x6d },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xff, 0x9b, 0x5e },
+ .dirty = .{ 0xff, 0x9b, 0x5e },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x9c, 0xd1, 0xbb },
+ .column_grip = .{ 0x9c, 0xd1, 0xbb },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 tokenColors[57] "keyword"
- .kw = .{ 0xff, 0x65, 0x7a },
+ .keyword = .{ 0xff, 0x65, 0x7a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 tokenColors[132] "string"
- .str = .{ 0xff, 0xd7, 0x6d },
+ .string = .{ 0xff, 0xd7, 0x6d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0xc3, 0x9a, 0xc9 },
+ .number = .{ 0xc3, 0x9a, 0xc9 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 tokenColors[0] "comment"
.comment = .{ 0x69, 0x6d, 0x77 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0x53, 0x57, 0x63 },
+ .line_number = .{ 0x53, 0x57, 0x63 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0xb2, 0xb9, 0xbd },
+ .line_number_current = .{ 0xb2, 0xb9, 0xbd },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0x28, 0x2a, 0x3a },
+ .rail = .{ 0x28, 0x2a, 0x3a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."scrollbarSlider.background" #b2b9bd26 over #282a3a #3d3f4e, adjusted
- .scroll_thumb = .{ 0x44, 0x46, 0x55 },
+ .rail_thumb = .{ 0x44, 0x46, 0x55 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorGroup.border" #1e1f2b, adjusted
- .border = .{ 0x4b, 0x4d, 0x57 },
+ .rule = .{ 0x4b, 0x4d, 0x57 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editor.findMatchBackground" #eaf2f126 over #282a3a
- .search_bg = .{ 0x45, 0x48, 0x55 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xea, 0xf2, 0xf1 },
+ .hit = .{ 0x45, 0x48, 0x55 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xff, 0x65, 0x7a },
+ .@"error" = .{ 0xff, 0x65, 0x7a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xff, 0x9b, 0x5e },
+ .warning = .{ 0xff, 0x9b, 0x5e },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x9c, 0xd1, 0xbb },
+ .info = .{ 0x9c, 0xd1, 0xbb },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0xc3, 0x9a, 0xc9 },
- .palette = .{
+ .hint = .{ 0xc3, 0x9a, 0xc9 },
+ .ansi = .{
.{ 0x3a, 0x3d, 0x4b }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."terminal.ansiBlack"
.{ 0xff, 0x65, 0x7a }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."terminal.ansiRed"
.{ 0xba, 0xd7, 0x61 }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Octagon).json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_ristretto.zig b/core/themes/monokai_pro_ristretto.zig
index 88b1788c..3eaa11b3 100644
--- a/core/themes/monokai_pro_ristretto.zig
+++ b/core/themes/monokai_pro_ristretto.zig
@@ -9,63 +9,63 @@
//! - unfocused tag text #948a8b -> #968c8d: 4.48:1 on #2c2525, tag text needs 4.5:1 to be read and run
//! - rules between panes #211c1c -> #4d4747: 1.12:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #433b3b -> #4b4242: 1.38:1 on its track #2c2525
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #2c2525 -> #342d2d: 1.00:1 off the page, now 1.12:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #514332 -> #504848: 1.41:1 off the tag, now 1.51:1 (R4, H: a focus step off the tag, and the loudest)
+//! - selection #433b3b -> #4a3b3b: 1.38:1 off the page, now 1.42:1 (R7)
pub const theme = .{
.name = "monokai_pro_ristretto",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editor.background"
- .bg = .{ 0x2c, 0x25, 0x25 },
+ .page = .{ 0x2c, 0x25, 0x25 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editor.foreground"
- .fg = .{ 0xff, 0xf1, 0xf3 },
+ .text = .{ 0xff, 0xf1, 0xf3 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editor.selectionBackground" #c3b7b826 over #2c2525
- .sel_bg = .{ 0x43, 0x3b, 0x3b },
+ .selection = .{ 0x43, 0x3b, 0x3b },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xff, 0xf1, 0xf3 },
+ .selection_text = .{ 0xff, 0xf1, 0xf3 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0x2c, 0x25, 0x25 },
+ .tag = .{ 0x2c, 0x25, 0x25 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."tab.inactiveForeground" #948a8b, adjusted
- .tag_fg = .{ 0x96, 0x8c, 0x8d },
+ .tag_text = .{ 0x96, 0x8c, 0x8d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."tab.activeBackground" #2c2525, adjusted
- .tag_active_bg = .{ 0x51, 0x43, 0x32 },
+ .tag_focus = .{ 0x51, 0x43, 0x32 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."tab.activeForeground"
- .tag_active_fg = .{ 0xf9, 0xcc, 0x6c },
+ .tag_focus_text = .{ 0xf9, 0xcc, 0x6c },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."tab.activeBorder"
- .box = .{ 0xf9, 0xcc, 0x6c },
- // derived: the grip at rest, the accent #f9cc6c faded toward the unfocused tag #2c2525 as far as 1.6:1 off it (0.20 of the way)
- .box_dim = .{ 0x55, 0x46, 0x33 },
+ .accent = .{ 0xf9, 0xcc, 0x6c },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xf3, 0x8d, 0x70 },
+ .dirty = .{ 0xf3, 0x8d, 0x70 },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x85, 0xda, 0xcc },
+ .column_grip = .{ 0x85, 0xda, 0xcc },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 tokenColors[57] "keyword"
- .kw = .{ 0xfd, 0x68, 0x83 },
+ .keyword = .{ 0xfd, 0x68, 0x83 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 tokenColors[132] "string"
- .str = .{ 0xf9, 0xcc, 0x6c },
+ .string = .{ 0xf9, 0xcc, 0x6c },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0xa8, 0xa9, 0xeb },
+ .number = .{ 0xa8, 0xa9, 0xeb },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 tokenColors[0] "comment"
.comment = .{ 0x72, 0x69, 0x6a },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0x5b, 0x53, 0x53 },
+ .line_number = .{ 0x5b, 0x53, 0x53 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0xc3, 0xb7, 0xb8 },
+ .line_number_current = .{ 0xc3, 0xb7, 0xb8 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0x2c, 0x25, 0x25 },
+ .rail = .{ 0x2c, 0x25, 0x25 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."scrollbarSlider.background" #c3b7b826 over #2c2525 #433b3b, adjusted
- .scroll_thumb = .{ 0x4b, 0x42, 0x42 },
+ .rail_thumb = .{ 0x4b, 0x42, 0x42 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorGroup.border" #211c1c, adjusted
- .border = .{ 0x4d, 0x47, 0x47 },
+ .rule = .{ 0x4d, 0x47, 0x47 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editor.findMatchBackground" #fff1f326 over #2c2525
- .search_bg = .{ 0x4b, 0x43, 0x44 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xff, 0xf1, 0xf3 },
+ .hit = .{ 0x4b, 0x43, 0x44 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xfd, 0x68, 0x83 },
+ .@"error" = .{ 0xfd, 0x68, 0x83 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xf3, 0x8d, 0x70 },
+ .warning = .{ 0xf3, 0x8d, 0x70 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x85, 0xda, 0xcc },
+ .info = .{ 0x85, 0xda, 0xcc },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0xa8, 0xa9, 0xeb },
- .palette = .{
+ .hint = .{ 0xa8, 0xa9, 0xeb },
+ .ansi = .{
.{ 0x40, 0x38, 0x38 }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."terminal.ansiBlack"
.{ 0xfd, 0x68, 0x83 }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."terminal.ansiRed"
.{ 0xad, 0xda, 0x78 }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Ristretto).json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/monokai_pro_spectrum.zig b/core/themes/monokai_pro_spectrum.zig
index 3abd67ee..da7f4f4a 100644
--- a/core/themes/monokai_pro_spectrum.zig
+++ b/core/themes/monokai_pro_spectrum.zig
@@ -8,63 +8,63 @@
//! - focused tag ground #222222 -> #45412d: 1.00:1 off the unfocused #222222, pardes needs 1.5:1 on a dark page
//! - rules between panes #191919 -> #454447: 1.11:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
//! - scroll thumb #39383a -> #413f42: 1.36:1 on its track #222222
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #222222 -> #2a2a2a: 1.00:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #45412d -> #464646: 1.40:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - selection #39383a -> #3b3a3c: 1.36:1 off the page, now 1.41:1 (R7)
pub const theme = .{
.name = "monokai_pro_spectrum",
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editor.background"
- .bg = .{ 0x22, 0x22, 0x22 },
+ .page = .{ 0x22, 0x22, 0x22 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editor.foreground"
- .fg = .{ 0xf7, 0xf1, 0xff },
+ .text = .{ 0xf7, 0xf1, 0xff },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editor.selectionBackground" #bab6c026 over #222222
- .sel_bg = .{ 0x39, 0x38, 0x3a },
+ .selection = .{ 0x39, 0x38, 0x3a },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xf7, 0xf1, 0xff },
+ .selection_text = .{ 0xf7, 0xf1, 0xff },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."tab.inactiveBackground"
- .tag_bg = .{ 0x22, 0x22, 0x22 },
+ .tag = .{ 0x22, 0x22, 0x22 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."tab.inactiveForeground"
- .tag_fg = .{ 0x8b, 0x88, 0x8f },
+ .tag_text = .{ 0x8b, 0x88, 0x8f },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."tab.activeBackground" #222222, adjusted
- .tag_active_bg = .{ 0x45, 0x41, 0x2d },
+ .tag_focus = .{ 0x45, 0x41, 0x2d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."tab.activeForeground"
- .tag_active_fg = .{ 0xfc, 0xe5, 0x66 },
+ .tag_focus_text = .{ 0xfc, 0xe5, 0x66 },
// the focused grip: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."tab.activeBorder"
- .box = .{ 0xfc, 0xe5, 0x66 },
- // derived: the grip at rest, the accent #fce566 faded toward the unfocused tag #222222 as far as 1.6:1 off it (0.18 of the way)
- .box_dim = .{ 0x49, 0x45, 0x2e },
+ .accent = .{ 0xfc, 0xe5, 0x66 },
// an unsaved grip: the original's modified colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorGutter.modifiedBackground"
- .box_dirty = .{ 0xfd, 0x93, 0x53 },
+ .dirty = .{ 0xfd, 0x93, 0x53 },
// derived: the column grip, the original's type colour, ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 tokenColors[42] "entity.name.type"
- .column_box = .{ 0x5a, 0xd4, 0xe6 },
+ .column_grip = .{ 0x5a, 0xd4, 0xe6 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 tokenColors[57] "keyword"
- .kw = .{ 0xfc, 0x61, 0x8d },
+ .keyword = .{ 0xfc, 0x61, 0x8d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 tokenColors[132] "string"
- .str = .{ 0xfc, 0xe5, 0x66 },
+ .string = .{ 0xfc, 0xe5, 0x66 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 tokenColors[22] "constant.numeric"
- .num = .{ 0x94, 0x8a, 0xe3 },
+ .number = .{ 0x94, 0x8a, 0xe3 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 tokenColors[0] "comment"
.comment = .{ 0x69, 0x67, 0x6c },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorLineNumber.foreground"
- .lineno = .{ 0x52, 0x50, 0x53 },
+ .line_number = .{ 0x52, 0x50, 0x53 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorLineNumber.activeForeground"
- .lineno_active = .{ 0xba, 0xb6, 0xc0 },
+ .line_number_current = .{ 0xba, 0xb6, 0xc0 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 no scrollbar.background: the editor shows through
- .scroll_track = .{ 0x22, 0x22, 0x22 },
+ .rail = .{ 0x22, 0x22, 0x22 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."scrollbarSlider.background" #bab6c026 over #222222 #39383a, adjusted
- .scroll_thumb = .{ 0x41, 0x3f, 0x42 },
+ .rail_thumb = .{ 0x41, 0x3f, 0x42 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorGroup.border" #191919, adjusted
- .border = .{ 0x45, 0x44, 0x47 },
+ .rule = .{ 0x45, 0x44, 0x47 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editor.findMatchBackground" #f7f1ff26 over #222222
- .search_bg = .{ 0x42, 0x41, 0x43 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xf7, 0xf1, 0xff },
+ .hit = .{ 0x42, 0x41, 0x43 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorError.foreground"
- .diagnostic_error = .{ 0xfc, 0x61, 0x8d },
+ .@"error" = .{ 0xfc, 0x61, 0x8d },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorWarning.foreground"
- .diagnostic_warning = .{ 0xfd, 0x93, 0x53 },
+ .warning = .{ 0xfd, 0x93, 0x53 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorInfo.foreground"
- .diagnostic_info = .{ 0x5a, 0xd4, 0xe6 },
+ .info = .{ 0x5a, 0xd4, 0xe6 },
// ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."editorHint.foreground"
- .diagnostic_hint = .{ 0x94, 0x8a, 0xe3 },
- .palette = .{
+ .hint = .{ 0x94, 0x8a, 0xe3 },
+ .ansi = .{
.{ 0x36, 0x35, 0x37 }, // 0: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."terminal.ansiBlack"
.{ 0xfc, 0x61, 0x8d }, // 1: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."terminal.ansiRed"
.{ 0x7b, 0xd8, 0x8f }, // 2: ~/05-genizah/monokai-pro-vscode/vsix/extension/themes/Monokai Pro (Filter Spectrum).json:1 colors."terminal.ansiGreen"
diff --git a/core/themes/neobones_dark.zig b/core/themes/neobones_dark.zig
index b0167da2..25aaf8b9 100644
--- a/core/themes/neobones_dark.zig
+++ b/core/themes/neobones_dark.zig
@@ -15,63 +15,61 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #4b616f -> #768e9d: 1.59:1 on the focused tag, now 3.01:1 (R6: 3:1)
pub const theme = .{
.name = "neobones_dark",
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:33 Normal guibg
- .bg = .{ 0x0f, 0x19, 0x1f },
+ .page = .{ 0x0f, 0x19, 0x1f },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:33 Normal guifg
- .fg = .{ 0xc6, 0xd5, 0xcf },
+ .text = .{ 0xc6, 0xd5, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:209 Visual guibg
- .sel_bg = .{ 0x3a, 0x3e, 0x3d },
+ .selection = .{ 0x3a, 0x3e, 0x3d },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc6, 0xd5, 0xcf },
+ .selection_text = .{ 0xc6, 0xd5, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:196 StatusLineNC guibg
- .tag_bg = .{ 0x18, 0x25, 0x2d },
+ .tag = .{ 0x18, 0x25, 0x2d },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:196 StatusLineNC guifg
- .tag_fg = .{ 0xd1, 0xe0, 0xda },
+ .tag_text = .{ 0xd1, 0xe0, 0xda },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:193 StatusLine guibg #20303a, adjusted
- .tag_active_bg = .{ 0x2e, 0x43, 0x50 },
+ .tag_focus = .{ 0x2e, 0x43, 0x50 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:193 StatusLine guifg
- .tag_active_fg = .{ 0xc6, 0xd5, 0xcf },
+ .tag_focus_text = .{ 0xc6, 0xd5, 0xcf },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/neobones_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x4b, 0x61, 0x6f },
- // derived: the grip at rest, the accent #3b5362 faded toward the unfocused tag #18252d as far as 1.6:1 off it (0.74 of the way)
- .box_dim = .{ 0x32, 0x47, 0x54 },
+ .accent = .{ 0x4b, 0x61, 0x6f },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/neobones.vim:41 Changed guifg
- .box_dirty = .{ 0x81, 0x90, 0xd4 },
+ .dirty = .{ 0x81, 0x90, 0xd4 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/neobones.vim:205 Type guifg
- .column_box = .{ 0x6e, 0x99, 0xb2 },
+ .column_grip = .{ 0x6e, 0x99, 0xb2 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:189 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xc6, 0xd5, 0xcf },
+ .keyword = .{ 0xc6, 0xd5, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:199 String guifg
- .str = .{ 0x93, 0x9e, 0x99 },
+ .string = .{ 0x93, 0x9e, 0x99 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:163 Number guifg
- .num = .{ 0x93, 0x9e, 0x99 },
+ .number = .{ 0x93, 0x9e, 0x99 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:47 Comment guifg
.comment = .{ 0x53, 0x69, 0x77 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:149 LineNr guifg
- .lineno = .{ 0x46, 0x62, 0x73 },
+ .line_number = .{ 0x46, 0x62, 0x73 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:61 CursorLineNr guifg
- .lineno_active = .{ 0xc6, 0xd5, 0xcf },
+ .line_number_current = .{ 0xc6, 0xd5, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:166 PmenuSbar guibg
- .scroll_track = .{ 0x40, 0x5a, 0x6b },
+ .rail = .{ 0x40, 0x5a, 0x6b },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:168 PmenuThumb guibg
- .scroll_thumb = .{ 0x60, 0x86, 0x9d },
+ .rail_thumb = .{ 0x60, 0x86, 0x9d },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:216 WinSeparator guifg
- .border = .{ 0x46, 0x62, 0x73 },
+ .rule = .{ 0x46, 0x62, 0x73 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:171 Search guibg
- .search_bg = .{ 0x62, 0x41, 0x5b },
- // ~/05-genizah/zenbones.nvim/colors/neobones.vim:171 Search guifg
- .search_fg = .{ 0xc6, 0xd5, 0xcf },
+ .hit = .{ 0x62, 0x41, 0x5b },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:112 Error guifg via DiagnosticError->Error (link :113)
- .diagnostic_error = .{ 0xde, 0x6e, 0x7c },
+ .@"error" = .{ 0xde, 0x6e, 0x7c },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:210 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :211)
- .diagnostic_warning = .{ 0xb7, 0x7e, 0x64 },
+ .warning = .{ 0xb7, 0x7e, 0x64 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:71 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x81, 0x90, 0xd4 },
+ .info = .{ 0x81, 0x90, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:66 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xb2, 0x79, 0xa7 },
- .palette = .{
+ .hint = .{ 0xb2, 0x79, 0xa7 },
+ .ansi = .{
.{ 0x0f, 0x19, 0x1f }, // 0: ~/05-genizah/zenbones.nvim/colors/neobones.vim:17 g:terminal_color_0
.{ 0xde, 0x6e, 0x7c }, // 1: ~/05-genizah/zenbones.nvim/colors/neobones.vim:18 g:terminal_color_1
.{ 0x90, 0xff, 0x6b }, // 2: ~/05-genizah/zenbones.nvim/colors/neobones.vim:19 g:terminal_color_2
diff --git a/core/themes/neobones_light.zig b/core/themes/neobones_light.zig
index b24fcef5..3a5997aa 100644
--- a/core/themes/neobones_light.zig
+++ b/core/themes/neobones_light.zig
@@ -15,63 +15,62 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #96a097 -> #646e65: 1.53:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - selection #ade48c -> #a5e484: 1.23:1 off the page, now 1.25:1 (R7)
pub const theme = .{
.name = "neobones_light",
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:266 Normal guibg
- .bg = .{ 0xe5, 0xed, 0xe6 },
+ .page = .{ 0xe5, 0xed, 0xe6 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:266 Normal guifg
- .fg = .{ 0x20, 0x2e, 0x18 },
+ .text = .{ 0x20, 0x2e, 0x18 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:442 Visual guibg
- .sel_bg = .{ 0xad, 0xe4, 0x8c },
+ .selection = .{ 0xad, 0xe4, 0x8c },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x20, 0x2e, 0x18 },
+ .selection_text = .{ 0x20, 0x2e, 0x18 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:429 StatusLineNC guibg
- .tag_bg = .{ 0xd0, 0xde, 0xd2 },
+ .tag = .{ 0xd0, 0xde, 0xd2 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:429 StatusLineNC guifg
- .tag_fg = .{ 0x4b, 0x66, 0x3c },
+ .tag_text = .{ 0x4b, 0x66, 0x3c },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:426 StatusLine guibg #c2cfc4, adjusted
- .tag_active_bg = .{ 0xba, 0xc6, 0xbc },
+ .tag_focus = .{ 0xba, 0xc6, 0xbc },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:426 StatusLine guifg
- .tag_active_fg = .{ 0x20, 0x2e, 0x18 },
+ .tag_focus_text = .{ 0x20, 0x2e, 0x18 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/neobones_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x96, 0xa0, 0x97 },
- // derived: the grip at rest, the accent #a3aea4 faded toward the unfocused tag #d0ded2 as far as 1.6:1 off it (0.98 of the way)
- .box_dim = .{ 0xa4, 0xaf, 0xa5 },
+ .accent = .{ 0x96, 0xa0, 0x97 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/neobones.vim:274 Changed guifg
- .box_dirty = .{ 0x28, 0x64, 0x86 },
+ .dirty = .{ 0x28, 0x64, 0x86 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/neobones.vim:438 Type guifg
- .column_box = .{ 0x49, 0x5c, 0x4c },
+ .column_grip = .{ 0x49, 0x5c, 0x4c },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:422 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x20, 0x2e, 0x18 },
+ .keyword = .{ 0x20, 0x2e, 0x18 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:432 String guifg
- .str = .{ 0x47, 0x60, 0x38 },
+ .string = .{ 0x47, 0x60, 0x38 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:396 Number guifg
- .num = .{ 0x47, 0x60, 0x38 },
+ .number = .{ 0x47, 0x60, 0x38 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:280 Comment guifg
.comment = .{ 0x87, 0x8d, 0x88 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:382 LineNr guifg
- .lineno = .{ 0x8f, 0x98, 0x90 },
+ .line_number = .{ 0x8f, 0x98, 0x90 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:294 CursorLineNr guifg
- .lineno_active = .{ 0x20, 0x2e, 0x18 },
+ .line_number_current = .{ 0x20, 0x2e, 0x18 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:399 PmenuSbar guibg
- .scroll_track = .{ 0x9b, 0xa6, 0x9d },
+ .rail = .{ 0x9b, 0xa6, 0x9d },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:401 PmenuThumb guibg
- .scroll_thumb = .{ 0xf4, 0xf7, 0xf5 },
+ .rail_thumb = .{ 0xf4, 0xf7, 0xf5 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:449 WinSeparator guifg
- .border = .{ 0x8f, 0x98, 0x90 },
+ .rule = .{ 0x8f, 0x98, 0x90 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:404 Search guibg
- .search_bg = .{ 0xdc, 0xb5, 0xd4 },
- // ~/05-genizah/zenbones.nvim/colors/neobones.vim:404 Search guifg
- .search_fg = .{ 0x20, 0x2e, 0x18 },
+ .hit = .{ 0xdc, 0xb5, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:345 Error guifg via DiagnosticError->Error (link :346)
- .diagnostic_error = .{ 0xa8, 0x33, 0x4c },
+ .@"error" = .{ 0xa8, 0x33, 0x4c },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:443 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :444)
- .diagnostic_warning = .{ 0x94, 0x49, 0x27 },
+ .warning = .{ 0x94, 0x49, 0x27 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:304 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x28, 0x64, 0x86 },
+ .info = .{ 0x28, 0x64, 0x86 },
// ~/05-genizah/zenbones.nvim/colors/neobones.vim:299 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x88, 0x50, 0x7d },
- .palette = .{
+ .hint = .{ 0x88, 0x50, 0x7d },
+ .ansi = .{
.{ 0xe5, 0xed, 0xe6 }, // 0: ~/05-genizah/zenbones.nvim/colors/neobones.vim:250 g:terminal_color_0
.{ 0xa8, 0x33, 0x4c }, // 1: ~/05-genizah/zenbones.nvim/colors/neobones.vim:251 g:terminal_color_1
.{ 0x56, 0x7a, 0x30 }, // 2: ~/05-genizah/zenbones.nvim/colors/neobones.vim:252 g:terminal_color_2
diff --git a/core/themes/nord.zig b/core/themes/nord.zig
index f74785b3..284b59e6 100644
--- a/core/themes/nord.zig
+++ b/core/themes/nord.zig
@@ -47,63 +47,63 @@
//! Constant fg is nord4 (plain text), so constant uses Boolean (nord9).
//! scroll_track/thumb are the popup-menu scrollbar (PmenuSbar/PmenuThumb); vim
//! has no window scrollbar.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - search hit #88c0d0 -> #634a34: 6.24:1 off the page, now 1.52:1 (R8: 1.5:1, the text reading on it)
+//! - error #bf616a -> #e17f87: 3.05:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #5e81ac -> #7a9ecb: 3.10:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "nord",
// ~/05-genizah/nord-vim/colors/nord.vim:139 Normal guibg (s:nord0_gui = #2E3440 at :15)
- .bg = .{ 0x2e, 0x34, 0x40 },
+ .page = .{ 0x2e, 0x34, 0x40 },
// ~/05-genizah/nord-vim/colors/nord.vim:139 Normal guifg (s:nord4_gui = #D8DEE9 at :20)
- .fg = .{ 0xd8, 0xde, 0xe9 },
+ .text = .{ 0xd8, 0xde, 0xe9 },
// ~/05-genizah/nord-vim/colors/nord.vim:149 Visual guibg (s:nord2_gui = #434C5E at :17)
- .sel_bg = .{ 0x43, 0x4c, 0x5e },
+ .selection = .{ 0x43, 0x4c, 0x5e },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xd8, 0xde, 0xe9 },
+ .selection_text = .{ 0xd8, 0xde, 0xe9 },
// ~/05-genizah/nord-vim/colors/nord.vim:223 StatusLineNC guibg (s:nord1_gui = #3B4252 at :16) [default g:nord_uniform_status_lines=0, :83]
- .tag_bg = .{ 0x3b, 0x42, 0x52 },
+ .tag = .{ 0x3b, 0x42, 0x52 },
// ~/05-genizah/nord-vim/colors/nord.vim:223 StatusLineNC guifg (s:nord4_gui = #D8DEE9 at :20) [default g:nord_uniform_status_lines=0, :83]
- .tag_fg = .{ 0xd8, 0xde, 0xe9 },
+ .tag_text = .{ 0xd8, 0xde, 0xe9 },
// ~/05-genizah/nord-vim/colors/nord.vim:222 StatusLine guibg (s:nord3_gui = #4C566A at :18) [default g:nord_uniform_status_lines=0, :83] #4c566a, adjusted
- .tag_active_bg = .{ 0x52, 0x5d, 0x72 },
+ .tag_focus = .{ 0x52, 0x5d, 0x72 },
// ~/05-genizah/nord-vim/colors/nord.vim:222 StatusLine guifg (s:nord8_gui = #88C0D0 at :24) [default g:nord_uniform_status_lines=0, :83] #88c0d0, adjusted
- .tag_active_fg = .{ 0xbc, 0xdc, 0xe5 },
+ .tag_focus_text = .{ 0xbc, 0xdc, 0xe5 },
// the focused grip: ~/05-genizah/nord-vim/autoload/lightline/colorscheme/nord.vim:24 s:p.normal.left section a bg s:nord8 (#88C0D0 at :15); same in ~/05-genizah/nord-vim/autoload/airline/themes/nord.vim:41 s:NMain bg s:nord8_gui
- .box = .{ 0x88, 0xc0, 0xd0 },
- // derived: the grip at rest, the accent #88c0d0 faded toward the unfocused tag #3b4252 as far as 1.6:1 off it (0.26 of the way)
- .box_dim = .{ 0x4f, 0x63, 0x73 },
+ .accent = .{ 0x88, 0xc0, 0xd0 },
// an unsaved grip: the original's modified colour, ~/05-genizah/nord-vim/colors/nord.vim:589 GitGutterChange guifg (s:nord13_gui = #EBCB8B at :29); also DiffChange fg (inverse) at :371, SignifySignChange at :596, VS Code editorGutter.modifiedBackground #ebcb8b at ~/05-genizah/nord-visual-studio-code/themes/nord-color-theme.json:98
- .box_dirty = .{ 0xeb, 0xcb, 0x8b },
+ .dirty = .{ 0xeb, 0xcb, 0x8b },
// derived: the column grip, the original's string colour, ~/05-genizah/nord-vim/colors/nord.vim:281 String guifg (s:nord14_gui = #A3BE8C at :30)
- .column_box = .{ 0xa3, 0xbe, 0x8c },
+ .column_grip = .{ 0xa3, 0xbe, 0x8c },
// ~/05-genizah/nord-vim/colors/nord.vim:270 Keyword guifg (s:nord9_gui = #81A1C1 at :25)
- .kw = .{ 0x81, 0xa1, 0xc1 },
+ .keyword = .{ 0x81, 0xa1, 0xc1 },
// ~/05-genizah/nord-vim/colors/nord.vim:281 String guifg (s:nord14_gui = #A3BE8C at :30)
- .str = .{ 0xa3, 0xbe, 0x8c },
+ .string = .{ 0xa3, 0xbe, 0x8c },
// ~/05-genizah/nord-vim/colors/nord.vim:272 Number guifg (s:nord15_gui = #B48EAD at :31)
- .num = .{ 0xb4, 0x8e, 0xad },
+ .number = .{ 0xb4, 0x8e, 0xad },
// ~/05-genizah/nord-vim/colors/nord.vim:258 Comment guifg (s:nord3_gui_bright = #616E88 at :19)
.comment = .{ 0x61, 0x6e, 0x88 },
// ~/05-genizah/nord-vim/colors/nord.vim:136 LineNr guifg (s:nord3_gui = #4C566A at :18)
- .lineno = .{ 0x4c, 0x56, 0x6a },
+ .line_number = .{ 0x4c, 0x56, 0x6a },
// ~/05-genizah/nord-vim/colors/nord.vim:204 CursorLineNr guifg (s:nord4_gui = #D8DEE9 at :20) [default g:nord_cursor_line_number_background=0, :94]
- .lineno_active = .{ 0xd8, 0xde, 0xe9 },
+ .line_number_current = .{ 0xd8, 0xde, 0xe9 },
// ~/05-genizah/nord-vim/colors/nord.vim:141 PmenuSbar guibg (s:nord2_gui = #434C5E at :17)
- .scroll_track = .{ 0x43, 0x4c, 0x5e },
+ .rail = .{ 0x43, 0x4c, 0x5e },
// ~/05-genizah/nord-vim/colors/nord.vim:143 PmenuThumb guibg (s:nord3_gui = #4C566A at :18) #4c566a, adjusted
- .scroll_thumb = .{ 0x60, 0x69, 0x7c },
+ .rail_thumb = .{ 0x60, 0x69, 0x7c },
// ~/05-genizah/nord-vim/colors/nord.vim:248 VertSplit guifg (s:nord2_gui = #434C5E at :17) [no WinSeparator group; default g:nord_bold_vertical_split_line=0, :85] #434c5e, adjusted
- .border = .{ 0x4c, 0x55, 0x66 },
+ .rule = .{ 0x4c, 0x55, 0x66 },
// ~/05-genizah/nord-vim/colors/nord.vim:237 Search guibg (s:nord8_gui = #88C0D0 at :24)
- .search_bg = .{ 0x88, 0xc0, 0xd0 },
- // ~/05-genizah/nord-vim/colors/nord.vim:237 Search guifg (s:nord1_gui = #3B4252 at :16)
- .search_fg = .{ 0x3b, 0x42, 0x52 },
+ .hit = .{ 0x88, 0xc0, 0xd0 },
// ~/05-genizah/nord-vim/colors/nord.vim:184 DiagnosticError guifg (s:nord11_gui = #BF616A at :27)
- .diagnostic_error = .{ 0xbf, 0x61, 0x6a },
+ .@"error" = .{ 0xbf, 0x61, 0x6a },
// ~/05-genizah/nord-vim/colors/nord.vim:183 DiagnosticWarn guifg (s:nord13_gui = #EBCB8B at :29)
- .diagnostic_warning = .{ 0xeb, 0xcb, 0x8b },
+ .warning = .{ 0xeb, 0xcb, 0x8b },
// ~/05-genizah/nord-vim/colors/nord.vim:185 DiagnosticInfo guifg (s:nord8_gui = #88C0D0 at :24)
- .diagnostic_info = .{ 0x88, 0xc0, 0xd0 },
+ .info = .{ 0x88, 0xc0, 0xd0 },
// ~/05-genizah/nord-vim/colors/nord.vim:186 DiagnosticHint guifg (s:nord10_gui = #5E81AC at :26)
- .diagnostic_hint = .{ 0x5e, 0x81, 0xac },
- .palette = .{
+ .hint = .{ 0x5e, 0x81, 0xac },
+ .ansi = .{
.{ 0x3b, 0x42, 0x52 }, // 0: ~/05-genizah/nord-vim/colors/nord.vim:159 g:terminal_color_0 (s:nord1_gui = #3B4252 at :16)
.{ 0xbf, 0x61, 0x6a }, // 1: ~/05-genizah/nord-vim/colors/nord.vim:160 g:terminal_color_1 (s:nord11_gui = #BF616A at :27)
.{ 0xa3, 0xbe, 0x8c }, // 2: ~/05-genizah/nord-vim/colors/nord.vim:161 g:terminal_color_2 (s:nord14_gui = #A3BE8C at :30)
diff --git a/core/themes/nordbones.zig b/core/themes/nordbones.zig
index e7ec64b3..947164b3 100644
--- a/core/themes/nordbones.zig
+++ b/core/themes/nordbones.zig
@@ -18,63 +18,65 @@
//! only), so it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #6e778b -> #a2acc2: 1.52:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - search hit #84637e -> #634b34: 2.38:1 off the page, now 1.52:1 (R8: 1.5:1, the text reading on it)
+//! - error #c1616a -> #e38088: 3.04:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #cf866f -> #e5c95e: 4.27:1 on the page, now 7.53:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #b38dac -> #b791b0: 4.29:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "nordbones",
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:34 Normal guibg
- .bg = .{ 0x2f, 0x35, 0x41 },
+ .page = .{ 0x2f, 0x35, 0x41 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:34 Normal guifg
- .fg = .{ 0xeb, 0xee, 0xf3 },
+ .text = .{ 0xeb, 0xee, 0xf3 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:212 Visual guibg
- .sel_bg = .{ 0x54, 0x5f, 0x70 },
+ .selection = .{ 0x54, 0x5f, 0x70 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xeb, 0xee, 0xf3 },
+ .selection_text = .{ 0xeb, 0xee, 0xf3 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:199 StatusLineNC guibg
- .tag_bg = .{ 0x39, 0x40, 0x4e },
+ .tag = .{ 0x39, 0x40, 0x4e },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:199 StatusLineNC guifg
- .tag_fg = .{ 0xf2, 0xf4, 0xf7 },
+ .tag_text = .{ 0xf2, 0xf4, 0xf7 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:196 StatusLine guibg #414959, adjusted
- .tag_active_bg = .{ 0x51, 0x5b, 0x6e },
+ .tag_focus = .{ 0x51, 0x5b, 0x6e },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:196 StatusLine guifg
- .tag_active_fg = .{ 0xeb, 0xee, 0xf3 },
+ .tag_focus_text = .{ 0xeb, 0xee, 0xf3 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/nordbones_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x6e, 0x77, 0x8b },
- // derived: the grip at rest, the accent #5e687e faded toward the unfocused tag #39404e as far as 1.6:1 off it (0.78 of the way)
- .box_dim = .{ 0x56, 0x5f, 0x73 },
+ .accent = .{ 0x6e, 0x77, 0x8b },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/nordbones.vim:42 Changed guifg
- .box_dirty = .{ 0x8f, 0xbc, 0xba },
+ .dirty = .{ 0x8f, 0xbc, 0xba },
// derived: the column grip, the original's function colour, ~/05-genizah/zenbones.nvim/colors/nordbones.vim:123 Function guifg
- .column_box = .{ 0x87, 0xbf, 0xce },
+ .column_grip = .{ 0x87, 0xbf, 0xce },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:192 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x81, 0xa1, 0xc1 },
+ .keyword = .{ 0x81, 0xa1, 0xc1 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:202 String guifg
- .str = .{ 0x9e, 0xaf, 0xc9 },
+ .string = .{ 0x9e, 0xaf, 0xc9 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:165 Number guifg
- .num = .{ 0x8f, 0xbc, 0xba },
+ .number = .{ 0x8f, 0xbc, 0xba },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:48 Comment guifg
.comment = .{ 0x73, 0x7c, 0x90 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:151 LineNr guifg
- .lineno = .{ 0x69, 0x75, 0x8c },
+ .line_number = .{ 0x69, 0x75, 0x8c },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:63 CursorLineNr guifg
- .lineno_active = .{ 0xeb, 0xee, 0xf3 },
+ .line_number_current = .{ 0xeb, 0xee, 0xf3 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:168 PmenuSbar guibg
- .scroll_track = .{ 0x65, 0x70, 0x87 },
+ .rail = .{ 0x65, 0x70, 0x87 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:170 PmenuThumb guibg
- .scroll_thumb = .{ 0x86, 0x94, 0xb0 },
+ .rail_thumb = .{ 0x86, 0x94, 0xb0 },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:219 WinSeparator guifg
- .border = .{ 0x69, 0x75, 0x8c },
+ .rule = .{ 0x69, 0x75, 0x8c },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:173 Search guibg
- .search_bg = .{ 0x84, 0x63, 0x7e },
- // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:173 Search guifg
- .search_fg = .{ 0xeb, 0xee, 0xf3 },
+ .hit = .{ 0x84, 0x63, 0x7e },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:114 Error guifg via DiagnosticError->Error (link :115)
- .diagnostic_error = .{ 0xc1, 0x61, 0x6a },
+ .@"error" = .{ 0xc1, 0x61, 0x6a },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
- .diagnostic_warning = .{ 0xcf, 0x86, 0x6f },
+ .warning = .{ 0xcf, 0x86, 0x6f },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:73 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x8f, 0xbc, 0xba },
+ .info = .{ 0x8f, 0xbc, 0xba },
// ~/05-genizah/zenbones.nvim/colors/nordbones.vim:68 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xb3, 0x8d, 0xac },
- .palette = .{
+ .hint = .{ 0xb3, 0x8d, 0xac },
+ .ansi = .{
.{ 0x2f, 0x35, 0x41 }, // 0: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:18 g:terminal_color_0
.{ 0xc1, 0x61, 0x6a }, // 1: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:19 g:terminal_color_1
.{ 0xa4, 0xbe, 0x8d }, // 2: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:20 g:terminal_color_2
diff --git a/core/themes/orchard.zig b/core/themes/orchard.zig
index b4a35c1f..8559119d 100644
--- a/core/themes/orchard.zig
+++ b/core/themes/orchard.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "orchard",
- .bg = .{ 0x0d, 0x14, 0x10 },
- .fg = .{ 0xe5, 0xee, 0xe5 },
- .tag_bg = .{ 0x1d, 0x28, 0x24 },
- .tag_fg = .{ 0xb2, 0xc3, 0xb8 },
- .tag_name_fg = .{ 0xd3, 0xb0, 0xd9 },
- .tag_active_name_fg = .{ 0xdf, 0xbc, 0xe5 },
- .tag_active_bg = .{ 0x26, 0x36, 0x2d },
- .tag_active_fg = .{ 0xbe, 0xcf, 0xc4 },
- .box = .{ 0xad, 0xd3, 0x8a },
- .box_dim = .{ 0x49, 0x66, 0x56 },
- .column_box = .{ 0xf4, 0xc0, 0x86 },
- .column_box_dim = .{ 0x88, 0x74, 0x55 },
- .kw = .{ 0xc9, 0xa7, 0xed },
- .str = .{ 0xb8, 0xd8, 0x8a },
- .num = .{ 0xf8, 0xc0, 0x82 },
+ .page = .{ 0x0d, 0x14, 0x10 },
+ .text = .{ 0xe5, 0xee, 0xe5 },
+ .tag = .{ 0x1d, 0x28, 0x24 },
+ .tag_text = .{ 0xb2, 0xc3, 0xb8 },
+ .tag_name = .{ 0xd3, 0xb0, 0xd9 },
+ .tag_focus = .{ 0x26, 0x36, 0x2d },
+ .tag_focus_text = .{ 0xbe, 0xcf, 0xc4 },
+ .accent = .{ 0xad, 0xd3, 0x8a },
+ .column_grip = .{ 0xf4, 0xc0, 0x86 },
+ .keyword = .{ 0xc9, 0xa7, 0xed },
+ .string = .{ 0xb8, 0xd8, 0x8a },
+ .number = .{ 0xf8, 0xc0, 0x82 },
.comment = .{ 0xb9, 0xf4, 0x80 },
- .lineno = .{ 0x59, 0x67, 0x5c },
- .lineno_active = .{ 0x61, 0x6f, 0x64 },
- .scroll_track = .{ 0x15, 0x20, 0x19 },
- .scroll_thumb = .{ 0x60, 0x82, 0x69 },
- .border = .{ 0x48, 0x61, 0x52 },
- .sel_bg = .{ 0x3c, 0x61, 0x4a },
- .sel_fg = .{ 0xf5, 0xf7, 0xee },
- .search_bg = .{ 0x5e, 0x49, 0x23 },
- .search_fg = .{ 0xf7, 0xe4, 0xa5 },
- .diagnostic_error = .{ 0xfe, 0x98, 0x8e },
- .diagnostic_warning = .{ 0xf9, 0xcb, 0x70 },
- .diagnostic_info = .{ 0x92, 0xd1, 0xde },
- .diagnostic_hint = .{ 0xb7, 0xcb, 0x98 },
- .palette = .{
+ .line_number = .{ 0x59, 0x67, 0x5c },
+ .line_number_current = .{ 0x61, 0x6f, 0x64 },
+ .rail = .{ 0x15, 0x20, 0x19 },
+ .rail_thumb = .{ 0x60, 0x82, 0x69 },
+ .rule = .{ 0x48, 0x61, 0x52 },
+ .selection = .{ 0x3c, 0x61, 0x4a },
+ .selection_text = .{ 0xf5, 0xf7, 0xee },
+ .hit = .{ 0x5e, 0x49, 0x23 },
+ .@"error" = .{ 0xfe, 0x98, 0x8e },
+ .warning = .{ 0xf9, 0xcb, 0x70 },
+ .info = .{ 0x92, 0xd1, 0xde },
+ .hint = .{ 0xb7, 0xcb, 0x98 },
+ .ansi = .{
.{ 0x0d, 0x14, 0x10 },
.{ 0xf1, 0xa3, 0x9b },
.{ 0xb6, 0xce, 0x94 },
diff --git a/core/themes/orchard_black.zig b/core/themes/orchard_black.zig
index d9e026bd..86e39627 100644
--- a/core/themes/orchard_black.zig
+++ b/core/themes/orchard_black.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "orchard_black",
- .bg = .{ 0x00, 0x00, 0x00 },
- .fg = .{ 0xf2, 0xf8, 0xef },
- .tag_bg = .{ 0x1d, 0x28, 0x24 },
- .tag_fg = .{ 0xb2, 0xc3, 0xb8 },
- .tag_name_fg = .{ 0xd3, 0xb0, 0xd9 },
- .tag_active_name_fg = .{ 0xdf, 0xbc, 0xe5 },
- .tag_active_bg = .{ 0x26, 0x36, 0x2d },
- .tag_active_fg = .{ 0xbe, 0xcf, 0xc4 },
- .box = .{ 0xad, 0xd3, 0x8a },
- .box_dim = .{ 0x49, 0x66, 0x56 },
- .column_box = .{ 0xf4, 0xc0, 0x86 },
- .column_box_dim = .{ 0x88, 0x74, 0x55 },
- .kw = .{ 0xc9, 0xa7, 0xed },
- .str = .{ 0xb8, 0xd8, 0x8a },
- .num = .{ 0xf8, 0xc0, 0x82 },
+ .page = .{ 0x00, 0x00, 0x00 },
+ .text = .{ 0xf2, 0xf8, 0xef },
+ .tag = .{ 0x1d, 0x28, 0x24 },
+ .tag_text = .{ 0xb2, 0xc3, 0xb8 },
+ .tag_name = .{ 0xd3, 0xb0, 0xd9 },
+ .tag_focus = .{ 0x26, 0x36, 0x2d },
+ .tag_focus_text = .{ 0xbe, 0xcf, 0xc4 },
+ .accent = .{ 0xad, 0xd3, 0x8a },
+ .column_grip = .{ 0xf4, 0xc0, 0x86 },
+ .keyword = .{ 0xc9, 0xa7, 0xed },
+ .string = .{ 0xb8, 0xd8, 0x8a },
+ .number = .{ 0xf8, 0xc0, 0x82 },
.comment = .{ 0xb9, 0xf4, 0x80 },
- .lineno = .{ 0x59, 0x67, 0x5c },
- .lineno_active = .{ 0x61, 0x6f, 0x64 },
- .scroll_track = .{ 0x11, 0x18, 0x13 },
- .scroll_thumb = .{ 0x60, 0x82, 0x69 },
- .border = .{ 0x48, 0x61, 0x52 },
- .sel_bg = .{ 0x3c, 0x61, 0x4a },
- .sel_fg = .{ 0xf5, 0xf7, 0xee },
- .search_bg = .{ 0x5e, 0x49, 0x23 },
- .search_fg = .{ 0xf7, 0xe4, 0xa5 },
- .diagnostic_error = .{ 0xfe, 0x98, 0x8e },
- .diagnostic_warning = .{ 0xf9, 0xcb, 0x70 },
- .diagnostic_info = .{ 0x92, 0xd1, 0xde },
- .diagnostic_hint = .{ 0xb7, 0xcb, 0x98 },
- .palette = .{
+ .line_number = .{ 0x59, 0x67, 0x5c },
+ .line_number_current = .{ 0x61, 0x6f, 0x64 },
+ .rail = .{ 0x11, 0x18, 0x13 },
+ .rail_thumb = .{ 0x60, 0x82, 0x69 },
+ .rule = .{ 0x48, 0x61, 0x52 },
+ .selection = .{ 0x3c, 0x61, 0x4a },
+ .selection_text = .{ 0xf5, 0xf7, 0xee },
+ .hit = .{ 0x5e, 0x49, 0x23 },
+ .@"error" = .{ 0xfe, 0x98, 0x8e },
+ .warning = .{ 0xf9, 0xcb, 0x70 },
+ .info = .{ 0x92, 0xd1, 0xde },
+ .hint = .{ 0xb7, 0xcb, 0x98 },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 },
.{ 0xf1, 0xa3, 0x9b },
.{ 0xb6, 0xce, 0x94 },
diff --git a/core/themes/paper.zig b/core/themes/paper.zig
index c86482f7..a9ace49a 100644
--- a/core/themes/paper.zig
+++ b/core/themes/paper.zig
@@ -3,36 +3,32 @@
//! designed together. See docs/typ/themes.typ for the shared role contract.
pub const theme = .{
.name = "paper",
- .bg = .{ 0xf5, 0xf3, 0xed },
- .fg = .{ 0x30, 0x3b, 0x3b },
- .tag_bg = .{ 0xe8, 0xea, 0xe3 },
- .tag_fg = .{ 0x52, 0x62, 0x5a },
- .tag_name_fg = .{ 0x72, 0x4c, 0x83 },
- .tag_active_name_fg = .{ 0x69, 0x44, 0x7a },
- .tag_active_bg = .{ 0xdc, 0xe5, 0xdc },
- .tag_active_fg = .{ 0x4a, 0x5a, 0x52 },
- .box = .{ 0x36, 0x71, 0x57 },
- .box_dim = .{ 0x8f, 0xa5, 0x94 },
- .column_box = .{ 0x93, 0x58, 0x1a },
- .column_box_dim = .{ 0xbd, 0xa2, 0x7e },
- .kw = .{ 0x74, 0x46, 0x9b },
- .str = .{ 0x3a, 0x6f, 0x44 },
- .num = .{ 0x98, 0x59, 0x15 },
+ .page = .{ 0xf5, 0xf3, 0xed },
+ .text = .{ 0x30, 0x3b, 0x3b },
+ .tag = .{ 0xe8, 0xea, 0xe3 },
+ .tag_text = .{ 0x52, 0x62, 0x5a },
+ .tag_name = .{ 0x72, 0x4c, 0x83 },
+ .tag_focus = .{ 0xdc, 0xe5, 0xdc },
+ .tag_focus_text = .{ 0x4a, 0x5a, 0x52 },
+ .accent = .{ 0x36, 0x71, 0x57 },
+ .column_grip = .{ 0x93, 0x58, 0x1a },
+ .keyword = .{ 0x74, 0x46, 0x9b },
+ .string = .{ 0x3a, 0x6f, 0x44 },
+ .number = .{ 0x98, 0x59, 0x15 },
.comment = .{ 0x20, 0x75, 0x56 },
- .lineno = .{ 0x8b, 0x91, 0x85 },
- .lineno_active = .{ 0x83, 0x89, 0x7d },
- .scroll_track = .{ 0xe5, 0xe8, 0xdf },
- .scroll_thumb = .{ 0x86, 0x9d, 0x8a },
- .border = .{ 0xfb, 0xfb, 0xfb },
- .sel_bg = .{ 0xc5, 0xe2, 0xd0 },
- .sel_fg = .{ 0x20, 0x3e, 0x31 },
- .search_bg = .{ 0xfb, 0xe2, 0x9d },
- .search_fg = .{ 0x61, 0x46, 0x1c },
- .diagnostic_error = .{ 0xb3, 0x29, 0x28 },
- .diagnostic_warning = .{ 0x8c, 0x5b, 0x00 },
- .diagnostic_info = .{ 0x26, 0x6b, 0x7f },
- .diagnostic_hint = .{ 0x51, 0x74, 0x37 },
- .palette = .{
+ .line_number = .{ 0x8b, 0x91, 0x85 },
+ .line_number_current = .{ 0x83, 0x89, 0x7d },
+ .rail = .{ 0xe5, 0xe8, 0xdf },
+ .rail_thumb = .{ 0x86, 0x9d, 0x8a },
+ .rule = .{ 0xfb, 0xfb, 0xfb },
+ .selection = .{ 0xc5, 0xe2, 0xd0 },
+ .selection_text = .{ 0x20, 0x3e, 0x31 },
+ .hit = .{ 0xfb, 0xe2, 0x9d },
+ .@"error" = .{ 0xb3, 0x29, 0x28 },
+ .warning = .{ 0x8c, 0x5b, 0x00 },
+ .info = .{ 0x26, 0x6b, 0x7f },
+ .hint = .{ 0x51, 0x74, 0x37 },
+ .ansi = .{
.{ 0x30, 0x3b, 0x3b },
.{ 0xa3, 0x39, 0x38 },
.{ 0x41, 0x68, 0x48 },
diff --git a/core/themes/rose_pine.zig b/core/themes/rose_pine.zig
index 8409af9b..168cc9a5 100644
--- a/core/themes/rose_pine.zig
+++ b/core/themes/rose_pine.zig
@@ -27,63 +27,61 @@
//! git 'changed' colour (also GitSignsChange/SignChange). keyword: Keyword =
//! pine exists directly (Statement is also pine). constant: Constant gold;
//! Boolean differs (rose).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - selection #332d41 -> #372e51: 1.34:1 off the page, now 1.41:1 (R7)
pub const theme = .{
.name = "rose_pine",
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:111 Normal bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:5 main.base
- .bg = .{ 0x19, 0x17, 0x24 },
+ .page = .{ 0x19, 0x17, 0x24 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:111 Normal fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:10 main.text
- .fg = .{ 0xe0, 0xde, 0xf4 },
+ .text = .{ 0xe0, 0xde, 0xf4 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:146 Visual bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:16 main.iris, blend = 15 -> composited over palette.base #191724 at alpha 0.15 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #332d41
- .sel_bg = .{ 0x33, 0x2d, 0x41 },
+ .selection = .{ 0x33, 0x2d, 0x41 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xe0, 0xde, 0xf4 },
+ .selection_text = .{ 0xe0, 0xde, 0xf4 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:137 StatusLineNC bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:6 main.surface, blend = 60 -> composited over palette.base #191724 at alpha 0.60 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #1d1b2a
- .tag_bg = .{ 0x1d, 0x1b, 0x2a },
+ .tag = .{ 0x1d, 0x1b, 0x2a },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:137 StatusLineNC fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:8 main.muted #6e6a86, adjusted
- .tag_fg = .{ 0x85, 0x82, 0x99 },
+ .tag_text = .{ 0x85, 0x82, 0x99 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:136 StatusLine bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:6 main.surface #1f1d2e, adjusted
- .tag_active_bg = .{ 0x3c, 0x3a, 0x4e },
+ .tag_focus = .{ 0x3c, 0x3a, 0x4e },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:136 StatusLine fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:9 main.subtle #908caa, adjusted
- .tag_active_fg = .{ 0xa8, 0xa5, 0xbd },
+ .tag_focus_text = .{ 0xa8, 0xa5, 0xbd },
// the focused grip: ~/05-genizah/rose-pine-neovim/lua/lualine/themes/rose-pine.lua:11 lualine theme normal.a bg = p.rose -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:13 main.rose
- .box = .{ 0xeb, 0xbc, 0xba },
- // derived: the grip at rest, the accent #ebbcba faded toward the unfocused tag #1d1b2a as far as 1.6:1 off it (0.22 of the way)
- .box_dim = .{ 0x4a, 0x3e, 0x4a },
+ .accent = .{ 0xeb, 0xbc, 0xba },
// an unsaved grip: the original's warning colour, ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:159 DiagnosticWarn fg = groups.warn = "gold" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:51) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:12 main.gold
- .box_dirty = .{ 0xf6, 0xc1, 0x77 },
+ .dirty = .{ 0xf6, 0xc1, 0x77 },
// derived: the column grip, the original's type colour, ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:223 Type fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:15 main.foam
- .column_box = .{ 0x9c, 0xcf, 0xd8 },
+ .column_grip = .{ 0x9c, 0xcf, 0xd8 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:200 Keyword fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:14 main.pine
- .kw = .{ 0x31, 0x74, 0x8f },
+ .keyword = .{ 0x31, 0x74, 0x8f },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:219 String fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:12 main.gold
- .str = .{ 0xf6, 0xc1, 0x77 },
+ .string = .{ 0xf6, 0xc1, 0x77 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:209 Number fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:12 main.gold
- .num = .{ 0xf6, 0xc1, 0x77 },
+ .number = .{ 0xf6, 0xc1, 0x77 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:188 Comment fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:9 main.subtle
.comment = .{ 0x90, 0x8c, 0xaa },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:106 LineNr fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:8 main.muted
- .lineno = .{ 0x6e, 0x6a, 0x86 },
+ .line_number = .{ 0x6e, 0x6a, 0x86 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:88 CursorLineNr fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:10 main.text
- .lineno_active = .{ 0xe0, 0xde, 0xf4 },
+ .line_number_current = .{ 0xe0, 0xde, 0xf4 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:120 PmenuSbar bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:6 main.surface
- .scroll_track = .{ 0x1f, 0x1d, 0x2e },
+ .rail = .{ 0x1f, 0x1d, 0x2e },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:122 PmenuThumb bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:8 main.muted
- .scroll_thumb = .{ 0x6e, 0x6a, 0x86 },
+ .rail_thumb = .{ 0x6e, 0x6a, 0x86 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:153 WinSeparator fg = groups.border = "muted" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:43) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:8 main.muted
- .border = .{ 0x6e, 0x6a, 0x86 },
+ .rule = .{ 0x6e, 0x6a, 0x86 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:129 Search bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:12 main.gold, blend = 20 -> composited over palette.base #191724 at alpha 0.20 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #453935
- .search_bg = .{ 0x45, 0x39, 0x35 },
- // ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:129 Search fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:10 main.text
- .search_fg = .{ 0xe0, 0xde, 0xf4 },
+ .hit = .{ 0x45, 0x39, 0x35 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:155 DiagnosticError fg = groups.error = "love" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:47) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:11 main.love
- .diagnostic_error = .{ 0xeb, 0x6f, 0x92 },
+ .@"error" = .{ 0xeb, 0x6f, 0x92 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:159 DiagnosticWarn fg = groups.warn = "gold" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:51) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:12 main.gold
- .diagnostic_warning = .{ 0xf6, 0xc1, 0x77 },
+ .warning = .{ 0xf6, 0xc1, 0x77 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:157 DiagnosticInfo fg = groups.info = "foam" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:49) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:15 main.foam
- .diagnostic_info = .{ 0x9c, 0xcf, 0xd8 },
+ .info = .{ 0x9c, 0xcf, 0xd8 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:156 DiagnosticHint fg = groups.hint = "iris" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:48) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:16 main.iris
- .diagnostic_hint = .{ 0xc4, 0xa7, 0xe7 },
- .palette = .{
+ .hint = .{ 0xc4, 0xa7, 0xe7 },
+ .ansi = .{
.{ 0x26, 0x23, 0x3a }, // 0: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1191 vim.g.terminal_color_0 = palette.overlay -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:7 main.overlay
.{ 0xeb, 0x6f, 0x92 }, // 1: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1193 vim.g.terminal_color_1 = palette.love -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:11 main.love
.{ 0x31, 0x74, 0x8f }, // 2: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1195 vim.g.terminal_color_2 = palette.pine -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:14 main.pine
diff --git a/core/themes/rose_pine_dawn.zig b/core/themes/rose_pine_dawn.zig
index 304df52b..04bc7828 100644
--- a/core/themes/rose_pine_dawn.zig
+++ b/core/themes/rose_pine_dawn.zig
@@ -27,63 +27,70 @@
//! git 'changed' colour (also GitSignsChange/SignChange). keyword: Keyword =
//! pine exists directly (Statement is also pine). constant: Constant gold;
//! Boolean differs (rose).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #fdf8f1 -> #eee9e2: 1.03:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #e2ddde -> #d6d1ca: 1.11:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #d7827e -> #af5e5b: 1.87:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - unsaved grip #ea9d34 -> #a56800: 1.86:1 on the tag, now 3.80:1 (R6: 3:1 on both tags)
+//! - selection #eae2e3 -> #e7d9d3: 1.17:1 off the page, now 1.26:1 (R7)
+//! - search hit #f7e3c8 -> #fabe78: 1.15:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #b4637a -> #a7576e: 3.84:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #ea9d34 -> #9e6300: 2.05:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - info #56949f -> #3b7984: 3.14:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #907aa9 -> #7d6795: 3.47:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "rose_pine_dawn",
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:111 Normal bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:45 dawn.base
- .bg = .{ 0xfa, 0xf4, 0xed },
+ .page = .{ 0xfa, 0xf4, 0xed },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:111 Normal fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:50 dawn.text
- .fg = .{ 0x46, 0x42, 0x61 },
+ .text = .{ 0x46, 0x42, 0x61 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:146 Visual bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:56 dawn.iris, blend = 15 -> composited over palette.base #faf4ed at alpha 0.15 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #eae2e3
- .sel_bg = .{ 0xea, 0xe2, 0xe3 },
+ .selection = .{ 0xea, 0xe2, 0xe3 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x46, 0x42, 0x61 },
+ .selection_text = .{ 0x46, 0x42, 0x61 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:137 StatusLineNC bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:46 dawn.surface, blend = 60 -> composited over palette.base #faf4ed at alpha 0.60 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #fdf8f1
- .tag_bg = .{ 0xfd, 0xf8, 0xf1 },
+ .tag = .{ 0xfd, 0xf8, 0xf1 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:137 StatusLineNC fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:48 dawn.muted #9893a5, adjusted
- .tag_fg = .{ 0x74, 0x70, 0x7d },
+ .tag_text = .{ 0x74, 0x70, 0x7d },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:136 StatusLine bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:46 dawn.surface #fffaf3, adjusted
- .tag_active_bg = .{ 0xe2, 0xdd, 0xde },
+ .tag_focus = .{ 0xe2, 0xdd, 0xde },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:136 StatusLine fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:49 dawn.subtle #797593, adjusted
- .tag_active_fg = .{ 0x61, 0x5e, 0x76 },
+ .tag_focus_text = .{ 0x61, 0x5e, 0x76 },
// the focused grip: ~/05-genizah/rose-pine-neovim/lua/lualine/themes/rose-pine.lua:11 lualine theme normal.a bg = p.rose -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:53 dawn.rose
- .box = .{ 0xd7, 0x82, 0x7e },
- // derived: the grip at rest, the accent #d7827e faded toward the unfocused tag #fdf8f1 as far as 1.6:1 off it (0.52 of the way)
- .box_dim = .{ 0xe9, 0xbb, 0xb5 },
+ .accent = .{ 0xd7, 0x82, 0x7e },
// an unsaved grip: the original's warning colour, ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:159 DiagnosticWarn fg = groups.warn = "gold" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:51) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:52 dawn.gold
- .box_dirty = .{ 0xea, 0x9d, 0x34 },
+ .dirty = .{ 0xea, 0x9d, 0x34 },
// derived: the column grip, the original's type colour, ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:223 Type fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:55 dawn.foam
- .column_box = .{ 0x56, 0x94, 0x9f },
+ .column_grip = .{ 0x56, 0x94, 0x9f },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:200 Keyword fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:54 dawn.pine
- .kw = .{ 0x28, 0x69, 0x83 },
+ .keyword = .{ 0x28, 0x69, 0x83 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:219 String fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:52 dawn.gold
- .str = .{ 0xea, 0x9d, 0x34 },
+ .string = .{ 0xea, 0x9d, 0x34 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:209 Number fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:52 dawn.gold
- .num = .{ 0xea, 0x9d, 0x34 },
+ .number = .{ 0xea, 0x9d, 0x34 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:188 Comment fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:49 dawn.subtle
.comment = .{ 0x79, 0x75, 0x93 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:106 LineNr fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:48 dawn.muted
- .lineno = .{ 0x98, 0x93, 0xa5 },
+ .line_number = .{ 0x98, 0x93, 0xa5 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:88 CursorLineNr fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:50 dawn.text
- .lineno_active = .{ 0x46, 0x42, 0x61 },
+ .line_number_current = .{ 0x46, 0x42, 0x61 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:120 PmenuSbar bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:46 dawn.surface
- .scroll_track = .{ 0xff, 0xfa, 0xf3 },
+ .rail = .{ 0xff, 0xfa, 0xf3 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:122 PmenuThumb bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:48 dawn.muted
- .scroll_thumb = .{ 0x98, 0x93, 0xa5 },
+ .rail_thumb = .{ 0x98, 0x93, 0xa5 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:153 WinSeparator fg = groups.border = "muted" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:43) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:48 dawn.muted
- .border = .{ 0x98, 0x93, 0xa5 },
+ .rule = .{ 0x98, 0x93, 0xa5 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:129 Search bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:52 dawn.gold, blend = 20 -> composited over palette.base #faf4ed at alpha 0.20 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #f7e3c8
- .search_bg = .{ 0xf7, 0xe3, 0xc8 },
- // ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:129 Search fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:50 dawn.text
- .search_fg = .{ 0x46, 0x42, 0x61 },
+ .hit = .{ 0xf7, 0xe3, 0xc8 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:155 DiagnosticError fg = groups.error = "love" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:47) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:51 dawn.love
- .diagnostic_error = .{ 0xb4, 0x63, 0x7a },
+ .@"error" = .{ 0xb4, 0x63, 0x7a },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:159 DiagnosticWarn fg = groups.warn = "gold" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:51) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:52 dawn.gold
- .diagnostic_warning = .{ 0xea, 0x9d, 0x34 },
+ .warning = .{ 0xea, 0x9d, 0x34 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:157 DiagnosticInfo fg = groups.info = "foam" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:49) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:55 dawn.foam
- .diagnostic_info = .{ 0x56, 0x94, 0x9f },
+ .info = .{ 0x56, 0x94, 0x9f },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:156 DiagnosticHint fg = groups.hint = "iris" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:48) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:56 dawn.iris
- .diagnostic_hint = .{ 0x90, 0x7a, 0xa9 },
- .palette = .{
+ .hint = .{ 0x90, 0x7a, 0xa9 },
+ .ansi = .{
.{ 0xf2, 0xe9, 0xe1 }, // 0: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1191 vim.g.terminal_color_0 = palette.overlay -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:47 dawn.overlay
.{ 0xb4, 0x63, 0x7a }, // 1: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1193 vim.g.terminal_color_1 = palette.love -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:51 dawn.love
.{ 0x28, 0x69, 0x83 }, // 2: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1195 vim.g.terminal_color_2 = palette.pine -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:54 dawn.pine
diff --git a/core/themes/rose_pine_moon.zig b/core/themes/rose_pine_moon.zig
index f90975f1..a730284e 100644
--- a/core/themes/rose_pine_moon.zig
+++ b/core/themes/rose_pine_moon.zig
@@ -27,63 +27,61 @@
//! git 'changed' colour (also GitSignsChange/SignChange). keyword: Keyword =
//! pine exists directly (Statement is also pine). constant: Constant gold;
//! Boolean differs (rose).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - selection #3b3551 -> #3f3468: 1.35:1 off the page, now 1.42:1 (R7)
pub const theme = .{
.name = "rose_pine_moon",
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:111 Normal bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:25 moon.base
- .bg = .{ 0x23, 0x21, 0x36 },
+ .page = .{ 0x23, 0x21, 0x36 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:111 Normal fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:30 moon.text
- .fg = .{ 0xe0, 0xde, 0xf4 },
+ .text = .{ 0xe0, 0xde, 0xf4 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:146 Visual bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:36 moon.iris, blend = 15 -> composited over palette.base #232136 at alpha 0.15 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #3b3551
- .sel_bg = .{ 0x3b, 0x35, 0x51 },
+ .selection = .{ 0x3b, 0x35, 0x51 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xe0, 0xde, 0xf4 },
+ .selection_text = .{ 0xe0, 0xde, 0xf4 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:137 StatusLineNC bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:26 moon.surface, blend = 60 -> composited over palette.base #232136 at alpha 0.60 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #27253b
- .tag_bg = .{ 0x27, 0x25, 0x3b },
+ .tag = .{ 0x27, 0x25, 0x3b },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:137 StatusLineNC fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:28 moon.muted #6e6a86, adjusted
- .tag_fg = .{ 0x91, 0x8e, 0xa3 },
+ .tag_text = .{ 0x91, 0x8e, 0xa3 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:136 StatusLine bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:26 moon.surface #2a273f, adjusted
- .tag_active_bg = .{ 0x45, 0x41, 0x5b },
+ .tag_focus = .{ 0x45, 0x41, 0x5b },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:136 StatusLine fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:29 moon.subtle #908caa, adjusted
- .tag_active_fg = .{ 0xb1, 0xaf, 0xc4 },
+ .tag_focus_text = .{ 0xb1, 0xaf, 0xc4 },
// the focused grip: ~/05-genizah/rose-pine-neovim/lua/lualine/themes/rose-pine.lua:11 lualine theme normal.a bg = p.rose -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:33 moon.rose
- .box = .{ 0xea, 0x9a, 0x97 },
- // derived: the grip at rest, the accent #ea9a97 faded toward the unfocused tag #27253b as far as 1.6:1 off it (0.26 of the way)
- .box_dim = .{ 0x5a, 0x43, 0x53 },
+ .accent = .{ 0xea, 0x9a, 0x97 },
// an unsaved grip: the original's warning colour, ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:159 DiagnosticWarn fg = groups.warn = "gold" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:51) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:32 moon.gold
- .box_dirty = .{ 0xf6, 0xc1, 0x77 },
+ .dirty = .{ 0xf6, 0xc1, 0x77 },
// derived: the column grip, the original's type colour, ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:223 Type fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:35 moon.foam
- .column_box = .{ 0x9c, 0xcf, 0xd8 },
+ .column_grip = .{ 0x9c, 0xcf, 0xd8 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:200 Keyword fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:34 moon.pine
- .kw = .{ 0x3e, 0x8f, 0xb0 },
+ .keyword = .{ 0x3e, 0x8f, 0xb0 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:219 String fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:32 moon.gold
- .str = .{ 0xf6, 0xc1, 0x77 },
+ .string = .{ 0xf6, 0xc1, 0x77 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:209 Number fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:32 moon.gold
- .num = .{ 0xf6, 0xc1, 0x77 },
+ .number = .{ 0xf6, 0xc1, 0x77 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:188 Comment fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:29 moon.subtle
.comment = .{ 0x90, 0x8c, 0xaa },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:106 LineNr fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:28 moon.muted
- .lineno = .{ 0x6e, 0x6a, 0x86 },
+ .line_number = .{ 0x6e, 0x6a, 0x86 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:88 CursorLineNr fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:30 moon.text
- .lineno_active = .{ 0xe0, 0xde, 0xf4 },
+ .line_number_current = .{ 0xe0, 0xde, 0xf4 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:120 PmenuSbar bg = groups.panel = "surface" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:45) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:26 moon.surface
- .scroll_track = .{ 0x2a, 0x27, 0x3f },
+ .rail = .{ 0x2a, 0x27, 0x3f },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:122 PmenuThumb bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:28 moon.muted
- .scroll_thumb = .{ 0x6e, 0x6a, 0x86 },
+ .rail_thumb = .{ 0x6e, 0x6a, 0x86 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:153 WinSeparator fg = groups.border = "muted" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:43) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:28 moon.muted
- .border = .{ 0x6e, 0x6a, 0x86 },
+ .rule = .{ 0x6e, 0x6a, 0x86 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:129 Search bg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:32 moon.gold, blend = 20 -> composited over palette.base #232136 at alpha 0.20 by utilities.blend (~/05-genizah/rose-pine-neovim/lua/rose-pine/utilities.lua:55, called at ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1176) = #4d4143
- .search_bg = .{ 0x4d, 0x41, 0x43 },
- // ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:129 Search fg = ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:30 moon.text
- .search_fg = .{ 0xe0, 0xde, 0xf4 },
+ .hit = .{ 0x4d, 0x41, 0x43 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:155 DiagnosticError fg = groups.error = "love" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:47) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:31 moon.love
- .diagnostic_error = .{ 0xeb, 0x6f, 0x92 },
+ .@"error" = .{ 0xeb, 0x6f, 0x92 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:159 DiagnosticWarn fg = groups.warn = "gold" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:51) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:32 moon.gold
- .diagnostic_warning = .{ 0xf6, 0xc1, 0x77 },
+ .warning = .{ 0xf6, 0xc1, 0x77 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:157 DiagnosticInfo fg = groups.info = "foam" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:49) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:35 moon.foam
- .diagnostic_info = .{ 0x9c, 0xcf, 0xd8 },
+ .info = .{ 0x9c, 0xcf, 0xd8 },
// ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:156 DiagnosticHint fg = groups.hint = "iris" (~/05-genizah/rose-pine-neovim/lua/rose-pine/config.lua:48) -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:36 moon.iris
- .diagnostic_hint = .{ 0xc4, 0xa7, 0xe7 },
- .palette = .{
+ .hint = .{ 0xc4, 0xa7, 0xe7 },
+ .ansi = .{
.{ 0x39, 0x35, 0x52 }, // 0: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1191 vim.g.terminal_color_0 = palette.overlay -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:27 moon.overlay
.{ 0xeb, 0x6f, 0x92 }, // 1: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1193 vim.g.terminal_color_1 = palette.love -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:31 moon.love
.{ 0x3e, 0x8f, 0xb0 }, // 2: ~/05-genizah/rose-pine-neovim/lua/rose-pine.lua:1195 vim.g.terminal_color_2 = palette.pine -> ~/05-genizah/rose-pine-neovim/lua/rose-pine/palette.lua:34 moon.pine
diff --git a/core/themes/rosebones_dark.zig b/core/themes/rosebones_dark.zig
index bd3ae169..0954e615 100644
--- a/core/themes/rosebones_dark.zig
+++ b/core/themes/rosebones_dark.zig
@@ -16,63 +16,61 @@
//! only), so it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #5d5978 -> #8c88aa: 1.53:1 on the focused tag, now 3.01:1 (R6: 3:1)
pub const theme = .{
.name = "rosebones_dark",
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:33 Normal guibg
- .bg = .{ 0x1a, 0x18, 0x25 },
+ .page = .{ 0x1a, 0x18, 0x25 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:33 Normal guifg
- .fg = .{ 0xe1, 0xd4, 0xd4 },
+ .text = .{ 0xe1, 0xd4, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:211 Visual guibg
- .sel_bg = .{ 0x52, 0x3a, 0x39 },
+ .selection = .{ 0x52, 0x3a, 0x39 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xe1, 0xd4, 0xd4 },
+ .selection_text = .{ 0xe1, 0xd4, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:198 StatusLineNC guibg
- .tag_bg = .{ 0x24, 0x22, 0x32 },
+ .tag = .{ 0x24, 0x22, 0x32 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:198 StatusLineNC guifg
- .tag_fg = .{ 0xe9, 0xe0, 0xe0 },
+ .tag_text = .{ 0xe9, 0xe0, 0xe0 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:195 StatusLine guibg #312e43, adjusted
- .tag_active_bg = .{ 0x42, 0x3e, 0x59 },
+ .tag_focus = .{ 0x42, 0x3e, 0x59 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:195 StatusLine guifg
- .tag_active_fg = .{ 0xe1, 0xd4, 0xd4 },
+ .tag_focus_text = .{ 0xe1, 0xd4, 0xd4 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/rosebones_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x5d, 0x59, 0x78 },
- // derived: the grip at rest, the accent #534e6f faded toward the unfocused tag #242232 as far as 1.6:1 off it (0.72 of the way)
- .box_dim = .{ 0x46, 0x42, 0x5e },
+ .accent = .{ 0x5d, 0x59, 0x78 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/rosebones.vim:41 Changed guifg
- .box_dirty = .{ 0x9c, 0xcf, 0xd8 },
+ .dirty = .{ 0x9c, 0xcf, 0xd8 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/rosebones.vim:207 Type guifg
- .column_box = .{ 0xdf, 0xde, 0xf1 },
+ .column_grip = .{ 0xdf, 0xde, 0xf1 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:191 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x31, 0x74, 0x90 },
+ .keyword = .{ 0x31, 0x74, 0x90 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:201 String guifg
- .str = .{ 0xbc, 0x94, 0x93 },
+ .string = .{ 0xbc, 0x94, 0x93 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:164 Number guifg
- .num = .{ 0xbc, 0x94, 0x93 },
+ .number = .{ 0xbc, 0x94, 0x93 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:47 Comment guifg
.comment = .{ 0x69, 0x65, 0x7e },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:150 LineNr guifg
- .lineno = .{ 0x62, 0x5d, 0x7f },
+ .line_number = .{ 0x62, 0x5d, 0x7f },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:62 CursorLineNr guifg
- .lineno_active = .{ 0xe1, 0xd4, 0xd4 },
+ .line_number_current = .{ 0xe1, 0xd4, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:167 PmenuSbar guibg
- .scroll_track = .{ 0x5a, 0x55, 0x78 },
+ .rail = .{ 0x5a, 0x55, 0x78 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:169 PmenuThumb guibg
- .scroll_thumb = .{ 0x84, 0x80, 0x9d },
+ .rail_thumb = .{ 0x84, 0x80, 0x9d },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:218 WinSeparator guifg
- .border = .{ 0x62, 0x5d, 0x7f },
+ .rule = .{ 0x62, 0x5d, 0x7f },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:172 Search guibg
- .search_bg = .{ 0x67, 0x35, 0x92 },
- // ~/05-genizah/zenbones.nvim/colors/rosebones.vim:172 Search guifg
- .search_fg = .{ 0xe1, 0xd4, 0xd4 },
+ .hit = .{ 0x67, 0x35, 0x92 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:113 Error guifg via DiagnosticError->Error (link :114)
- .diagnostic_error = .{ 0xeb, 0x71, 0x93 },
+ .@"error" = .{ 0xeb, 0x71, 0x93 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:212 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :213)
- .diagnostic_warning = .{ 0xf6, 0xc0, 0x74 },
+ .warning = .{ 0xf6, 0xc0, 0x74 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:72 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x9c, 0xcf, 0xd8 },
+ .info = .{ 0x9c, 0xcf, 0xd8 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:67 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xc4, 0xa7, 0xe7 },
- .palette = .{
+ .hint = .{ 0xc4, 0xa7, 0xe7 },
+ .ansi = .{
.{ 0x1a, 0x18, 0x25 }, // 0: ~/05-genizah/zenbones.nvim/colors/rosebones.vim:17 g:terminal_color_0
.{ 0xeb, 0x71, 0x93 }, // 1: ~/05-genizah/zenbones.nvim/colors/rosebones.vim:18 g:terminal_color_1
.{ 0x31, 0x74, 0x90 }, // 2: ~/05-genizah/zenbones.nvim/colors/rosebones.vim:19 g:terminal_color_2
diff --git a/core/themes/rosebones_light.zig b/core/themes/rosebones_light.zig
index 314424a6..0d8b4fa0 100644
--- a/core/themes/rosebones_light.zig
+++ b/core/themes/rosebones_light.zig
@@ -17,63 +17,67 @@
//! only), so it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #bea174 -> #896e42: 1.54:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - unsaved grip #5795a0 -> #3d7b86: 2.69:1 on the tag, now 3.82:1 (R6: 3:1 on both tags)
+//! - selection #eadddc -> #ecdad3: 1.23:1 off the page, now 1.26:1 (R7)
+//! - error #b5637a -> #a9586f: 3.88:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #ec9d33 -> #a16400: 2.07:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
+//! - info #5795a0 -> #3c7a85: 3.15:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #917ba9 -> #7e6995: 3.48:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "rosebones_light",
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:267 Normal guibg
- .bg = .{ 0xfb, 0xf6, 0xf0 },
+ .page = .{ 0xfb, 0xf6, 0xf0 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:267 Normal guifg
- .fg = .{ 0x72, 0x43, 0x41 },
+ .text = .{ 0x72, 0x43, 0x41 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:445 Visual guibg
- .sel_bg = .{ 0xea, 0xdd, 0xdc },
+ .selection = .{ 0xea, 0xdd, 0xdc },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x72, 0x43, 0x41 },
+ .selection_text = .{ 0x72, 0x43, 0x41 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:432 StatusLineNC guibg
- .tag_bg = .{ 0xf3, 0xe3, 0xcf },
+ .tag = .{ 0xf3, 0xe3, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:432 StatusLineNC guifg #ae6966, adjusted
- .tag_fg = .{ 0x8f, 0x56, 0x54 },
+ .tag_text = .{ 0x8f, 0x56, 0x54 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:429 StatusLine guibg #ecd0a9, adjusted
- .tag_active_bg = .{ 0xe9, 0xc8, 0x9a },
+ .tag_focus = .{ 0xe9, 0xc8, 0x9a },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:429 StatusLine guifg
- .tag_active_fg = .{ 0x72, 0x43, 0x41 },
+ .tag_focus_text = .{ 0x72, 0x43, 0x41 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/rosebones_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0xbe, 0xa1, 0x74 },
- // derived: the grip at rest, the accent #ceaf7e faded toward the unfocused tag #f3e3cf as far as 1.6:1 off it (0.96 of the way)
- .box_dim = .{ 0xcf, 0xb1, 0x81 },
+ .accent = .{ 0xbe, 0xa1, 0x74 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/rosebones.vim:275 Changed guifg
- .box_dirty = .{ 0x57, 0x95, 0xa0 },
+ .dirty = .{ 0x57, 0x95, 0xa0 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/rosebones.vim:441 Type guifg
- .column_box = .{ 0x57, 0x52, 0x7a },
+ .column_grip = .{ 0x57, 0x52, 0x7a },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:425 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x28, 0x6a, 0x84 },
+ .keyword = .{ 0x28, 0x6a, 0x84 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:435 String guifg
- .str = .{ 0xab, 0x67, 0x63 },
+ .string = .{ 0xab, 0x67, 0x63 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:398 Number guifg
- .num = .{ 0xab, 0x67, 0x63 },
+ .number = .{ 0xab, 0x67, 0x63 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:281 Comment guifg
.comment = .{ 0xa1, 0x8e, 0x72 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:384 LineNr guifg
- .lineno = .{ 0xb6, 0x9a, 0x6e },
+ .line_number = .{ 0xb6, 0x9a, 0x6e },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:296 CursorLineNr guifg
- .lineno_active = .{ 0x72, 0x43, 0x41 },
+ .line_number_current = .{ 0x72, 0x43, 0x41 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:401 PmenuSbar guibg
- .scroll_track = .{ 0xc5, 0xa7, 0x78 },
+ .rail = .{ 0xc5, 0xa7, 0x78 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:403 PmenuThumb guibg
- .scroll_thumb = .{ 0xfe, 0xfc, 0xfa },
+ .rail_thumb = .{ 0xfe, 0xfc, 0xfa },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:452 WinSeparator guifg
- .border = .{ 0xb6, 0x9a, 0x6e },
+ .rule = .{ 0xb6, 0x9a, 0x6e },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:406 Search guibg
- .search_bg = .{ 0xd1, 0xc9, 0xdc },
- // ~/05-genizah/zenbones.nvim/colors/rosebones.vim:406 Search guifg
- .search_fg = .{ 0x72, 0x43, 0x41 },
+ .hit = .{ 0xd1, 0xc9, 0xdc },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:347 Error guifg via DiagnosticError->Error (link :348)
- .diagnostic_error = .{ 0xb5, 0x63, 0x7a },
+ .@"error" = .{ 0xb5, 0x63, 0x7a },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:446 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :447)
- .diagnostic_warning = .{ 0xec, 0x9d, 0x33 },
+ .warning = .{ 0xec, 0x9d, 0x33 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:306 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x57, 0x95, 0xa0 },
+ .info = .{ 0x57, 0x95, 0xa0 },
// ~/05-genizah/zenbones.nvim/colors/rosebones.vim:301 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x91, 0x7b, 0xa9 },
- .palette = .{
+ .hint = .{ 0x91, 0x7b, 0xa9 },
+ .ansi = .{
.{ 0xfb, 0xf6, 0xf0 }, // 0: ~/05-genizah/zenbones.nvim/colors/rosebones.vim:251 g:terminal_color_0
.{ 0xb5, 0x63, 0x7a }, // 1: ~/05-genizah/zenbones.nvim/colors/rosebones.vim:252 g:terminal_color_1
.{ 0x28, 0x6a, 0x84 }, // 2: ~/05-genizah/zenbones.nvim/colors/rosebones.vim:253 g:terminal_color_2
diff --git a/core/themes/seoul256.zig b/core/themes/seoul256.zig
index d51ec310..0c4c17ab 100644
--- a/core/themes/seoul256.zig
+++ b/core/themes/seoul256.zig
@@ -35,164 +35,220 @@
//! so, its tabline_fg or tabline_bg role lands on an xterm index missing
//! from the default s:rgb_map, so Vim emits gui*=NONE and it inherits
//! Normal (given as such).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - dark_233: focused tag ground #9a7372 -> #4e4d4e: 3.08:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_233: focused grip #006a6c -> #55a8aa: 1.31:1 on the focused tag, now 3.03:1 (R6: 3:1)
+//! - dark_233, dark_234, dark_235, dark_236, dark_237: selection text #d9d9d9 -> #e3e3e3: 4.12:1 on the selection, now 4.53:1 (R7: 4.5:1)
+//! - dark_233: search hit #007299 -> #582929: 3.30:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - dark_233: error #e12672 -> #eb337a: 4.03:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_234: focused tag ground #9a7372 -> #595959: 2.54:1 off the tag, now 1.50:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_234: focused grip #006a6c -> #64b7b8: 1.09:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - dark_234: unsaved grip #719cdf -> #80acf0: 3.77:1 on the tag, now 4.55:1 (R6: 3:1 on both tags)
+//! - dark_234: search hit #007299 -> #643333: 2.82:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - dark_234: error #e12672 -> #fa4386: 3.45:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_235: focused tag ground #9a7372 -> #666666: 2.11:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_235: focused grip #006a6c -> #76c9ca: 1.12:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - dark_235: unsaved grip #719cdf -> #94befe: 3.13:1 on the tag, now 4.59:1 (R6: 3:1 on both tags)
+//! - dark_235: search hit #007299 -> #723f3f: 2.35:1 off the page, now 1.52:1 (R8: 1.5:1, the text reading on it)
+//! - dark_235: error #e12672 -> #ff6395: 2.87:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_236: focused tag ground #9a7372 -> #717171: 1.77:1 off the tag, now 1.50:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_236: focused grip #006a6c -> #86d9da: 1.31:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - dark_236: unsaved grip #719cdf -> #adcdfe: 2.63:1 on the tag, now 4.52:1 (R6: 3:1 on both tags)
+//! - dark_236: search hit #007299 -> #7e4b4a: 1.94:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
+//! - dark_236: error #e12672 -> #ff82a5: 2.37:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_237: tag ground #616161 -> #545454: 1.41:1 off the page, now 1.15:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - dark_237: focused tag ground #9d7473 -> #6f6f6f: 1.87:1 off the tag, now 1.51:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_237: focused grip #006c6e -> #82d6d8: 1.24:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - dark_237: unsaved grip #719cdf -> #a8cafe: 2.71:1 on the tag, now 4.52:1 (R6: 3:1 on both tags)
+//! - dark_237: search hit #007299 -> #7a5932: 1.61:1 off the page, now 1.37:1 (R8: 1.5:1, the text reading on it)
+//! - dark_237: error #e12672 -> #fe9fb7: 1.96:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_237: warning #e09b99 -> #deb565: 3.87:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_238: tag ground #6b6b6b -> #606060: 1.38:1 off the page, now 1.17:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - dark_238: focused tag ground #b97877 -> #7c7c7c: 1.80:1 off the tag, now 1.51:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_238: focused grip #007173 -> #003a3c: 1.39:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - dark_238: unsaved grip #719cdf -> #c7ddfe: 2.25:1 on the tag, now 4.55:1 (R6: 3:1 on both tags)
+//! - dark_238: selection #007173 -> #13797b: 1.26:1 off the page, now 1.42:1 (R7)
+//! - dark_238: selection text #d9d9d9 -> #efefef: 3.67:1 on the selection, now 4.51:1 (R7: 4.5:1)
+//! - dark_238: search hit #007299 -> #7a5932: 1.35:1 off the page, now 1.15:1 (R8: 1.5:1, the text reading on it)
+//! - dark_238: error #e12672 -> #feb8c8: 1.65:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_238: warning #e09b99 -> #eec575: 3.26:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_239: focused tag ground #ac8f86 -> #949494: 1.54:1 off the tag, now 1.52:1 (R4, H: a focus step off the tag, and the loudest)
+//! - dark_239: focused grip #007173 -> #005153: 1.92:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - dark_239: unsaved grip #719cdf -> #032a63: 1.65:1 on the tag, now 3.01:1 (R6: 3:1 on both tags)
+//! - dark_239: selection #007173 -> #278587: 1.06:1 off the page, now 1.41:1 (R7)
+//! - dark_239: selection text #d9d9d9 -> #0a0a0a: 3.11:1 on the selection, now 4.52:1 (R7: 4.5:1)
+//! - dark_239: search hit #007299 -> #83613a: 1.14:1 off the page, now 1.10:1 (R8: 1.5:1, the text reading on it)
+//! - dark_239: error #e12672 -> #ffd2d0: 1.39:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - dark_239: warning #e09b99 -> #ffd78b: 2.75:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - light_252, light_253, light_254, light_255, light_256: focused grip #4b6465 -> #213839: 1.53:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - light_252: unsaved grip #719cdf -> #0b326c: 1.67:1 on the tag, now 7.44:1 (R6: 3:1 on both tags)
+//! - light_252: selection #bcdede -> #a8c9c9: 1.02:1 off the page, now 1.25:1 (R7)
+//! - light_252: selection text #616161 -> #505050: 3.50:1 on the selection, now 4.56:1 (R7: 4.5:1)
+//! - light_252: search hit #a6e6fe -> #febfbc: 1.03:1 off the page, now 1.11:1 (R8: 1.5:1, the text reading on it)
+//! - light_252: error #e12672 -> #bc045a: 3.15:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
+//! - light_252: warning #be7572 -> #904b4a: 2.49:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - light_253: unsaved grip #719cdf -> #0b326c: 1.81:1 on the tag, now 8.09:1 (R6: 3:1 on both tags)
+//! - light_253: selection #bcdede -> #aed0d0: 1.10:1 off the page, now 1.26:1 (R7)
+//! - light_253: selection text #616161 -> #555555: 3.76:1 on the selection, now 4.52:1 (R7: 4.5:1)
+//! - light_253: search hit #a6e6fe -> #fecac7: 1.04:1 off the page, now 1.11:1 (R8: 1.5:1, the text reading on it)
+//! - light_253: error #e12672 -> #c4095f: 3.40:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - light_253: warning #be7572 -> #95504f: 2.69:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - light_254: unsaved grip #719cdf -> #0b326c: 1.98:1 on the tag, now 8.82:1 (R6: 3:1 on both tags)
+//! - light_254: selection #bcdede -> #b7d8d8: 1.18:1 off the page, now 1.25:1 (R7)
+//! - light_254: selection text #616161 -> #5a5a5a: 4.08:1 on the selection, now 4.54:1 (R7: 4.5:1)
+//! - light_254: error #e12672 -> #cf0064: 3.66:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - light_254: warning #be7572 -> #9b5553: 2.89:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - light_255: unsaved grip #719cdf -> #0b326c: 2.13:1 on the tag, now 9.52:1 (R6: 3:1 on both tags)
+//! - light_255, light_256: selection text #616161 -> #5e5e5e: 4.32:1 on the selection, now 4.52:1 (R7: 4.5:1)
+//! - light_255: error #e12672 -> #d51169: 3.94:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - light_255: warning #be7572 -> #a05a58: 3.11:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - light_256: unsaved grip #719cdf -> #0b326c: 2.30:1 on the tag, now 10.25:1 (R6: 3:1 on both tags)
+//! - light_256: error #e12672 -> #df2471: 4.45:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - light_256: warning #be7572 -> #aa6361: 3.51:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
const std = @import("std");
/// What a dark level changes; each row cites where its values come from.
const Dark = struct {
level: u16,
- bg: [3]u8,
- tag_bg: [3]u8,
- tag_fg: [3]u8,
- tag_active_bg: [3]u8,
- tag_active_fg: [3]u8,
- box: [3]u8,
- box_dim: [3]u8,
- border: [3]u8,
+ page: [3]u8,
+ tag: [3]u8,
+ tag_text: [3]u8,
+ tag_focus: [3]u8,
+ tag_focus_text: [3]u8,
+ accent: [3]u8,
+ rule: [3]u8,
};
const dark_levels = [_]Dark{
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 233 -> s:rgb_map[233] S:132
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 235 -> s:rgb_map[235] S:132
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #333233 as far as 1.6:1 off it (0.66 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 16 -> s:rgb_map[16] S:120 #000000, adjusted
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 233 -> s:rgb_map[233] S:132
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 235 -> s:rgb_map[235] S:132
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 16 -> s:rgb_map[16] S:120 #000000, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #007173 -> #006a6c: 1.40:1 on the focused tag #9a7372
// adjusted: rules between panes #000000 -> #3d3d3d: 1.17:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 233, .bg = .{ 0x17, 0x17, 0x17 }, .tag_bg = .{ 0x33, 0x32, 0x33 }, .tag_fg = .{ 0xdf, 0xde, 0xbd }, .tag_active_bg = .{ 0x9a, 0x73, 0x72 }, .tag_active_fg = .{ 0x12, 0x12, 0x0f }, .box = .{ 0x00, 0x6a, 0x6c }, .box_dim = .{ 0x11, 0x5c, 0x5d }, .border = .{ 0x3d, 0x3d, 0x3d } },
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 234 -> s:rgb_map[234] S:132
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 236 -> s:rgb_map[236] S:132
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #3f3f3f as far as 1.6:1 off it (0.84 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 232 -> s:rgb_map[232] S:131 #060606, adjusted
+ .{ .level = 233, .page = .{ 0x17, 0x17, 0x17 }, .tag = .{ 0x33, 0x32, 0x33 }, .tag_text = .{ 0xdf, 0xde, 0xbd }, .tag_focus = .{ 0x9a, 0x73, 0x72 }, .tag_focus_text = .{ 0x12, 0x12, 0x0f }, .accent = .{ 0x00, 0x6a, 0x6c }, .rule = .{ 0x3d, 0x3d, 0x3d } },
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 234 -> s:rgb_map[234] S:132
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 236 -> s:rgb_map[236] S:132
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 232 -> s:rgb_map[232] S:131 #060606, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #007173 -> #006a6c: 1.40:1 on the focused tag #9a7372
// adjusted: rules between panes #060606 -> #4a4a4a: 1.32:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 234, .bg = .{ 0x25, 0x25, 0x25 }, .tag_bg = .{ 0x3f, 0x3f, 0x3f }, .tag_fg = .{ 0xdf, 0xde, 0xbd }, .tag_active_bg = .{ 0x9a, 0x73, 0x72 }, .tag_active_fg = .{ 0x12, 0x12, 0x0f }, .box = .{ 0x00, 0x6a, 0x6c }, .box_dim = .{ 0x0a, 0x69, 0x6b }, .border = .{ 0x4a, 0x4a, 0x4a } },
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 235 -> s:rgb_map[235] S:132
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 237 -> s:rgb_map[237] S:132
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #4b4b4b as far as 1.6:1 off it (1.00 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 233 -> s:rgb_map[233] S:132 #171717, adjusted
+ .{ .level = 234, .page = .{ 0x25, 0x25, 0x25 }, .tag = .{ 0x3f, 0x3f, 0x3f }, .tag_text = .{ 0xdf, 0xde, 0xbd }, .tag_focus = .{ 0x9a, 0x73, 0x72 }, .tag_focus_text = .{ 0x12, 0x12, 0x0f }, .accent = .{ 0x00, 0x6a, 0x6c }, .rule = .{ 0x4a, 0x4a, 0x4a } },
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 235 -> s:rgb_map[235] S:132
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 237 -> s:rgb_map[237] S:132
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 233 -> s:rgb_map[233] S:132 #171717, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #007173 -> #006a6c: 1.40:1 on the focused tag #9a7372
// adjusted: rules between panes #171717 -> #515151: 1.40:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 235, .bg = .{ 0x33, 0x32, 0x33 }, .tag_bg = .{ 0x4b, 0x4b, 0x4b }, .tag_fg = .{ 0xdf, 0xde, 0xbd }, .tag_active_bg = .{ 0x9a, 0x73, 0x72 }, .tag_active_fg = .{ 0x12, 0x12, 0x0f }, .box = .{ 0x00, 0x6a, 0x6c }, .box_dim = .{ 0x0a, 0x77, 0x79 }, .border = .{ 0x51, 0x51, 0x51 } },
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 236 -> s:rgb_map[236] S:132
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 238 -> s:rgb_map[238] S:133
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #565656 as far as 1.6:1 off it (1.00 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 234 -> s:rgb_map[234] S:132 #252525, adjusted
+ .{ .level = 235, .page = .{ 0x33, 0x32, 0x33 }, .tag = .{ 0x4b, 0x4b, 0x4b }, .tag_text = .{ 0xdf, 0xde, 0xbd }, .tag_focus = .{ 0x9a, 0x73, 0x72 }, .tag_focus_text = .{ 0x12, 0x12, 0x0f }, .accent = .{ 0x00, 0x6a, 0x6c }, .rule = .{ 0x51, 0x51, 0x51 } },
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 236 -> s:rgb_map[236] S:132
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 238 -> s:rgb_map[238] S:133
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 234 -> s:rgb_map[234] S:132 #252525, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #007173 -> #006a6c: 1.40:1 on the focused tag #9a7372
// adjusted: rules between panes #252525 -> #5f5f5f: 1.46:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 236, .bg = .{ 0x3f, 0x3f, 0x3f }, .tag_bg = .{ 0x56, 0x56, 0x56 }, .tag_fg = .{ 0xdf, 0xde, 0xbd }, .tag_active_bg = .{ 0x9a, 0x73, 0x72 }, .tag_active_fg = .{ 0x12, 0x12, 0x0f }, .box = .{ 0x00, 0x6a, 0x6c }, .box_dim = .{ 0x24, 0x85, 0x87 }, .border = .{ 0x5f, 0x5f, 0x5f } },
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 237 -> s:rgb_map[237] S:132
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 239 -> s:rgb_map[239] S:133
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124 #9a7372, adjusted
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #616161 as far as 1.6:1 off it (1.00 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 235 -> s:rgb_map[235] S:132 #333233, adjusted
+ .{ .level = 236, .page = .{ 0x3f, 0x3f, 0x3f }, .tag = .{ 0x56, 0x56, 0x56 }, .tag_text = .{ 0xdf, 0xde, 0xbd }, .tag_focus = .{ 0x9a, 0x73, 0x72 }, .tag_focus_text = .{ 0x12, 0x12, 0x0f }, .accent = .{ 0x00, 0x6a, 0x6c }, .rule = .{ 0x5f, 0x5f, 0x5f } },
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 237 -> s:rgb_map[237] S:132
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 239 -> s:rgb_map[239] S:133
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124 #9a7372, adjusted
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 235 -> s:rgb_map[235] S:132 #333233, adjusted
// adjusted: focused tag ground #9a7372 -> #9d7473: 1.50:1 off the unfocused #616161, pardes needs 1.5:1 on a dark page
// adjusted: focused tag text #dfdebd -> #12120f: 2.96:1 on #9d7473, tag text needs 4.5:1
// adjusted: focused grip #007173 -> #006c6e: 1.43:1 on the focused tag #9d7473
// adjusted: rules between panes #333233 -> #6b6b6b: 1.46:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
- .{ .level = 237, .bg = .{ 0x4b, 0x4b, 0x4b }, .tag_bg = .{ 0x61, 0x61, 0x61 }, .tag_fg = .{ 0xdf, 0xde, 0xbd }, .tag_active_bg = .{ 0x9d, 0x74, 0x73 }, .tag_active_fg = .{ 0x12, 0x12, 0x0f }, .box = .{ 0x00, 0x6c, 0x6e }, .box_dim = .{ 0x38, 0x90, 0x92 }, .border = .{ 0x6b, 0x6b, 0x6b } },
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 238 -> s:rgb_map[238] S:133
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 240 -> s:rgb_map[240] S:133
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129 #dfdebd, adjusted
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124 #9a7372, adjusted
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #6b6b6b as far as 1.6:1 off it (1.00 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 236 -> s:rgb_map[236] S:132 #3f3f3f, adjusted
+ .{ .level = 237, .page = .{ 0x4b, 0x4b, 0x4b }, .tag = .{ 0x61, 0x61, 0x61 }, .tag_text = .{ 0xdf, 0xde, 0xbd }, .tag_focus = .{ 0x9d, 0x74, 0x73 }, .tag_focus_text = .{ 0x12, 0x12, 0x0f }, .accent = .{ 0x00, 0x6c, 0x6e }, .rule = .{ 0x6b, 0x6b, 0x6b } },
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 238 -> s:rgb_map[238] S:133
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 240 -> s:rgb_map[240] S:133
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129 #dfdebd, adjusted
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124 #9a7372, adjusted
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 236 -> s:rgb_map[236] S:132 #3f3f3f, adjusted
// adjusted: focused tag ground #9a7372 -> #b97877: 1.29:1 off the unfocused #6b6b6b, pardes needs 1.5:1 on a dark page
// adjusted: unfocused tag text #dfdebd -> #eeeddb: 3.89:1 on #6b6b6b, tag text needs 4.5:1 to be read and run
// adjusted: focused tag text #dfdebd -> #1f1f1a: 2.55:1 on #b97877, tag text needs 4.5:1
// adjusted: rules between panes #3f3f3f -> #767676: 1.43:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_bg inherits Normal
- .{ .level = 238, .bg = .{ 0x56, 0x56, 0x56 }, .tag_bg = .{ 0x6b, 0x6b, 0x6b }, .tag_fg = .{ 0xee, 0xed, 0xdb }, .tag_active_bg = .{ 0xb9, 0x78, 0x77 }, .tag_active_fg = .{ 0x1f, 0x1f, 0x1a }, .box = .{ 0x00, 0x71, 0x73 }, .box_dim = .{ 0x4d, 0x9c, 0x9d }, .border = .{ 0x76, 0x76, 0x76 } },
- // bg: S:206 Normal guibg = s:hi arg s:dark_bg = 239 -> s:rgb_map[239] S:133
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 241 -> s:rgb_map[241] S:133
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129 #dfdebd, adjusted
- // tag_active_bg: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124 #9a7372, adjusted
- // box_dim: derived: the grip at rest, the accent #007173 faded toward the unfocused tag #757575 as far as 1.6:1 off it (1.00 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 237 -> s:rgb_map[237] S:132 #4b4b4b, adjusted
+ .{ .level = 238, .page = .{ 0x56, 0x56, 0x56 }, .tag = .{ 0x6b, 0x6b, 0x6b }, .tag_text = .{ 0xee, 0xed, 0xdb }, .tag_focus = .{ 0xb9, 0x78, 0x77 }, .tag_focus_text = .{ 0x1f, 0x1f, 0x1a }, .accent = .{ 0x00, 0x71, 0x73 }, .rule = .{ 0x76, 0x76, 0x76 } },
+ // page: S:206 Normal guibg = s:hi arg s:dark_bg = 239 -> s:rgb_map[239] S:133
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:dark_bg + 2 = 241 -> s:rgb_map[241] S:133
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129 #dfdebd, adjusted
+ // tag_focus: S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124 #9a7372, adjusted
+ // rule: S:287 VertSplit guifg = s:hi arg s:dark_bg_2 = 237 -> s:rgb_map[237] S:132 #4b4b4b, adjusted
// adjusted: focused tag ground #9a7372 -> #ac8f86: 1.11:1 off the unfocused #757575, pardes needs 1.5:1 on a dark page
// adjusted: unfocused tag text #dfdebd -> #fdfdfb: 3.36:1 on #757575, tag text needs 4.5:1 to be read and run
// adjusted: focused tag text #dfdebd -> #2d2c26: 2.18:1 on #ac8f86, tag text needs 4.5:1
// adjusted: rules between panes #4b4b4b -> #848484: 1.41:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_bg inherits Normal
- .{ .level = 239, .bg = .{ 0x61, 0x61, 0x61 }, .tag_bg = .{ 0x75, 0x75, 0x75 }, .tag_fg = .{ 0xfd, 0xfd, 0xfb }, .tag_active_bg = .{ 0xac, 0x8f, 0x86 }, .tag_active_fg = .{ 0x2d, 0x2c, 0x26 }, .box = .{ 0x00, 0x71, 0x73 }, .box_dim = .{ 0x61, 0xa7, 0xa8 }, .border = .{ 0x84, 0x84, 0x84 } },
+ .{ .level = 239, .page = .{ 0x61, 0x61, 0x61 }, .tag = .{ 0x75, 0x75, 0x75 }, .tag_text = .{ 0xfd, 0xfd, 0xfb }, .tag_focus = .{ 0xac, 0x8f, 0x86 }, .tag_focus_text = .{ 0x2d, 0x2c, 0x26 }, .accent = .{ 0x00, 0x71, 0x73 }, .rule = .{ 0x84, 0x84, 0x84 } },
};
/// What a light level changes; each row cites where its values come from.
const Light = struct {
level: u16,
- bg: [3]u8,
- tag_bg: [3]u8,
- tag_fg: [3]u8,
- box_dim: [3]u8,
- border: [3]u8,
+ page: [3]u8,
+ tag: [3]u8,
+ tag_text: [3]u8,
+ rule: [3]u8,
};
const light_levels = [_]Light{
- // bg: S:206 Normal guibg = s:hi arg s:light_bg = 252 -> s:rgb_map[252] S:134
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 250 -> s:rgb_map[250] S:134
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133 #565656, adjusted
- // box_dim: derived: the grip at rest, the accent #719899 faded toward the unfocused tag #c8c8c8 as far as 1.6:1 off it (0.78 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 249 -> s:rgb_map[249] S:133 #bfbfbf, adjusted
+ // page: S:206 Normal guibg = s:hi arg s:light_bg = 252 -> s:rgb_map[252] S:134
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 250 -> s:rgb_map[250] S:134
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133 #565656, adjusted
+ // rule: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 249 -> s:rgb_map[249] S:133 #bfbfbf, adjusted
// adjusted: unfocused tag text #565656 -> #545454: 4.39:1 on #c8c8c8, tag text needs 4.5:1 to be read and run
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #719899 -> #4b6465: 1.31:1 on the focused tag #9a7372
// adjusted: rules between panes #bfbfbf -> #acacac: 1.30:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_bg inherits Normal
- .{ .level = 252, .bg = .{ 0xd9, 0xd9, 0xd9 }, .tag_bg = .{ 0xc8, 0xc8, 0xc8 }, .tag_fg = .{ 0x54, 0x54, 0x54 }, .box_dim = .{ 0x84, 0xa3, 0xa3 }, .border = .{ 0xac, 0xac, 0xac } },
- // bg: S:206 Normal guibg = s:hi arg s:light_bg = 253 -> s:rgb_map[253] S:134
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 251 -> s:rgb_map[251] S:134
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
- // box_dim: derived: the grip at rest, the accent #719899 faded toward the unfocused tag #d1d0d1 as far as 1.6:1 off it (0.70 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 250 -> s:rgb_map[250] S:134 #c8c8c8, adjusted
+ .{ .level = 252, .page = .{ 0xd9, 0xd9, 0xd9 }, .tag = .{ 0xc8, 0xc8, 0xc8 }, .tag_text = .{ 0x54, 0x54, 0x54 }, .rule = .{ 0xac, 0xac, 0xac } },
+ // page: S:206 Normal guibg = s:hi arg s:light_bg = 253 -> s:rgb_map[253] S:134
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 251 -> s:rgb_map[251] S:134
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
+ // rule: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 250 -> s:rgb_map[250] S:134 #c8c8c8, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #719899 -> #4b6465: 1.31:1 on the focused tag #9a7372
// adjusted: rules between panes #c8c8c8 -> #b3b3b3: 1.28:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
- .{ .level = 253, .bg = .{ 0xe1, 0xe1, 0xe1 }, .tag_bg = .{ 0xd1, 0xd0, 0xd1 }, .tag_fg = .{ 0x56, 0x56, 0x56 }, .box_dim = .{ 0x8e, 0xa9, 0xaa }, .border = .{ 0xb3, 0xb3, 0xb3 } },
- // bg: S:206 Normal guibg = s:hi arg s:light_bg = 254 -> s:rgb_map[254] S:134
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 252 -> s:rgb_map[252] S:134
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
- // box_dim: derived: the grip at rest, the accent #719899 faded toward the unfocused tag #d9d9d9 as far as 1.6:1 off it (0.64 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 251 -> s:rgb_map[251] S:134 #d1d0d1, adjusted
+ .{ .level = 253, .page = .{ 0xe1, 0xe1, 0xe1 }, .tag = .{ 0xd1, 0xd0, 0xd1 }, .tag_text = .{ 0x56, 0x56, 0x56 }, .rule = .{ 0xb3, 0xb3, 0xb3 } },
+ // page: S:206 Normal guibg = s:hi arg s:light_bg = 254 -> s:rgb_map[254] S:134
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 252 -> s:rgb_map[252] S:134
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
+ // rule: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 251 -> s:rgb_map[251] S:134 #d1d0d1, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #719899 -> #4b6465: 1.31:1 on the focused tag #9a7372
// adjusted: rules between panes #d1d0d1 -> #b8b8b8: 1.27:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 254, .bg = .{ 0xe9, 0xe9, 0xe9 }, .tag_bg = .{ 0xd9, 0xd9, 0xd9 }, .tag_fg = .{ 0x56, 0x56, 0x56 }, .box_dim = .{ 0x96, 0xaf, 0xb0 }, .border = .{ 0xb8, 0xb8, 0xb8 } },
- // bg: S:206 Normal guibg = s:hi arg s:light_bg = 255 -> s:rgb_map[255] S:135
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 253 -> s:rgb_map[253] S:134
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
- // box_dim: derived: the grip at rest, the accent #719899 faded toward the unfocused tag #e1e1e1 as far as 1.6:1 off it (0.58 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 252 -> s:rgb_map[252] S:134 #d9d9d9, adjusted
+ .{ .level = 254, .page = .{ 0xe9, 0xe9, 0xe9 }, .tag = .{ 0xd9, 0xd9, 0xd9 }, .tag_text = .{ 0x56, 0x56, 0x56 }, .rule = .{ 0xb8, 0xb8, 0xb8 } },
+ // page: S:206 Normal guibg = s:hi arg s:light_bg = 255 -> s:rgb_map[255] S:135
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 253 -> s:rgb_map[253] S:134
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
+ // rule: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 252 -> s:rgb_map[252] S:134 #d9d9d9, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #719899 -> #4b6465: 1.31:1 on the focused tag #9a7372
// adjusted: rules between panes #d9d9d9 -> #bfbfbf: 1.25:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 255, .bg = .{ 0xf1, 0xf1, 0xf1 }, .tag_bg = .{ 0xe1, 0xe1, 0xe1 }, .tag_fg = .{ 0x56, 0x56, 0x56 }, .box_dim = .{ 0xa0, 0xb7, 0xb7 }, .border = .{ 0xbf, 0xbf, 0xbf } },
- // bg: S:206 Normal guibg = s:hi arg s:light_bg = 256 (256>255 -> 231 per S:184-185) -> s:rgb_map[231] S:131
- // tag_bg: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 254 -> s:rgb_map[254] S:134
- // tag_fg: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
- // box_dim: derived: the grip at rest, the accent #719899 faded toward the unfocused tag #e9e9e9 as far as 1.6:1 off it (0.54 of the way)
- // border: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 253 -> s:rgb_map[253] S:134 #e1e1e1, adjusted
+ .{ .level = 255, .page = .{ 0xf1, 0xf1, 0xf1 }, .tag = .{ 0xe1, 0xe1, 0xe1 }, .tag_text = .{ 0x56, 0x56, 0x56 }, .rule = .{ 0xbf, 0xbf, 0xbf } },
+ // page: S:206 Normal guibg = s:hi arg s:light_bg = 256 (256>255 -> 231 per S:184-185) -> s:rgb_map[231] S:131
+ // tag: S:351 StatusLineNC guifg = s:hi arg s:light_bg - 2 = 254 -> s:rgb_map[254] S:134
+ // tag_text: S:351 StatusLineNC guibg = s:hi arg 238 = 238 -> s:rgb_map[238] S:133
+ // rule: S:287 VertSplit guifg = s:hi arg s:light_bg - 3 = 253 -> s:rgb_map[253] S:134 #e1e1e1, adjusted
// adjusted: focused tag text #dfdebd -> #12120f: 3.02:1 on #9a7372, tag text needs 4.5:1
// adjusted: focused grip #719899 -> #4b6465: 1.31:1 on the focused tag #9a7372
// adjusted: rules between panes #e1e1e1 -> #cacaca: 1.31:1 off the page, lifted toward the text to 1.6:1 (as colors.zig separatorOf does)
// index gap: tabline_fg inherits Normal
- .{ .level = 256, .bg = .{ 0xff, 0xff, 0xff }, .tag_bg = .{ 0xe9, 0xe9, 0xe9 }, .tag_fg = .{ 0x56, 0x56, 0x56 }, .box_dim = .{ 0xa8, 0xbd, 0xbe }, .border = .{ 0xca, 0xca, 0xca } },
+ .{ .level = 256, .page = .{ 0xff, 0xff, 0xff }, .tag = .{ 0xe9, 0xe9, 0xe9 }, .tag_text = .{ 0x56, 0x56, 0x56 }, .rule = .{ 0xca, 0xca, 0xca } },
};
/// The dark style at background `level` (233 to 239).
@@ -204,58 +260,55 @@ pub fn dark(comptime level: u16) type {
pub const theme = .{
.name = std.fmt.comptimePrint("seoul256_dark_{d}", .{level}),
// the level's own, cited in its row of dark_levels
- .bg = own.bg,
+ .page = own.page,
// S:206 Normal guifg = s:hi arg s:dark_fg = 252 -> s:rgb_map[252] S:134
- .fg = .{ 0xd9, 0xd9, 0xd9 },
+ .text = .{ 0xd9, 0xd9, 0xd9 },
// S:209 Visual guibg = s:hi arg 23 = 23 -> s:rgb_map[23] S:121
- .sel_bg = .{ 0x00, 0x71, 0x73 },
+ .selection = .{ 0x00, 0x71, 0x73 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xd9, 0xd9, 0xd9 },
+ .selection_text = .{ 0xd9, 0xd9, 0xd9 },
// the level's own, cited in its row of dark_levels
- .tag_bg = own.tag_bg,
+ .tag = own.tag,
// the level's own, cited in its row of dark_levels
- .tag_fg = own.tag_fg,
+ .tag_text = own.tag_text,
// the level's own, cited in its row of dark_levels
- .tag_active_bg = own.tag_active_bg,
+ .tag_focus = own.tag_focus,
// S:350 StatusLine guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129; rendered as the bar text because S:354 sets gui=bold,reverse #dfdebd, adjusted
- .tag_active_fg = own.tag_active_fg,
+ .tag_focus_text = own.tag_focus_text,
// the focused grip: S:359 TabLineSel guibg = s:hi arg 23 = 23 -> s:rgb_map[23] S:121 (accent: the selected-tab background, TabLineSel, the file's only coloured focus marker; the airline/lightline seoul256 themes live outside this repo)
- .box = own.box,
+ .accent = own.accent,
// the level's own, cited in its row of dark_levels
- .box_dim = own.box_dim,
// an unsaved grip: the original's modified colour, S:396 GitGutterChange guifg = s:hi arg 68 = 68 -> s:rgb_map[68] S:123 (modified: vim-gitgutter Changed sign)
- .box_dirty = .{ 0x71, 0x9c, 0xdf },
+ .dirty = .{ 0x71, 0x9c, 0xdf },
// derived: the column grip, the original's type colour, S:247 Type guifg = s:hi arg 179 = 179 -> s:rgb_map[179] S:129
- .column_box = .{ 0xdf, 0xbc, 0x72 },
+ .column_grip = .{ 0xdf, 0xbc, 0x72 },
// S:253 Keyword guifg = s:hi arg 168 = 168 -> s:rgb_map[168] S:128
- .kw = .{ 0xe1, 0x78, 0x99 },
+ .keyword = .{ 0xe1, 0x78, 0x99 },
// S:216 String guifg = s:hi arg 109 = 109 -> s:rgb_map[109] S:125
- .str = .{ 0x98, 0xbc, 0xbd },
+ .string = .{ 0x98, 0xbc, 0xbd },
// S:213 Number guifg = s:hi arg 222 = 222 -> s:rgb_map[222] S:131
- .num = .{ 0xff, 0xde, 0x99 },
+ .number = .{ 0xff, 0xde, 0x99 },
// S:212 Comment guifg = s:hi arg 65 = 65 -> s:rgb_map[65] S:123
.comment = .{ 0x71, 0x98, 0x72 },
// S:208 LineNr guifg = s:hi arg 101 = 101 -> s:rgb_map[101] S:125
- .lineno = .{ 0x99, 0x98, 0x72 },
+ .line_number = .{ 0x99, 0x98, 0x72 },
// S:276 CursorLineNr guifg = s:hi arg 131 = 131 -> s:rgb_map[131] S:126
- .lineno_active = .{ 0xbe, 0x75, 0x72 },
+ .line_number_current = .{ 0xbe, 0x75, 0x72 },
// S:306 PmenuSbar guibg = s:hi arg 65 = 65 -> s:rgb_map[65] S:123
- .scroll_track = .{ 0x71, 0x98, 0x72 },
+ .rail = .{ 0x71, 0x98, 0x72 },
// S:307 PmenuThumb guibg = s:hi arg 23 = 23 -> s:rgb_map[23] S:121
- .scroll_thumb = .{ 0x00, 0x71, 0x73 },
+ .rail_thumb = .{ 0x00, 0x71, 0x73 },
// the level's own, cited in its row of dark_levels
- .border = own.border,
+ .rule = own.rule,
// S:309 Search guibg = s:hi arg 24 = 24 -> s:rgb_map[24] S:121
- .search_bg = .{ 0x00, 0x72, 0x99 },
- // S:309 Search guifg = s:hi arg s:dark_fg = 252 -> s:rgb_map[252] S:134
- .search_fg = .{ 0xd9, 0xd9, 0xd9 },
+ .hit = .{ 0x00, 0x72, 0x99 },
// S:402 ALEErrorSign guifg = s:hi arg 161 = 161 -> s:rgb_map[161] S:128 (no Diagnostic* groups; ALE error sign used)
- .diagnostic_error = .{ 0xe1, 0x26, 0x72 },
+ .@"error" = .{ 0xe1, 0x26, 0x72 },
// S:403 ALEWarningSign guifg = s:hi arg 174 = 174 -> s:rgb_map[174] S:128 (no Diagnostic* groups; ALE warning sign used)
- .diagnostic_warning = .{ 0xe0, 0x9b, 0x99 },
+ .warning = .{ 0xe0, 0x9b, 0x99 },
// The official urxvt port (the vim colorscheme sets no terminal
// colours), U = ~/05-genizah/seoul256.vim/urxvt/seoul256.
- .palette = .{
+ .ansi = .{
.{ 0x4e, 0x4e, 0x4e }, // 0: U:5 URxvt*color0
.{ 0xd6, 0x87, 0x87 }, // 1: U:6 URxvt*color1
.{ 0x5f, 0x86, 0x5f }, // 2: U:7 URxvt*color2
@@ -286,58 +339,56 @@ pub fn light(comptime level: u16) type {
pub const theme = .{
.name = std.fmt.comptimePrint("seoul256_light_{d}", .{level}),
// the level's own, cited in its row of light_levels
- .bg = own.bg,
+ .page = own.page,
// S:206 Normal guifg = s:hi arg s:light_fg = 239 -> s:rgb_map[239] S:133
- .fg = .{ 0x61, 0x61, 0x61 },
+ .text = .{ 0x61, 0x61, 0x61 },
// S:209 Visual guibg = s:hi arg 152 = 152 -> s:rgb_map[152] S:127
- .sel_bg = .{ 0xbc, 0xde, 0xde },
+ .selection = .{ 0xbc, 0xde, 0xde },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x61, 0x61, 0x61 },
+ .selection_text = .{ 0x61, 0x61, 0x61 },
// the level's own, cited in its row of light_levels
- .tag_bg = own.tag_bg,
+ .tag = own.tag,
// the level's own, cited in its row of light_levels
- .tag_fg = own.tag_fg,
+ .tag_text = own.tag_text,
// S:350 StatusLine guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124; rendered as the bar background because S:354 sets gui=bold,reverse
- .tag_active_bg = .{ 0x9a, 0x73, 0x72 },
+ .tag_focus = .{ 0x9a, 0x73, 0x72 },
// S:350 StatusLine guibg = s:hi arg 187 = 187 -> s:rgb_map[187] S:129; rendered as the bar text because S:354 sets gui=bold,reverse #dfdebd, adjusted
- .tag_active_fg = .{ 0x12, 0x12, 0x0f },
+ .tag_focus_text = .{ 0x12, 0x12, 0x0f },
// the focused grip: S:359 TabLineSel guibg = s:hi arg 66 = 66 -> s:rgb_map[66] S:123 (accent: the selected-tab background, TabLineSel, the file's only coloured focus marker; the airline/lightline seoul256 themes live outside this repo)
- .box = .{ 0x4b, 0x64, 0x65 },
+ .accent = .{ 0x4b, 0x64, 0x65 },
// the level's own, cited in its row of light_levels
- .box_dim = own.box_dim,
// an unsaved grip: the original's modified colour, S:396 GitGutterChange guifg = s:hi arg 68 = 68 -> s:rgb_map[68] S:123 (modified: vim-gitgutter Changed sign)
- .box_dirty = .{ 0x71, 0x9c, 0xdf },
+ .dirty = .{ 0x71, 0x9c, 0xdf },
// derived: the column grip, the original's type colour, S:247 Type guifg = s:hi arg 94 = 94 -> s:rgb_map[94] S:124
- .column_box = .{ 0x9a, 0x72, 0x00 },
+ .column_grip = .{ 0x9a, 0x72, 0x00 },
// S:253 Keyword guifg = s:hi arg 168 = 168 -> s:rgb_map[168] S:128
- .kw = .{ 0xe1, 0x78, 0x99 },
+ .keyword = .{ 0xe1, 0x78, 0x99 },
// S:216 String guifg = s:hi arg 30 = 30 -> s:rgb_map[30] S:121
- .str = .{ 0x00, 0x97, 0x99 },
+ .string = .{ 0x00, 0x97, 0x99 },
// S:213 Number guifg = s:hi arg 95 = 95 -> s:rgb_map[95] S:124
- .num = .{ 0x9a, 0x73, 0x72 },
+ .number = .{ 0x9a, 0x73, 0x72 },
// S:212 Comment guifg = s:hi arg 65 = 65 -> s:rgb_map[65] S:123
.comment = .{ 0x71, 0x98, 0x72 },
// S:208 LineNr guifg = s:hi arg 101 = 101 -> s:rgb_map[101] S:125
- .lineno = .{ 0x99, 0x98, 0x72 },
+ .line_number = .{ 0x99, 0x98, 0x72 },
// S:276 CursorLineNr guifg = s:hi arg 131 = 131 -> s:rgb_map[131] S:126
- .lineno_active = .{ 0xbe, 0x75, 0x72 },
+ .line_number_current = .{ 0xbe, 0x75, 0x72 },
// S:306 PmenuSbar guibg = s:hi arg 65 = 65 -> s:rgb_map[65] S:123
- .scroll_track = .{ 0x71, 0x98, 0x72 },
+ .rail = .{ 0x71, 0x98, 0x72 },
// S:307 PmenuThumb guibg = s:hi arg 23 = 23 -> s:rgb_map[23] S:121
- .scroll_thumb = .{ 0x00, 0x71, 0x73 },
+ .rail_thumb = .{ 0x00, 0x71, 0x73 },
// the level's own, cited in its row of light_levels
- .border = own.border,
- // S:309 Search guibg = s:hi arg 74 = 74 -> s:rgb_map[74] S:124
- .search_bg = .{ 0x70, 0xbd, 0xdf },
- // S:309 Search guifg = s:hi arg 255 = 255 -> s:rgb_map[255] S:135
- .search_fg = .{ 0xf1, 0xf1, 0xf1 },
+ .rule = own.rule,
+ // S:309 Search guibg = s:hi arg 74 = 74 -> s:rgb_map[74] S:124 #70bddf, adjusted
+ // adjusted: search hit #70bddf -> #a6e6fe: the text #616161 reads 2.96:1 on #70bddf; its sky blue lighter, 1.13:1 off the page at 254 and 1.21:1 at 255, 0.08 OKLab, the text 4.53:1 on it (DESIGN.md R0, R8)
+ .hit = .{ 0xa6, 0xe6, 0xfe },
// S:402 ALEErrorSign guifg = s:hi arg 161 = 161 -> s:rgb_map[161] S:128 (no Diagnostic* groups; ALE error sign used)
- .diagnostic_error = .{ 0xe1, 0x26, 0x72 },
+ .@"error" = .{ 0xe1, 0x26, 0x72 },
// S:403 ALEWarningSign guifg = s:hi arg 131 = 131 -> s:rgb_map[131] S:126 (no Diagnostic* groups; ALE warning sign used)
- .diagnostic_warning = .{ 0xbe, 0x75, 0x72 },
+ .warning = .{ 0xbe, 0x75, 0x72 },
// The official urxvt port (the vim colorscheme sets no terminal
// colours), U = ~/05-genizah/seoul256.vim/urxvt/seoul256-light.
- .palette = .{
+ .ansi = .{
.{ 0x4e, 0x4e, 0x4e }, // 0: U:5 URxvt*color0
.{ 0xaf, 0x5f, 0x5f }, // 1: U:6 URxvt*color1
.{ 0x5f, 0x88, 0x5f }, // 2: U:7 URxvt*color2
diff --git a/core/themes/seoulbones_dark.zig b/core/themes/seoulbones_dark.zig
index 74cdf1ff..8b2c40ce 100644
--- a/core/themes/seoulbones_dark.zig
+++ b/core/themes/seoulbones_dark.zig
@@ -18,63 +18,67 @@
//! it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #919191 -> #cdcdcd: 1.53:1 on the focused tag, now 3.03:1 (R6: 3:1)
+//! - unsaved grip #97bdde -> #aad1f2: 3.78:1 on the tag, now 4.65:1 (R6: 3:1 on both tags)
+//! - selection text #dddddd -> #060606: 3.30:1 on the selection, now 4.52:1 (R7: 4.5:1)
+//! - search hit #8283ad -> #7c5b34: 2.41:1 off the page, now 1.41:1 (R8: 1.5:1, the text reading on it)
+//! - error #e388a3 -> #fd9fba: 3.45:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - info #97bdde -> #99bfe0: 4.42:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #a5a6c5 -> #9ec49f: 3.68:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "seoulbones_dark",
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:33 Normal guibg
- .bg = .{ 0x4b, 0x4b, 0x4b },
+ .page = .{ 0x4b, 0x4b, 0x4b },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:33 Normal guifg
- .fg = .{ 0xdd, 0xdd, 0xdd },
+ .text = .{ 0xdd, 0xdd, 0xdd },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:213 Visual guibg
- .sel_bg = .{ 0x77, 0x77, 0x77 },
+ .selection = .{ 0x77, 0x77, 0x77 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xdd, 0xdd, 0xdd },
+ .selection_text = .{ 0xdd, 0xdd, 0xdd },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:200 StatusLineNC guibg
- .tag_bg = .{ 0x55, 0x55, 0x55 },
+ .tag = .{ 0x55, 0x55, 0x55 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:200 StatusLineNC guifg
- .tag_fg = .{ 0xe5, 0xe5, 0xe5 },
+ .tag_text = .{ 0xe5, 0xe5, 0xe5 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:197 StatusLine guibg #5e5e5e, adjusted
- .tag_active_bg = .{ 0x72, 0x72, 0x72 },
+ .tag_focus = .{ 0x72, 0x72, 0x72 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:197 StatusLine guifg #dddddd, adjusted
- .tag_active_fg = .{ 0xf8, 0xf8, 0xf8 },
+ .tag_focus_text = .{ 0xf8, 0xf8, 0xf8 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/seoulbones_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x91, 0x91, 0x91 },
- // derived: the grip at rest, the accent #797979 faded toward the unfocused tag #555555 as far as 1.6:1 off it (0.88 of the way)
- .box_dim = .{ 0x75, 0x75, 0x75 },
+ .accent = .{ 0x91, 0x91, 0x91 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:41 Changed guifg
- .box_dirty = .{ 0x97, 0xbd, 0xde },
+ .dirty = .{ 0x97, 0xbd, 0xde },
// derived: the column grip, the original's function colour, ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:122 Function guifg
- .column_box = .{ 0xdf, 0xdf, 0xc1 },
+ .column_grip = .{ 0xdf, 0xdf, 0xc1 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:150 Keyword guifg
- .kw = .{ 0xdc, 0x8c, 0xa3 },
+ .keyword = .{ 0xdc, 0x8c, 0xa3 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:203 String guifg
- .str = .{ 0xab, 0xc4, 0xdb },
+ .string = .{ 0xab, 0xc4, 0xdb },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:166 Number guifg
- .num = .{ 0xf7, 0xe0, 0xb3 },
+ .number = .{ 0xf7, 0xe0, 0xb3 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:47 Comment guifg
.comment = .{ 0x71, 0x98, 0x71 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:152 LineNr guifg
- .lineno = .{ 0x86, 0x86, 0x86 },
+ .line_number = .{ 0x86, 0x86, 0x86 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:62 CursorLineNr guifg
- .lineno_active = .{ 0xdd, 0xdd, 0xdd },
+ .line_number_current = .{ 0xdd, 0xdd, 0xdd },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:169 PmenuSbar guibg
- .scroll_track = .{ 0x81, 0x81, 0x81 },
+ .rail = .{ 0x81, 0x81, 0x81 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:171 PmenuThumb guibg #a0a0a0, adjusted
- .scroll_thumb = .{ 0xa1, 0xa1, 0xa1 },
+ .rail_thumb = .{ 0xa1, 0xa1, 0xa1 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:220 WinSeparator guifg
- .border = .{ 0x86, 0x86, 0x86 },
+ .rule = .{ 0x86, 0x86, 0x86 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:175 Search guibg
- .search_bg = .{ 0x82, 0x83, 0xad },
- // ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:175 Search guifg
- .search_fg = .{ 0xdd, 0xdd, 0xdd },
+ .hit = .{ 0x82, 0x83, 0xad },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:113 Error guifg via DiagnosticError->Error (link :114)
- .diagnostic_error = .{ 0xe3, 0x88, 0xa3 },
+ .@"error" = .{ 0xe3, 0x88, 0xa3 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:214 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :215)
- .diagnostic_warning = .{ 0xff, 0xdf, 0x9b },
+ .warning = .{ 0xff, 0xdf, 0x9b },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:72 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x97, 0xbd, 0xde },
+ .info = .{ 0x97, 0xbd, 0xde },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:67 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xa5, 0xa6, 0xc5 },
- .palette = .{
+ .hint = .{ 0xa5, 0xa6, 0xc5 },
+ .ansi = .{
.{ 0x4b, 0x4b, 0x4b }, // 0: ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:17 g:terminal_color_0
.{ 0xe3, 0x88, 0xa3 }, // 1: ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:18 g:terminal_color_1
.{ 0x98, 0xbd, 0x99 }, // 2: ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:19 g:terminal_color_2
diff --git a/core/themes/seoulbones_light.zig b/core/themes/seoulbones_light.zig
index 7b897be5..b509996c 100644
--- a/core/themes/seoulbones_light.zig
+++ b/core/themes/seoulbones_light.zig
@@ -18,63 +18,68 @@
//! it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #999999 -> #676767: 1.52:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - unsaved grip #0084a3 -> #07708a: 2.93:1 on the tag, now 3.84:1 (R6: 3:1 on both tags)
+//! - selection #cccccc -> #cbcbcb: 1.24:1 off the page, now 1.25:1 (R7)
+//! - search hit #cbb1ca -> #ffba94: 1.52:1 off the page, now 1.28:1 (R8: 1.5:1, the text reading on it)
+//! - error #dc5284 -> #b72e65: 2.90:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #c48562 -> #915634: 2.36:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - info #0084a3 -> #026e88: 3.36:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #896788 -> #7b5a7a: 3.72:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "seoulbones_light",
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:269 Normal guibg
- .bg = .{ 0xe2, 0xe2, 0xe2 },
+ .page = .{ 0xe2, 0xe2, 0xe2 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:269 Normal guifg
- .fg = .{ 0x55, 0x55, 0x55 },
+ .text = .{ 0x55, 0x55, 0x55 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:449 Visual guibg
- .sel_bg = .{ 0xcc, 0xcc, 0xcc },
+ .selection = .{ 0xcc, 0xcc, 0xcc },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x55, 0x55, 0x55 },
+ .selection_text = .{ 0x55, 0x55, 0x55 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:436 StatusLineNC guibg
- .tag_bg = .{ 0xd4, 0xd4, 0xd4 },
+ .tag = .{ 0xd4, 0xd4, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:436 StatusLineNC guifg #818181, adjusted
- .tag_fg = .{ 0x5a, 0x5a, 0x5a },
+ .tag_text = .{ 0x5a, 0x5a, 0x5a },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:433 StatusLine guibg #c4c4c4, adjusted
- .tag_active_bg = .{ 0xbd, 0xbd, 0xbd },
+ .tag_focus = .{ 0xbd, 0xbd, 0xbd },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:433 StatusLine guifg #555555, adjusted
- .tag_active_fg = .{ 0x4b, 0x4b, 0x4b },
+ .tag_focus_text = .{ 0x4b, 0x4b, 0x4b },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/seoulbones_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x99, 0x99, 0x99 },
- // derived: the grip at rest, the accent #a6a6a6 faded toward the unfocused tag #d4d4d4 as far as 1.6:1 off it (0.98 of the way)
- .box_dim = .{ 0xa7, 0xa7, 0xa7 },
+ .accent = .{ 0x99, 0x99, 0x99 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:277 Changed guifg
- .box_dirty = .{ 0x00, 0x84, 0xa3 },
+ .dirty = .{ 0x00, 0x84, 0xa3 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:445 Type guifg
- .column_box = .{ 0x6d, 0x4c, 0x52 },
+ .column_grip = .{ 0x6d, 0x4c, 0x52 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:386 Keyword guifg
- .kw = .{ 0xca, 0x62, 0x84 },
+ .keyword = .{ 0xca, 0x62, 0x84 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:439 String guifg
- .str = .{ 0x4a, 0x75, 0x87 },
+ .string = .{ 0x4a, 0x75, 0x87 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:402 Number guifg
- .num = .{ 0x89, 0x65, 0x00 },
+ .number = .{ 0x89, 0x65, 0x00 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:283 Comment guifg
.comment = .{ 0x62, 0x85, 0x62 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:388 LineNr guifg
- .lineno = .{ 0x91, 0x91, 0x91 },
+ .line_number = .{ 0x91, 0x91, 0x91 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:298 CursorLineNr guifg
- .lineno_active = .{ 0x55, 0x55, 0x55 },
+ .line_number_current = .{ 0x55, 0x55, 0x55 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:405 PmenuSbar guibg
- .scroll_track = .{ 0x9e, 0x9e, 0x9e },
+ .rail = .{ 0x9e, 0x9e, 0x9e },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:407 PmenuThumb guibg
- .scroll_thumb = .{ 0xf3, 0xf3, 0xf3 },
+ .rail_thumb = .{ 0xf3, 0xf3, 0xf3 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:456 WinSeparator guifg
- .border = .{ 0x91, 0x91, 0x91 },
+ .rule = .{ 0x91, 0x91, 0x91 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:411 Search guibg
- .search_bg = .{ 0xcb, 0xb1, 0xca },
- // ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:411 Search guifg
- .search_fg = .{ 0x55, 0x55, 0x55 },
+ .hit = .{ 0xcb, 0xb1, 0xca },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:349 Error guifg via DiagnosticError->Error (link :350)
- .diagnostic_error = .{ 0xdc, 0x52, 0x84 },
+ .@"error" = .{ 0xdc, 0x52, 0x84 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:450 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :451)
- .diagnostic_warning = .{ 0xc4, 0x85, 0x62 },
+ .warning = .{ 0xc4, 0x85, 0x62 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:308 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x00, 0x84, 0xa3 },
+ .info = .{ 0x00, 0x84, 0xa3 },
// ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:303 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x89, 0x67, 0x88 },
- .palette = .{
+ .hint = .{ 0x89, 0x67, 0x88 },
+ .ansi = .{
.{ 0xe2, 0xe2, 0xe2 }, // 0: ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:253 g:terminal_color_0
.{ 0xdc, 0x52, 0x84 }, // 1: ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:254 g:terminal_color_1
.{ 0x62, 0x85, 0x62 }, // 2: ~/05-genizah/zenbones.nvim/colors/seoulbones.vim:255 g:terminal_color_2
diff --git a/core/themes/solarium.zig b/core/themes/solarium.zig
index 316113eb..cbc5df96 100644
--- a/core/themes/solarium.zig
+++ b/core/themes/solarium.zig
@@ -4,36 +4,32 @@
//! Pardes-specific tag, search, diagnostic and ANSI roles; see docs/typ/themes.typ.
pub const theme = .{
.name = "solarium",
- .bg = .{ 0x17, 0x3e, 0x45 },
- .fg = .{ 0xa7, 0xb7, 0xae },
- .tag_bg = .{ 0x12, 0x3f, 0x43 },
- .tag_fg = .{ 0xc7, 0xd4, 0xbd },
- .tag_name_fg = .{ 0xe9, 0xc1, 0xe0 },
- .tag_active_name_fg = .{ 0xf5, 0xcd, 0xec },
- .tag_active_bg = .{ 0x21, 0x4e, 0x50 },
- .tag_active_fg = .{ 0xd3, 0xe0, 0xc9 },
- .box = .{ 0xe1, 0xc2, 0x66 },
- .box_dim = .{ 0x46, 0x7f, 0x76 },
- .column_box = .{ 0x5c, 0xb1, 0xeb },
- .column_box_dim = .{ 0x34, 0x7a, 0x9a },
- .kw = .{ 0x56, 0xb2, 0xf1 },
- .str = .{ 0xbd, 0xd0, 0x3f },
- .num = .{ 0xef, 0x99, 0x48 },
+ .page = .{ 0x17, 0x3e, 0x45 },
+ .text = .{ 0xa7, 0xb7, 0xae },
+ .tag = .{ 0x12, 0x3f, 0x43 },
+ .tag_text = .{ 0xc7, 0xd4, 0xbd },
+ .tag_name = .{ 0xe9, 0xc1, 0xe0 },
+ .tag_focus = .{ 0x21, 0x4e, 0x50 },
+ .tag_focus_text = .{ 0xd3, 0xe0, 0xc9 },
+ .accent = .{ 0xe1, 0xc2, 0x66 },
+ .column_grip = .{ 0x5c, 0xb1, 0xeb },
+ .keyword = .{ 0x56, 0xb2, 0xf1 },
+ .string = .{ 0xbd, 0xd0, 0x3f },
+ .number = .{ 0xef, 0x99, 0x48 },
.comment = .{ 0xf6, 0xce, 0x5a },
- .lineno = .{ 0x64, 0x7e, 0x7c },
- .lineno_active = .{ 0x6c, 0x86, 0x84 },
- .scroll_track = .{ 0x1c, 0x45, 0x4c },
- .scroll_thumb = .{ 0x65, 0x97, 0x8c },
- .border = .{ 0x4c, 0x88, 0x80 },
- .sel_bg = .{ 0x1f, 0x5c, 0x64 },
- .sel_fg = .{ 0xee, 0xe8, 0xd5 },
- .search_bg = .{ 0x6d, 0x57, 0x1d },
- .search_fg = .{ 0xff, 0xf0, 0xb9 },
- .diagnostic_error = .{ 0xff, 0x7a, 0x6a },
- .diagnostic_warning = .{ 0xf3, 0xbe, 0x47 },
- .diagnostic_info = .{ 0x59, 0xb1, 0xee },
- .diagnostic_hint = .{ 0x5c, 0xca, 0xb9 },
- .palette = .{
+ .line_number = .{ 0x64, 0x7e, 0x7c },
+ .line_number_current = .{ 0x6c, 0x86, 0x84 },
+ .rail = .{ 0x1c, 0x45, 0x4c },
+ .rail_thumb = .{ 0x65, 0x97, 0x8c },
+ .rule = .{ 0x4c, 0x88, 0x80 },
+ .selection = .{ 0x1f, 0x5c, 0x64 },
+ .selection_text = .{ 0xee, 0xe8, 0xd5 },
+ .hit = .{ 0x6d, 0x57, 0x1d },
+ .@"error" = .{ 0xff, 0x7a, 0x6a },
+ .warning = .{ 0xf3, 0xbe, 0x47 },
+ .info = .{ 0x59, 0xb1, 0xee },
+ .hint = .{ 0x5c, 0xca, 0xb9 },
+ .ansi = .{
.{ 0x17, 0x3e, 0x45 },
.{ 0xed, 0x84, 0x77 },
.{ 0xaf, 0xbd, 0x52 },
diff --git a/core/themes/solarized_dark.zig b/core/themes/solarized_dark.zig
index c7c43892..e013a060 100644
--- a/core/themes/solarized_dark.zig
+++ b/core/themes/solarized_dark.zig
@@ -10,57 +10,60 @@
//! - focused grip #268bd2 -> #2483c5: 1.38:1 on the focused tag #93a1a1
//! Upstream notes: green is the canonical #859900 (README), not
//! solarized.vim:261's "experimental" #719e07.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #2483c5 -> #025384: 1.53:1 on the focused tag, now 3.05:1 (R6: 3:1)
+//! - unsaved grip #b58900 -> #3e2c00: 1.39:1 on the tag, now 3.01:1 (R6: 3:1 on both tags)
+//! - selection text #002b36 -> #cbf2ff: 2.79:1 on the selection, now 4.53:1 (R7: 4.5:1)
+//! - error #dc322f -> #f95148: 3.25:1 on the page, now 4.50:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #dc322f -> #b58900: 3.25:1 on the page, now 4.68:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "solarized_dark",
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:539 Normal bg_back: base03 = ~/05-genizah/solarized/README.md:354 base03
- .bg = .{ 0x00, 0x2b, 0x36 },
+ .page = .{ 0x00, 0x2b, 0x36 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:539 Normal fg: base0 = ~/05-genizah/solarized/README.md:358 base0
- .fg = .{ 0x83, 0x94, 0x96 },
+ .text = .{ 0x83, 0x94, 0x96 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:614 Visual fg_base01 reversed: base01 = ~/05-genizah/solarized/README.md:356 base01
- .sel_bg = .{ 0x58, 0x6e, 0x75 },
+ .selection = .{ 0x58, 0x6e, 0x75 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:614 Visual bg_base03 reversed: base03 = ~/05-genizah/solarized/README.md:354 base03
- .sel_fg = .{ 0x00, 0x2b, 0x36 },
+ .selection_text = .{ 0x00, 0x2b, 0x36 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:613 StatusLineNC fg_base00 reversed: base00 = ~/05-genizah/solarized/README.md:357 base00
- .tag_bg = .{ 0x65, 0x7b, 0x83 },
+ .tag = .{ 0x65, 0x7b, 0x83 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:613 StatusLineNC bg_base02 reversed: base02 = ~/05-genizah/solarized/README.md:355 base02 #073642, adjusted
- .tag_fg = .{ 0x01, 0x09, 0x0b },
+ .tag_text = .{ 0x01, 0x09, 0x0b },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:612 StatusLine fg_base1 reversed: base1 = ~/05-genizah/solarized/README.md:359 base1
- .tag_active_bg = .{ 0x93, 0xa1, 0xa1 },
+ .tag_focus = .{ 0x93, 0xa1, 0xa1 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:612 StatusLine bg_base02 reversed: base02 = ~/05-genizah/solarized/README.md:355 base02
- .tag_active_fg = .{ 0x07, 0x36, 0x42 },
+ .tag_focus_text = .{ 0x07, 0x36, 0x42 },
// the focused grip: no UI accent in solarized.vim; Identifier blue, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:552 Identifier: blue = ~/05-genizah/solarized/README.md:367 blue
- .box = .{ 0x24, 0x83, 0xc5 },
- // derived: the grip at rest, the accent #268bd2 faded toward the unfocused tag #657b83 as far as 1.6:1 off it (1.00 of the way)
- .box_dim = .{ 0x18, 0x59, 0x86 },
+ .accent = .{ 0x24, 0x83, 0xc5 },
// an unsaved grip: the original's modified colour, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:636 DiffChange fg_yellow: yellow = ~/05-genizah/solarized/README.md:362 yellow
- .box_dirty = .{ 0xb5, 0x89, 0x00 },
+ .dirty = .{ 0xb5, 0x89, 0x00 },
// derived: the column grip, the original's keyword colour, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:556 Statement fg (Keyword links to Statement): green = ~/05-genizah/solarized/README.md:369 green
- .column_box = .{ 0x85, 0x99, 0x00 },
+ .column_grip = .{ 0x85, 0x99, 0x00 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:556 Statement fg (Keyword links to Statement): green = ~/05-genizah/solarized/README.md:369 green
- .kw = .{ 0x85, 0x99, 0x00 },
+ .keyword = .{ 0x85, 0x99, 0x00 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:544 Constant fg (String links to Constant): cyan = ~/05-genizah/solarized/README.md:368 cyan
- .str = .{ 0x2a, 0xa1, 0x98 },
+ .string = .{ 0x2a, 0xa1, 0x98 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:544 Constant fg (Number links to Constant): cyan = ~/05-genizah/solarized/README.md:368 cyan
- .num = .{ 0x2a, 0xa1, 0x98 },
+ .number = .{ 0x2a, 0xa1, 0x98 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:541 Comment fg: base01 = ~/05-genizah/solarized/README.md:356 base01
.comment = .{ 0x58, 0x6e, 0x75 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:621 LineNr fg: base01 = ~/05-genizah/solarized/README.md:356 base01
- .lineno = .{ 0x58, 0x6e, 0x75 },
+ .line_number = .{ 0x58, 0x6e, 0x75 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:665 PmenuSbar fg_base2 reversed: base2 = ~/05-genizah/solarized/README.md:360 base2
- .scroll_track = .{ 0xee, 0xe8, 0xd5 },
+ .rail = .{ 0xee, 0xe8, 0xd5 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:666 PmenuThumb fg_base0 reversed: base0 = ~/05-genizah/solarized/README.md:358 base0
- .scroll_thumb = .{ 0x83, 0x94, 0x96 },
+ .rail_thumb = .{ 0x83, 0x94, 0x96 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:624 VertSplit fg_base00 bg_base00: base00 = ~/05-genizah/solarized/README.md:357 base00
- .border = .{ 0x65, 0x7b, 0x83 },
- // ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:618 Search fg_yellow reversed: yellow = ~/05-genizah/solarized/README.md:362 yellow
- .search_bg = .{ 0xb5, 0x89, 0x00 },
- // ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:618 Search bg_none reversed: the page: base03 = ~/05-genizah/solarized/README.md:354 base03
- .search_fg = .{ 0x00, 0x2b, 0x36 },
+ .rule = .{ 0x65, 0x7b, 0x83 },
+ // ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:618 Search fg_yellow reversed: yellow = ~/05-genizah/solarized/README.md:362 yellow #b58900, adjusted
+ // adjusted: search hit #b58900 -> #1d180e: the original reverses yellow under base03 ink; pardes keeps the text's own ink on a hit, which reads 1.02:1 on #b58900; its yellow a ground 1.18:1 off the page, 0.09 OKLab, the text 5.58:1 on it (DESIGN.md R0, R8)
+ .hit = .{ 0x1d, 0x18, 0x0e },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:592 Error fg: red = ~/05-genizah/solarized/README.md:364 red
- .diagnostic_error = .{ 0xdc, 0x32, 0x2f },
+ .@"error" = .{ 0xdc, 0x32, 0x2f },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:630 WarningMsg fg: red = ~/05-genizah/solarized/README.md:364 red
- .diagnostic_warning = .{ 0xdc, 0x32, 0x2f },
- .palette = .{
+ .warning = .{ 0xdc, 0x32, 0x2f },
+ .ansi = .{
.{ 0x07, 0x36, 0x42 }, // 0: ~/05-genizah/solarized/README.md:355 base02 ANSI 0 (README TERMCOL column)
.{ 0xdc, 0x32, 0x2f }, // 1: ~/05-genizah/solarized/README.md:364 red ANSI 1 (README TERMCOL column)
.{ 0x85, 0x99, 0x00 }, // 2: ~/05-genizah/solarized/README.md:369 green ANSI 2 (README TERMCOL column)
diff --git a/core/themes/solarized_light.zig b/core/themes/solarized_light.zig
index 124d6d59..801c1693 100644
--- a/core/themes/solarized_light.zig
+++ b/core/themes/solarized_light.zig
@@ -11,57 +11,61 @@
//! - focused grip #268bd2 -> #2f90d4: 1.46:1 on the focused tag #586e75
//! Upstream notes: green is the canonical #859900 (README), not
//! solarized.vim:261's "experimental" #719e07.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused tag ground #586e75 -> #728284: 1.70:1 off the tag, now 1.27:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #2f90d4 -> #00395e: 1.16:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - unsaved grip #b58900 -> #473300: 1.02:1 on the tag, now 3.81:1 (R6: 3:1 on both tags)
+//! - selection text #fdf6e3 -> #3b3526: 2.48:1 on the selection, now 4.56:1 (R7: 4.5:1)
+//! - error #dc322f -> #d72c2b: 4.29:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #dc322f -> #8e6c07: 4.29:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "solarized_light",
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:539 Normal bg_back: base03 = ~/05-genizah/solarized/README.md:361 base3 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .bg = .{ 0xfd, 0xf6, 0xe3 },
+ .page = .{ 0xfd, 0xf6, 0xe3 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:539 Normal fg: base0 = ~/05-genizah/solarized/README.md:357 base00 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .fg = .{ 0x65, 0x7b, 0x83 },
+ .text = .{ 0x65, 0x7b, 0x83 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:614 Visual fg_base01 reversed: base01 = ~/05-genizah/solarized/README.md:359 base1 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .sel_bg = .{ 0x93, 0xa1, 0xa1 },
+ .selection = .{ 0x93, 0xa1, 0xa1 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:614 Visual bg_base03 reversed: base03 = ~/05-genizah/solarized/README.md:361 base3 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .sel_fg = .{ 0xfd, 0xf6, 0xe3 },
+ .selection_text = .{ 0xfd, 0xf6, 0xe3 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:613 StatusLineNC fg_base00 reversed: base00 = ~/05-genizah/solarized/README.md:358 base0 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .tag_bg = .{ 0x83, 0x94, 0x96 },
+ .tag = .{ 0x83, 0x94, 0x96 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:613 StatusLineNC bg_base02 reversed: base02 = ~/05-genizah/solarized/README.md:360 base2 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391) #eee8d5, adjusted
- .tag_fg = .{ 0x2b, 0x2a, 0x26 },
+ .tag_text = .{ 0x2b, 0x2a, 0x26 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:612 StatusLine fg_base1 reversed: base1 = ~/05-genizah/solarized/README.md:356 base01 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .tag_active_bg = .{ 0x58, 0x6e, 0x75 },
+ .tag_focus = .{ 0x58, 0x6e, 0x75 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:612 StatusLine bg_base02 reversed: base02 = ~/05-genizah/solarized/README.md:360 base2 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391) #eee8d5, adjusted
- .tag_active_fg = .{ 0xf0, 0xeb, 0xda },
+ .tag_focus_text = .{ 0xf0, 0xeb, 0xda },
// the focused grip: no UI accent in solarized.vim; Identifier blue, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:552 Identifier: blue = ~/05-genizah/solarized/README.md:367 blue
- .box = .{ 0x2f, 0x90, 0xd4 },
- // derived: the grip at rest, the accent #268bd2 faded toward the unfocused tag #839496 as far as 1.6:1 off it (1.00 of the way)
- .box_dim = .{ 0x1f, 0x72, 0xac },
+ .accent = .{ 0x2f, 0x90, 0xd4 },
// an unsaved grip: the original's modified colour, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:636 DiffChange fg_yellow: yellow = ~/05-genizah/solarized/README.md:362 yellow
- .box_dirty = .{ 0xb5, 0x89, 0x00 },
+ .dirty = .{ 0xb5, 0x89, 0x00 },
// derived: the column grip, the original's keyword colour, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:556 Statement fg (Keyword links to Statement): green = ~/05-genizah/solarized/README.md:369 green
- .column_box = .{ 0x85, 0x99, 0x00 },
+ .column_grip = .{ 0x85, 0x99, 0x00 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:556 Statement fg (Keyword links to Statement): green = ~/05-genizah/solarized/README.md:369 green
- .kw = .{ 0x85, 0x99, 0x00 },
+ .keyword = .{ 0x85, 0x99, 0x00 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:544 Constant fg (String links to Constant): cyan = ~/05-genizah/solarized/README.md:368 cyan
- .str = .{ 0x2a, 0xa1, 0x98 },
+ .string = .{ 0x2a, 0xa1, 0x98 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:544 Constant fg (Number links to Constant): cyan = ~/05-genizah/solarized/README.md:368 cyan
- .num = .{ 0x2a, 0xa1, 0x98 },
+ .number = .{ 0x2a, 0xa1, 0x98 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:541 Comment fg: base01 = ~/05-genizah/solarized/README.md:359 base1 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
.comment = .{ 0x93, 0xa1, 0xa1 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:621 LineNr fg: base01 = ~/05-genizah/solarized/README.md:359 base1 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .lineno = .{ 0x93, 0xa1, 0xa1 },
+ .line_number = .{ 0x93, 0xa1, 0xa1 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:665 PmenuSbar fg_base2 reversed: base2 = ~/05-genizah/solarized/README.md:355 base02 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .scroll_track = .{ 0x07, 0x36, 0x42 },
+ .rail = .{ 0x07, 0x36, 0x42 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:666 PmenuThumb fg_base0 reversed: base0 = ~/05-genizah/solarized/README.md:357 base00 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .scroll_thumb = .{ 0x65, 0x7b, 0x83 },
+ .rail_thumb = .{ 0x65, 0x7b, 0x83 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:624 VertSplit fg_base00 bg_base00: base00 = ~/05-genizah/solarized/README.md:358 base0 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .border = .{ 0x83, 0x94, 0x96 },
+ .rule = .{ 0x83, 0x94, 0x96 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:618 Search fg_yellow reversed: yellow = ~/05-genizah/solarized/README.md:362 yellow
- .search_bg = .{ 0xb5, 0x89, 0x00 },
- // ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:618 Search bg_none reversed: the page: base03 = ~/05-genizah/solarized/README.md:361 base3 (swapped for background=light, ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:379-391)
- .search_fg = .{ 0xfd, 0xf6, 0xe3 },
+ // adjusted: search hit #b58900 -> #ffeb99: the original reverses yellow under base3 ink; pardes keeps the text's own ink on a hit, which reads 1.39:1 on #b58900; its yellow a ground 1.11:1 off the page, 0.09 OKLab, the text 3.73:1 on it (its own is 4.13:1; DESIGN.md R0, R8)
+ .hit = .{ 0xff, 0xeb, 0x99 },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:592 Error fg: red = ~/05-genizah/solarized/README.md:364 red
- .diagnostic_error = .{ 0xdc, 0x32, 0x2f },
+ .@"error" = .{ 0xdc, 0x32, 0x2f },
// ~/05-genizah/solarized/vim-colors-solarized/colors/solarized.vim:630 WarningMsg fg: red = ~/05-genizah/solarized/README.md:364 red
- .diagnostic_warning = .{ 0xdc, 0x32, 0x2f },
- .palette = .{
+ .warning = .{ 0xdc, 0x32, 0x2f },
+ .ansi = .{
.{ 0x07, 0x36, 0x42 }, // 0: ~/05-genizah/solarized/README.md:355 base02 ANSI 0 (README TERMCOL column)
.{ 0xdc, 0x32, 0x2f }, // 1: ~/05-genizah/solarized/README.md:364 red ANSI 1 (README TERMCOL column)
.{ 0x85, 0x99, 0x00 }, // 2: ~/05-genizah/solarized/README.md:369 green ANSI 2 (README TERMCOL column)
diff --git a/core/themes/spectrum.zig b/core/themes/spectrum.zig
index f7c25c3d..cb95fe87 100644
--- a/core/themes/spectrum.zig
+++ b/core/themes/spectrum.zig
@@ -4,36 +4,32 @@
//! 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 },
+ .page = .{ 0x10, 0x0e, 0x11 },
+ .text = .{ 0xfc, 0xfc, 0xfa },
+ .tag = .{ 0x3b, 0x38, 0x30 },
+ .tag_text = .{ 0xdd, 0xd8, 0xbb },
+ .tag_name = .{ 0xc5, 0xd7, 0xff },
+ .tag_focus = .{ 0x4d, 0x47, 0x36 },
+ .tag_focus_text = .{ 0xe9, 0xe4, 0xc7 },
+ .accent = .{ 0xff, 0xd8, 0x66 },
+ .column_grip = .{ 0xa4, 0x92, 0xfd },
+ .keyword = .{ 0xff, 0x61, 0x88 },
+ .string = .{ 0xa9, 0xee, 0x64 },
+ .number = .{ 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 = .{
+ .line_number = .{ 0x68, 0x61, 0x6b },
+ .line_number_current = .{ 0x70, 0x69, 0x73 },
+ .rail = .{ 0x21, 0x1d, 0x23 },
+ .rail_thumb = .{ 0x94, 0x8d, 0x6f },
+ .rule = .{ 0x8f, 0x87, 0x6c },
+ .selection = .{ 0x51, 0x3f, 0x60 },
+ .selection_text = .{ 0xfc, 0xfc, 0xfa },
+ .hit = .{ 0x6f, 0x5b, 0x1e },
+ .@"error" = .{ 0xff, 0x79, 0x9b },
+ .warning = .{ 0xff, 0xd8, 0x66 },
+ .info = .{ 0x67, 0xe9, 0xf9 },
+ .hint = .{ 0xa9, 0xeb, 0x67 },
+ .ansi = .{
.{ 0x10, 0x0e, 0x11 },
.{ 0xff, 0x79, 0x9b },
.{ 0xa9, 0xdc, 0x76 },
diff --git a/core/themes/tokyobones_dark.zig b/core/themes/tokyobones_dark.zig
index 6a05e456..ec33b244 100644
--- a/core/themes/tokyobones_dark.zig
+++ b/core/themes/tokyobones_dark.zig
@@ -16,63 +16,61 @@
//! only), so it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #5b5d76 -> #898ca7: 1.55:1 on the focused tag, now 3.02:1 (R6: 3:1)
pub const theme = .{
.name = "tokyobones_dark",
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:33 Normal guibg
- .bg = .{ 0x1a, 0x1b, 0x26 },
+ .page = .{ 0x1a, 0x1b, 0x26 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:33 Normal guifg
- .fg = .{ 0xc0, 0xca, 0xf5 },
+ .text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:214 Visual guibg
- .sel_bg = .{ 0x2c, 0x40, 0x75 },
+ .selection = .{ 0x2c, 0x40, 0x75 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc0, 0xca, 0xf5 },
+ .selection_text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:198 StatusLineNC guibg
- .tag_bg = .{ 0x24, 0x25, 0x32 },
+ .tag = .{ 0x24, 0x25, 0x32 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:198 StatusLineNC guifg
- .tag_fg = .{ 0xd2, 0xd9, 0xf8 },
+ .tag_text = .{ 0xd2, 0xd9, 0xf8 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:195 StatusLine guibg #303142, adjusted
- .tag_active_bg = .{ 0x40, 0x41, 0x57 },
+ .tag_focus = .{ 0x40, 0x41, 0x57 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:195 StatusLine guifg
- .tag_active_fg = .{ 0xc0, 0xca, 0xf5 },
+ .tag_focus_text = .{ 0xc0, 0xca, 0xf5 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/tokyobones_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x5b, 0x5d, 0x76 },
- // derived: the grip at rest, the accent #51536d faded toward the unfocused tag #242532 as far as 1.6:1 off it (0.70 of the way)
- .box_dim = .{ 0x44, 0x45, 0x5b },
+ .accent = .{ 0x5b, 0x5d, 0x76 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:41 Changed guifg
- .box_dirty = .{ 0x7b, 0xa2, 0xf7 },
+ .dirty = .{ 0x7b, 0xa2, 0xf7 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:210 Type guifg
- .column_box = .{ 0x93, 0x94, 0xaa },
+ .column_grip = .{ 0x93, 0x94, 0xaa },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:192 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xbb, 0x9b, 0xf7 },
+ .keyword = .{ 0xbb, 0x9b, 0xf7 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:201 String guifg
- .str = .{ 0x75, 0x92, 0xea },
+ .string = .{ 0x75, 0x92, 0xea },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:164 Number guifg
- .num = .{ 0x2b, 0xc4, 0xde },
+ .number = .{ 0x2b, 0xc4, 0xde },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:47 Comment guifg
.comment = .{ 0x65, 0x67, 0x7d },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:150 LineNr guifg
- .lineno = .{ 0x5f, 0x61, 0x7e },
+ .line_number = .{ 0x5f, 0x61, 0x7e },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:62 CursorLineNr guifg
- .lineno_active = .{ 0xc0, 0xca, 0xf5 },
+ .line_number_current = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:167 PmenuSbar guibg
- .scroll_track = .{ 0x58, 0x5a, 0x76 },
+ .rail = .{ 0x58, 0x5a, 0x76 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:169 PmenuThumb guibg
- .scroll_thumb = .{ 0x80, 0x82, 0x9b },
+ .rail_thumb = .{ 0x80, 0x82, 0x9b },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:221 WinSeparator guifg
- .border = .{ 0x5f, 0x61, 0x7e },
+ .rule = .{ 0x5f, 0x61, 0x7e },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:173 Search guibg
- .search_bg = .{ 0x6e, 0x20, 0xbd },
- // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:173 Search guifg
- .search_fg = .{ 0xc0, 0xca, 0xf5 },
+ .hit = .{ 0x6e, 0x20, 0xbd },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:113 Error guifg via DiagnosticError->Error (link :114)
- .diagnostic_error = .{ 0xf7, 0x78, 0x90 },
+ .@"error" = .{ 0xf7, 0x78, 0x90 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:215 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :216)
- .diagnostic_warning = .{ 0xe1, 0xb0, 0x68 },
+ .warning = .{ 0xe1, 0xb0, 0x68 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:72 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x7b, 0xa2, 0xf7 },
+ .info = .{ 0x7b, 0xa2, 0xf7 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:67 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xbb, 0x9b, 0xf7 },
- .palette = .{
+ .hint = .{ 0xbb, 0x9b, 0xf7 },
+ .ansi = .{
.{ 0x1a, 0x1b, 0x26 }, // 0: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:17 g:terminal_color_0
.{ 0xf7, 0x78, 0x90 }, // 1: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:18 g:terminal_color_1
.{ 0x74, 0xdb, 0xcb }, // 2: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:19 g:terminal_color_2
diff --git a/core/themes/tokyobones_light.zig b/core/themes/tokyobones_light.zig
index f57287ce..9db586e4 100644
--- a/core/themes/tokyobones_light.zig
+++ b/core/themes/tokyobones_light.zig
@@ -17,63 +17,62 @@
//! only), so it inherits Normal. TabLine links to StatusLine, TabLineFill to
//! StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral (the
//! theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #8f909b -> #5e5f6a: 1.51:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - warning #8f5e14 -> #845300: 3.87:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyobones_light",
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:271 Normal guibg
- .bg = .{ 0xd6, 0xd7, 0xdc },
+ .page = .{ 0xd6, 0xd7, 0xdc },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:271 Normal guifg
- .fg = .{ 0x33, 0x3a, 0x57 },
+ .text = .{ 0x33, 0x3a, 0x57 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:452 Visual guibg
- .sel_bg = .{ 0xbb, 0xc0, 0xd8 },
+ .selection = .{ 0xbb, 0xc0, 0xd8 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x33, 0x3a, 0x57 },
+ .selection_text = .{ 0x33, 0x3a, 0x57 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:436 StatusLineNC guibg
- .tag_bg = .{ 0xc8, 0xc9, 0xcf },
+ .tag = .{ 0xc8, 0xc9, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:436 StatusLineNC guifg #5f6b9b, adjusted
- .tag_fg = .{ 0x4a, 0x53, 0x79 },
+ .tag_text = .{ 0x4a, 0x53, 0x79 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:433 StatusLine guibg #b9bbc3, adjusted
- .tag_active_bg = .{ 0xb1, 0xb3, 0xbc },
+ .tag_focus = .{ 0xb1, 0xb3, 0xbc },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:433 StatusLine guifg
- .tag_active_fg = .{ 0x33, 0x3a, 0x57 },
+ .tag_focus_text = .{ 0x33, 0x3a, 0x57 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/tokyobones_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x8f, 0x90, 0x9b },
- // derived: the grip at rest, the accent #9b9da9 faded toward the unfocused tag #c8c9cf as far as 1.6:1 off it (0.98 of the way)
- .box_dim = .{ 0x9c, 0x9e, 0xaa },
+ .accent = .{ 0x8f, 0x90, 0x9b },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:279 Changed guifg
- .box_dirty = .{ 0x34, 0x54, 0x8c },
+ .dirty = .{ 0x34, 0x54, 0x8c },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:448 Type guifg
- .column_box = .{ 0x48, 0x4f, 0x6b },
+ .column_grip = .{ 0x48, 0x4f, 0x6b },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:430 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x5a, 0x4a, 0x79 },
+ .keyword = .{ 0x5a, 0x4a, 0x79 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:439 String guifg
- .str = .{ 0x5b, 0x66, 0x94 },
+ .string = .{ 0x5b, 0x66, 0x94 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:402 Number guifg
- .num = .{ 0x17, 0x67, 0x75 },
+ .number = .{ 0x17, 0x67, 0x75 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:285 Comment guifg
.comment = .{ 0x7c, 0x7e, 0x89 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:388 LineNr guifg
- .lineno = .{ 0x88, 0x8b, 0x99 },
+ .line_number = .{ 0x88, 0x8b, 0x99 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:300 CursorLineNr guifg
- .lineno_active = .{ 0x33, 0x3a, 0x57 },
+ .line_number_current = .{ 0x33, 0x3a, 0x57 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:405 PmenuSbar guibg
- .scroll_track = .{ 0x93, 0x95, 0xa2 },
+ .rail = .{ 0x93, 0x95, 0xa2 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:407 PmenuThumb guibg
- .scroll_thumb = .{ 0xed, 0xee, 0xf0 },
+ .rail_thumb = .{ 0xed, 0xee, 0xf0 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:459 WinSeparator guifg
- .border = .{ 0x88, 0x8b, 0x99 },
+ .rule = .{ 0x88, 0x8b, 0x99 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:411 Search guibg
- .search_bg = .{ 0xb3, 0xa9, 0xc9 },
- // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:411 Search guifg
- .search_fg = .{ 0x33, 0x3a, 0x57 },
+ .hit = .{ 0xb3, 0xa9, 0xc9 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:351 Error guifg via DiagnosticError->Error (link :352)
- .diagnostic_error = .{ 0x8b, 0x43, 0x51 },
+ .@"error" = .{ 0x8b, 0x43, 0x51 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:453 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :454)
- .diagnostic_warning = .{ 0x8f, 0x5e, 0x14 },
+ .warning = .{ 0x8f, 0x5e, 0x14 },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:310 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x34, 0x54, 0x8c },
+ .info = .{ 0x34, 0x54, 0x8c },
// ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:305 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x5a, 0x4a, 0x79 },
- .palette = .{
+ .hint = .{ 0x5a, 0x4a, 0x79 },
+ .ansi = .{
.{ 0xd6, 0xd7, 0xdc }, // 0: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:255 g:terminal_color_0
.{ 0x8b, 0x43, 0x51 }, // 1: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:256 g:terminal_color_1
.{ 0x34, 0x64, 0x5d }, // 2: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:257 g:terminal_color_2
diff --git a/core/themes/tokyonight_day.zig b/core/themes/tokyonight_day.zig
index 3d188454..5e0fab0c 100644
--- a/core/themes/tokyonight_day.zig
+++ b/core/themes/tokyonight_day.zig
@@ -23,63 +23,68 @@
//! computed at run time by Util.invert() of the night palette plus blended
//! bg_dark/bg_dark1 (lua/tokyonight/colors/day.lua); all values here come from
//! the generated extras for day.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #2e7de9 -> #0e64ce: 2.15:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - unsaved grip #506d9c -> #4b6897: 3.57:1 on the tag, now 3.84:1 (R6: 3:1 on both tags)
+//! - selection text #3760bf -> #234aa7: 3.28:1 on the selection, now 4.50:1 (R7: 4.5:1)
+//! - search hit #7890dd -> #fed092: 2.38:1 off the page, now 1.11:1 (R8: 1.5:1, the text reading on it)
+//! - error #c64343 -> #b73537: 3.79:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #8c6c3e -> #7e5f31: 3.75:1 on the page, now 4.55:1 (R9: 4.5:1, told from the text and the others)
+//! - info #07879d -> #036f82: 3.27:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #118c74 -> #07725e: 3.23:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyonight_day",
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:193 Normal guibg
- .bg = .{ 0xe1, 0xe2, 0xe7 },
+ .page = .{ 0xe1, 0xe2, 0xe7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:193 Normal guifg
- .fg = .{ 0x37, 0x60, 0xbf },
+ .text = .{ 0x37, 0x60, 0xbf },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:245 Visual guibg
- .sel_bg = .{ 0xb7, 0xc1, 0xe3 },
+ .selection = .{ 0xb7, 0xc1, 0xe3 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x37, 0x60, 0xbf },
+ .selection_text = .{ 0x37, 0x60, 0xbf },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:220 StatusLineNC guibg
- .tag_bg = .{ 0xd0, 0xd5, 0xe3 },
+ .tag = .{ 0xd0, 0xd5, 0xe3 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:220 StatusLineNC guifg #a8aecb, adjusted
- .tag_fg = .{ 0x57, 0x5a, 0x6a },
+ .tag_text = .{ 0x57, 0x5a, 0x6a },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:219 StatusLine guibg #d0d5e3, adjusted
- .tag_active_bg = .{ 0xb5, 0xbd, 0xd7 },
+ .tag_focus = .{ 0xb5, 0xbd, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:219 StatusLine guifg #6172b0, adjusted
- .tag_active_fg = .{ 0x40, 0x4b, 0x74 },
+ .tag_focus_text = .{ 0x40, 0x4b, 0x74 },
// the focused grip: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:15 blue; lualine normal-mode section a bg = colors.blue per ~/05-genizah/tokyonight.nvim/lua/lualine/themes/_tokyonight.lua:12 (tokyonight-day.lua calls it with style "day")
- .box = .{ 0x2e, 0x7d, 0xe9 },
- // derived: the grip at rest, the accent #2e7de9 faded toward the unfocused tag #d0d5e3 as far as 1.6:1 off it (0.50 of the way)
- .box_dim = .{ 0x7f, 0xa9, 0xe6 },
+ .accent = .{ 0x2e, 0x7d, 0xe9 },
// an unsaved grip: the original's modified colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:254 diffChanged guifg (= palette git.change)
- .box_dirty = .{ 0x50, 0x6d, 0x9c },
+ .dirty = .{ 0x50, 0x6d, 0x9c },
// derived: the column grip, the original's type colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:228 Type guifg
- .column_box = .{ 0x18, 0x80, 0x92 },
+ .column_grip = .{ 0x18, 0x80, 0x92 },
// ~/05-genizah/tokyonight.nvim/lua/tokyonight/groups/treesitter.lua:36 ["@keyword"] = c.purple, ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:55 purple (vim's regex Keyword is #007197)
- .kw = .{ 0x78, 0x47, 0xbd },
+ .keyword = .{ 0x78, 0x47, 0xbd },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:221 String guifg
- .str = .{ 0x58, 0x75, 0x39 },
+ .string = .{ 0x58, 0x75, 0x39 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:27 Constant guifg (Number is not defined by the theme, so Neovim's default link Number->Constant applies)
- .num = .{ 0xb1, 0x5c, 0x00 },
+ .number = .{ 0xb1, 0x5c, 0x00 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:24 Comment guifg
.comment = .{ 0x84, 0x8c, 0xb5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:91 LineNr guifg
- .lineno = .{ 0xa8, 0xae, 0xcb },
+ .line_number = .{ 0xa8, 0xae, 0xcb },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:34 CursorLineNr guifg
- .lineno_active = .{ 0xb1, 0x5c, 0x00 },
+ .line_number_current = .{ 0xb1, 0x5c, 0x00 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:201 PmenuSbar guibg
- .scroll_track = .{ 0xc8, 0xcf, 0xe1 },
+ .rail = .{ 0xc8, 0xcf, 0xe1 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:203 PmenuThumb guibg #a8aecb, adjusted
- .scroll_thumb = .{ 0x9f, 0xa8, 0xca },
+ .rail_thumb = .{ 0x9f, 0xa8, 0xca },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:250 WinSeparator guifg
- .border = .{ 0xb4, 0xb5, 0xb9 },
+ .rule = .{ 0xb4, 0xb5, 0xb9 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:207 Search guibg
- .search_bg = .{ 0x78, 0x90, 0xdd },
- // ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:207 Search guifg
- .search_fg = .{ 0x37, 0x60, 0xbf },
+ .hit = .{ 0x78, 0x90, 0xdd },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:36 DiagnosticError guifg
- .diagnostic_error = .{ 0xc6, 0x43, 0x43 },
+ .@"error" = .{ 0xc6, 0x43, 0x43 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:48 DiagnosticWarn guifg
- .diagnostic_warning = .{ 0x8c, 0x6c, 0x3e },
+ .warning = .{ 0x8c, 0x6c, 0x3e },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:38 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x07, 0x87, 0x9d },
+ .info = .{ 0x07, 0x87, 0x9d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:37 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x11, 0x8c, 0x74 },
- .palette = .{
+ .hint = .{ 0x11, 0x8c, 0x74 },
+ .ansi = .{
.{ 0xb4, 0xb5, 0xb9 }, // 0: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:61 terminal.black (vim.g.terminal_color_0 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xf5, 0x2a, 0x65 }, // 1: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:71 terminal.red (vim.g.terminal_color_1 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0x58, 0x75, 0x39 }, // 2: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:67 terminal.green (vim.g.terminal_color_2 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
diff --git a/core/themes/tokyonight_moon.zig b/core/themes/tokyonight_moon.zig
index 04c1bccc..b96663e7 100644
--- a/core/themes/tokyonight_moon.zig
+++ b/core/themes/tokyonight_moon.zig
@@ -22,63 +22,63 @@
//! named colours); terminal.* omitted from palette since it is the ansi list.
//! ansi matches extras/kitty/tokyonight_moon.conf color0-15. Lowercased from
//! upstream uppercase hex: bg_dark1.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #1e2030 -> #1a1c2c: 1.05:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - search hit #3e68d7 -> #543d2d: 3.03:1 off the page, now 1.52:1 (R8: 1.5:1, the text reading on it)
+//! - error #c53b53 -> #e85c70: 3.00:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyonight_moon",
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:193 Normal guibg
- .bg = .{ 0x22, 0x24, 0x36 },
+ .page = .{ 0x22, 0x24, 0x36 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:193 Normal guifg
- .fg = .{ 0xc8, 0xd3, 0xf5 },
+ .text = .{ 0xc8, 0xd3, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:245 Visual guibg
- .sel_bg = .{ 0x2d, 0x3f, 0x76 },
+ .selection = .{ 0x2d, 0x3f, 0x76 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc8, 0xd3, 0xf5 },
+ .selection_text = .{ 0xc8, 0xd3, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:220 StatusLineNC guibg
- .tag_bg = .{ 0x1e, 0x20, 0x30 },
+ .tag = .{ 0x1e, 0x20, 0x30 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:220 StatusLineNC guifg #3b4261, adjusted
- .tag_fg = .{ 0x85, 0x8a, 0x9d },
+ .tag_text = .{ 0x85, 0x8a, 0x9d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:219 StatusLine guibg #1e2030, adjusted
- .tag_active_bg = .{ 0x3a, 0x3e, 0x56 },
+ .tag_focus = .{ 0x3a, 0x3e, 0x56 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:219 StatusLine guifg #828bb8, adjusted
- .tag_active_fg = .{ 0xa3, 0xa9, 0xca },
+ .tag_focus_text = .{ 0xa3, 0xa9, 0xca },
// the focused grip: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_moon.lua:15 blue; lualine normal-mode section a bg = colors.blue per ~/05-genizah/tokyonight.nvim/lua/lualine/themes/_tokyonight.lua:12 (tokyonight-moon.lua calls it with style "moon")
- .box = .{ 0x82, 0xaa, 0xff },
- // derived: the grip at rest, the accent #82aaff faded toward the unfocused tag #1e2030 as far as 1.6:1 off it (0.26 of the way)
- .box_dim = .{ 0x38, 0x44, 0x66 },
+ .accent = .{ 0x82, 0xaa, 0xff },
// an unsaved grip: the original's warning colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:48 DiagnosticWarn guifg
- .box_dirty = .{ 0xff, 0xc7, 0x77 },
+ .dirty = .{ 0xff, 0xc7, 0x77 },
// derived: the column grip, the original's string colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:221 String guifg
- .column_box = .{ 0xc3, 0xe8, 0x8d },
+ .column_grip = .{ 0xc3, 0xe8, 0x8d },
// ~/05-genizah/tokyonight.nvim/lua/tokyonight/groups/treesitter.lua:36 ["@keyword"] = c.purple, ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_moon.lua:55 purple (vim's regex Keyword is #86e1fc)
- .kw = .{ 0xfc, 0xa7, 0xea },
+ .keyword = .{ 0xfc, 0xa7, 0xea },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:221 String guifg
- .str = .{ 0xc3, 0xe8, 0x8d },
+ .string = .{ 0xc3, 0xe8, 0x8d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:27 Constant guifg (Number is not defined by the theme, so Neovim's default link Number->Constant applies)
- .num = .{ 0xff, 0x96, 0x6c },
+ .number = .{ 0xff, 0x96, 0x6c },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:24 Comment guifg
.comment = .{ 0x63, 0x6d, 0xa6 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:91 LineNr guifg
- .lineno = .{ 0x3b, 0x42, 0x61 },
+ .line_number = .{ 0x3b, 0x42, 0x61 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:34 CursorLineNr guifg
- .lineno_active = .{ 0xff, 0x96, 0x6c },
+ .line_number_current = .{ 0xff, 0x96, 0x6c },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:201 PmenuSbar guibg
- .scroll_track = .{ 0x27, 0x29, 0x3a },
+ .rail = .{ 0x27, 0x29, 0x3a },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:203 PmenuThumb guibg #3b4261, adjusted
- .scroll_thumb = .{ 0x3e, 0x45, 0x64 },
+ .rail_thumb = .{ 0x3e, 0x45, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:250 WinSeparator guifg #1b1d2b, adjusted
- .border = .{ 0x41, 0x45, 0x57 },
+ .rule = .{ 0x41, 0x45, 0x57 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:207 Search guibg
- .search_bg = .{ 0x3e, 0x68, 0xd7 },
- // ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:207 Search guifg
- .search_fg = .{ 0xc8, 0xd3, 0xf5 },
+ .hit = .{ 0x3e, 0x68, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:36 DiagnosticError guifg
- .diagnostic_error = .{ 0xc5, 0x3b, 0x53 },
+ .@"error" = .{ 0xc5, 0x3b, 0x53 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:48 DiagnosticWarn guifg
- .diagnostic_warning = .{ 0xff, 0xc7, 0x77 },
+ .warning = .{ 0xff, 0xc7, 0x77 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:38 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x0d, 0xb9, 0xd7 },
+ .info = .{ 0x0d, 0xb9, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-moon.vim:37 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x4f, 0xd6, 0xbe },
- .palette = .{
+ .hint = .{ 0x4f, 0xd6, 0xbe },
+ .ansi = .{
.{ 0x1b, 0x1d, 0x2b }, // 0: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_moon.lua:61 terminal.black (vim.g.terminal_color_0 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xff, 0x75, 0x7f }, // 1: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_moon.lua:71 terminal.red (vim.g.terminal_color_1 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xc3, 0xe8, 0x8d }, // 2: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_moon.lua:67 terminal.green (vim.g.terminal_color_2 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
diff --git a/core/themes/tokyonight_night.zig b/core/themes/tokyonight_night.zig
index eeb7e5a5..792b1a25 100644
--- a/core/themes/tokyonight_night.zig
+++ b/core/themes/tokyonight_night.zig
@@ -20,63 +20,63 @@
//! named colours); terminal.* omitted from palette since it is the ansi list.
//! ansi matches extras/kitty/tokyonight_night.conf color0-15. Lowercased from
//! upstream uppercase hex: bg_dark1.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #16161e -> #101018: 1.05:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - search hit #3d59a1 -> #4e351d: 2.56:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #db4b4b -> #e25251: 4.17:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyonight_night",
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:193 Normal guibg
- .bg = .{ 0x1a, 0x1b, 0x26 },
+ .page = .{ 0x1a, 0x1b, 0x26 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:193 Normal guifg
- .fg = .{ 0xc0, 0xca, 0xf5 },
+ .text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:245 Visual guibg
- .sel_bg = .{ 0x28, 0x34, 0x57 },
+ .selection = .{ 0x28, 0x34, 0x57 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc0, 0xca, 0xf5 },
+ .selection_text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:220 StatusLineNC guibg
- .tag_bg = .{ 0x16, 0x16, 0x1e },
+ .tag = .{ 0x16, 0x16, 0x1e },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:220 StatusLineNC guifg #3b4261, adjusted
- .tag_fg = .{ 0x7e, 0x82, 0x97 },
+ .tag_text = .{ 0x7e, 0x82, 0x97 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:219 StatusLine guibg #16161e, adjusted
- .tag_active_bg = .{ 0x36, 0x38, 0x46 },
+ .tag_focus = .{ 0x36, 0x38, 0x46 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:219 StatusLine guifg
- .tag_active_fg = .{ 0xa9, 0xb1, 0xd6 },
+ .tag_focus_text = .{ 0xa9, 0xb1, 0xd6 },
// the focused grip: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:15 blue; lualine normal-mode section a bg = colors.blue per ~/05-genizah/tokyonight.nvim/lua/lualine/themes/_tokyonight.lua:12 (tokyonight-night.lua calls it with style "night")
- .box = .{ 0x7a, 0xa2, 0xf7 },
- // derived: the grip at rest, the accent #7aa2f7 faded toward the unfocused tag #16161e as far as 1.6:1 off it (0.28 of the way)
- .box_dim = .{ 0x32, 0x3d, 0x5b },
+ .accent = .{ 0x7a, 0xa2, 0xf7 },
// an unsaved grip: the original's modified colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:254 diffChanged guifg (= palette git.change)
- .box_dirty = .{ 0x61, 0x83, 0xbb },
+ .dirty = .{ 0x61, 0x83, 0xbb },
// derived: the column grip, the original's type colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:228 Type guifg
- .column_box = .{ 0x2a, 0xc3, 0xde },
+ .column_grip = .{ 0x2a, 0xc3, 0xde },
// ~/05-genizah/tokyonight.nvim/lua/tokyonight/groups/treesitter.lua:36 ["@keyword"] = c.purple, ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:55 purple (vim's regex Keyword is #7dcfff)
- .kw = .{ 0x9d, 0x7c, 0xd8 },
+ .keyword = .{ 0x9d, 0x7c, 0xd8 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:221 String guifg
- .str = .{ 0x9e, 0xce, 0x6a },
+ .string = .{ 0x9e, 0xce, 0x6a },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:27 Constant guifg (Number is not defined by the theme, so Neovim's default link Number->Constant applies)
- .num = .{ 0xff, 0x9e, 0x64 },
+ .number = .{ 0xff, 0x9e, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:24 Comment guifg
.comment = .{ 0x56, 0x5f, 0x89 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:91 LineNr guifg
- .lineno = .{ 0x3b, 0x42, 0x61 },
+ .line_number = .{ 0x3b, 0x42, 0x61 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:34 CursorLineNr guifg
- .lineno_active = .{ 0xff, 0x9e, 0x64 },
+ .line_number_current = .{ 0xff, 0x9e, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:201 PmenuSbar guibg
- .scroll_track = .{ 0x1f, 0x1f, 0x29 },
+ .rail = .{ 0x1f, 0x1f, 0x29 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:203 PmenuThumb guibg
- .scroll_thumb = .{ 0x3b, 0x42, 0x61 },
+ .rail_thumb = .{ 0x3b, 0x42, 0x61 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:250 WinSeparator guifg #15161e, adjusted
- .border = .{ 0x3b, 0x3e, 0x4d },
+ .rule = .{ 0x3b, 0x3e, 0x4d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:207 Search guibg
- .search_bg = .{ 0x3d, 0x59, 0xa1 },
- // ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:207 Search guifg
- .search_fg = .{ 0xc0, 0xca, 0xf5 },
+ .hit = .{ 0x3d, 0x59, 0xa1 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:36 DiagnosticError guifg
- .diagnostic_error = .{ 0xdb, 0x4b, 0x4b },
+ .@"error" = .{ 0xdb, 0x4b, 0x4b },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:48 DiagnosticWarn guifg
- .diagnostic_warning = .{ 0xe0, 0xaf, 0x68 },
+ .warning = .{ 0xe0, 0xaf, 0x68 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:38 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x0d, 0xb9, 0xd7 },
+ .info = .{ 0x0d, 0xb9, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:37 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x1a, 0xbc, 0x9c },
- .palette = .{
+ .hint = .{ 0x1a, 0xbc, 0x9c },
+ .ansi = .{
.{ 0x15, 0x16, 0x1e }, // 0: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:61 terminal.black (vim.g.terminal_color_0 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xf7, 0x76, 0x8e }, // 1: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:71 terminal.red (vim.g.terminal_color_1 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0x9e, 0xce, 0x6a }, // 2: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:67 terminal.green (vim.g.terminal_color_2 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
diff --git a/core/themes/tokyonight_storm.zig b/core/themes/tokyonight_storm.zig
index 5fadf177..f46dc56b 100644
--- a/core/themes/tokyonight_storm.zig
+++ b/core/themes/tokyonight_storm.zig
@@ -20,63 +20,65 @@
//! (colors.blue). Palette skips 'none' and the 'rainbow' list (duplicates of
//! named colours); terminal.* omitted from palette since it is the ansi list.
//! ansi matches extras/kitty/tokyonight_storm.conf color0-15.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #1f2335 -> #1c2032: 1.07:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - unsaved grip #6183bb -> #6c8fc7: 4.20:1 on the tag, now 4.91:1 (R6: 3:1 on both tags)
+//! - selection #2e3c64 -> #2d3c7a: 1.35:1 off the page, now 1.41:1 (R7)
+//! - search hit #3d59a1 -> #554031: 2.18:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
+//! - error #db4b4b -> #f05f5c: 3.55:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyonight_storm",
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:193 Normal guibg
- .bg = .{ 0x24, 0x28, 0x3b },
+ .page = .{ 0x24, 0x28, 0x3b },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:193 Normal guifg
- .fg = .{ 0xc0, 0xca, 0xf5 },
+ .text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:245 Visual guibg
- .sel_bg = .{ 0x2e, 0x3c, 0x64 },
+ .selection = .{ 0x2e, 0x3c, 0x64 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc0, 0xca, 0xf5 },
+ .selection_text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:220 StatusLineNC guibg
- .tag_bg = .{ 0x1f, 0x23, 0x35 },
+ .tag = .{ 0x1f, 0x23, 0x35 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:220 StatusLineNC guifg #3b4261, adjusted
- .tag_fg = .{ 0x85, 0x8a, 0x9d },
+ .tag_text = .{ 0x85, 0x8a, 0x9d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:219 StatusLine guibg #1f2335, adjusted
- .tag_active_bg = .{ 0x3d, 0x42, 0x58 },
+ .tag_focus = .{ 0x3d, 0x42, 0x58 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:219 StatusLine guifg
- .tag_active_fg = .{ 0xa9, 0xb1, 0xd6 },
+ .tag_focus_text = .{ 0xa9, 0xb1, 0xd6 },
// the focused grip: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_storm.lua:15 blue; lualine normal-mode section a bg = colors.blue per ~/05-genizah/tokyonight.nvim/lua/lualine/themes/_tokyonight.lua:12 (tokyonight-storm.lua calls it with style "storm")
- .box = .{ 0x7a, 0xa2, 0xf7 },
- // derived: the grip at rest, the accent #7aa2f7 faded toward the unfocused tag #1f2335 as far as 1.6:1 off it (0.26 of the way)
- .box_dim = .{ 0x37, 0x44, 0x67 },
+ .accent = .{ 0x7a, 0xa2, 0xf7 },
// an unsaved grip: the original's modified colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:254 diffChanged guifg (= palette git.change)
- .box_dirty = .{ 0x61, 0x83, 0xbb },
+ .dirty = .{ 0x61, 0x83, 0xbb },
// derived: the column grip, the original's type colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:228 Type guifg
- .column_box = .{ 0x2a, 0xc3, 0xde },
+ .column_grip = .{ 0x2a, 0xc3, 0xde },
// ~/05-genizah/tokyonight.nvim/lua/tokyonight/groups/treesitter.lua:36 ["@keyword"] = c.purple, ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_storm.lua:55 purple (vim's regex Keyword is #7dcfff)
- .kw = .{ 0x9d, 0x7c, 0xd8 },
+ .keyword = .{ 0x9d, 0x7c, 0xd8 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:221 String guifg
- .str = .{ 0x9e, 0xce, 0x6a },
+ .string = .{ 0x9e, 0xce, 0x6a },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:27 Constant guifg (Number is not defined by the theme, so Neovim's default link Number->Constant applies)
- .num = .{ 0xff, 0x9e, 0x64 },
+ .number = .{ 0xff, 0x9e, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:24 Comment guifg
.comment = .{ 0x56, 0x5f, 0x89 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:91 LineNr guifg
- .lineno = .{ 0x3b, 0x42, 0x61 },
+ .line_number = .{ 0x3b, 0x42, 0x61 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:34 CursorLineNr guifg
- .lineno_active = .{ 0xff, 0x9e, 0x64 },
+ .line_number_current = .{ 0xff, 0x9e, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:201 PmenuSbar guibg
- .scroll_track = .{ 0x27, 0x2b, 0x3f },
+ .rail = .{ 0x27, 0x2b, 0x3f },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:203 PmenuThumb guibg #3b4261, adjusted
- .scroll_thumb = .{ 0x40, 0x47, 0x67 },
+ .rail_thumb = .{ 0x40, 0x47, 0x67 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:250 WinSeparator guifg #1d202f, adjusted
- .border = .{ 0x44, 0x49, 0x5f },
+ .rule = .{ 0x44, 0x49, 0x5f },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:207 Search guibg
- .search_bg = .{ 0x3d, 0x59, 0xa1 },
- // ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:207 Search guifg
- .search_fg = .{ 0xc0, 0xca, 0xf5 },
+ .hit = .{ 0x3d, 0x59, 0xa1 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:36 DiagnosticError guifg
- .diagnostic_error = .{ 0xdb, 0x4b, 0x4b },
+ .@"error" = .{ 0xdb, 0x4b, 0x4b },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:48 DiagnosticWarn guifg
- .diagnostic_warning = .{ 0xe0, 0xaf, 0x68 },
+ .warning = .{ 0xe0, 0xaf, 0x68 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:38 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x0d, 0xb9, 0xd7 },
+ .info = .{ 0x0d, 0xb9, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-storm.vim:37 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x1a, 0xbc, 0x9c },
- .palette = .{
+ .hint = .{ 0x1a, 0xbc, 0x9c },
+ .ansi = .{
.{ 0x1d, 0x20, 0x2f }, // 0: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_storm.lua:61 terminal.black (vim.g.terminal_color_0 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xf7, 0x76, 0x8e }, // 1: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_storm.lua:71 terminal.red (vim.g.terminal_color_1 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0x9e, 0xce, 0x6a }, // 2: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_storm.lua:67 terminal.green (vim.g.terminal_color_2 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
diff --git a/core/themes/vimbones.zig b/core/themes/vimbones.zig
index 1823c40d..e2f5ea34 100644
--- a/core/themes/vimbones.zig
+++ b/core/themes/vimbones.zig
@@ -18,63 +18,62 @@
//! links to StatusLine, TabLineFill to StatusLineNC. Accent is the lualine
//! normal-mode a bg, a muted neutral (the theme is contrast-based, not
//! hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #a2a287 -> #6e6e55: 1.51:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - selection #d7d7d7 -> #d8d8b3: 1.24:1 off the page, now 1.25:1 (R7)
pub const theme = .{
.name = "vimbones",
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:34 Normal guibg
- .bg = .{ 0xf0, 0xf0, 0xca },
+ .page = .{ 0xf0, 0xf0, 0xca },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:34 Normal guifg
- .fg = .{ 0x35, 0x35, 0x35 },
+ .text = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:212 Visual guibg
- .sel_bg = .{ 0xd7, 0xd7, 0xd7 },
+ .selection = .{ 0xd7, 0xd7, 0xd7 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x35, 0x35, 0x35 },
+ .selection_text = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:199 StatusLineNC guibg
- .tag_bg = .{ 0xdf, 0xdf, 0xbc },
+ .tag = .{ 0xdf, 0xdf, 0xbc },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:199 StatusLineNC guifg #686868, adjusted
- .tag_fg = .{ 0x60, 0x60, 0x60 },
+ .tag_text = .{ 0x60, 0x60, 0x60 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:196 StatusLine guibg #d1d1b0, adjusted
- .tag_active_bg = .{ 0xc7, 0xc7, 0xa8 },
+ .tag_focus = .{ 0xc7, 0xc7, 0xa8 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:196 StatusLine guifg
- .tag_active_fg = .{ 0x35, 0x35, 0x35 },
+ .tag_focus_text = .{ 0x35, 0x35, 0x35 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/vimbones_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0xa2, 0xa2, 0x87 },
- // derived: the grip at rest, the accent #b0b093 faded toward the unfocused tag #dfdfbc as far as 1.6:1 off it (1.00 of the way)
- .box_dim = .{ 0xb0, 0xb0, 0x93 },
+ .accent = .{ 0xa2, 0xa2, 0x87 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/vimbones.vim:42 Changed guifg
- .box_dirty = .{ 0x28, 0x64, 0x86 },
+ .dirty = .{ 0x28, 0x64, 0x86 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/vimbones.vim:208 Type guifg
- .column_box = .{ 0x5b, 0x5b, 0x42 },
+ .column_grip = .{ 0x5b, 0x5b, 0x42 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:193 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x15, 0x6a, 0x29 },
+ .keyword = .{ 0x15, 0x6a, 0x29 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:202 String guifg
- .str = .{ 0x63, 0x63, 0x63 },
+ .string = .{ 0x63, 0x63, 0x63 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:165 Number guifg
- .num = .{ 0x2a, 0x65, 0x35 },
+ .number = .{ 0x2a, 0x65, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:48 Comment guifg
.comment = .{ 0x8c, 0x8c, 0x7c },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:151 LineNr guifg
- .lineno = .{ 0x9a, 0x9a, 0x81 },
+ .line_number = .{ 0x9a, 0x9a, 0x81 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:63 CursorLineNr guifg
- .lineno_active = .{ 0x35, 0x35, 0x35 },
+ .line_number_current = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:168 PmenuSbar guibg
- .scroll_track = .{ 0xa7, 0xa7, 0x8d },
+ .rail = .{ 0xa7, 0xa7, 0x8d },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:170 PmenuThumb guibg
- .scroll_thumb = .{ 0xf9, 0xf9, 0xd2 },
+ .rail_thumb = .{ 0xf9, 0xf9, 0xd2 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:219 WinSeparator guifg
- .border = .{ 0x9a, 0x9a, 0x81 },
+ .rule = .{ 0x9a, 0x9a, 0x81 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:174 Search guibg
- .search_bg = .{ 0xde, 0xb9, 0xd6 },
- // ~/05-genizah/zenbones.nvim/colors/vimbones.vim:174 Search guifg
- .search_fg = .{ 0x35, 0x35, 0x35 },
+ .hit = .{ 0xde, 0xb9, 0xd6 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:114 Error guifg via DiagnosticError->Error (link :115)
- .diagnostic_error = .{ 0xa8, 0x33, 0x4c },
+ .@"error" = .{ 0xa8, 0x33, 0x4c },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
- .diagnostic_warning = .{ 0x94, 0x49, 0x27 },
+ .warning = .{ 0x94, 0x49, 0x27 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:73 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x28, 0x64, 0x86 },
+ .info = .{ 0x28, 0x64, 0x86 },
// ~/05-genizah/zenbones.nvim/colors/vimbones.vim:68 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x88, 0x50, 0x7d },
- .palette = .{
+ .hint = .{ 0x88, 0x50, 0x7d },
+ .ansi = .{
.{ 0xf0, 0xf0, 0xca }, // 0: ~/05-genizah/zenbones.nvim/colors/vimbones.vim:18 g:terminal_color_0
.{ 0xa8, 0x33, 0x4c }, // 1: ~/05-genizah/zenbones.nvim/colors/vimbones.vim:19 g:terminal_color_1
.{ 0x4f, 0x6c, 0x31 }, // 2: ~/05-genizah/zenbones.nvim/colors/vimbones.vim:20 g:terminal_color_2
diff --git a/core/themes/zenbones_dark.zig b/core/themes/zenbones_dark.zig
index 89f5a934..6d5b5f55 100644
--- a/core/themes/zenbones_dark.zig
+++ b/core/themes/zenbones_dark.zig
@@ -15,63 +15,62 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #635b58 -> #928986: 1.55:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - search hit #65435e -> #5a2c14: 2.10:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "zenbones_dark",
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:33 Normal guibg
- .bg = .{ 0x1c, 0x19, 0x17 },
+ .page = .{ 0x1c, 0x19, 0x17 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:33 Normal guifg
- .fg = .{ 0xb4, 0xbd, 0xc3 },
+ .text = .{ 0xb4, 0xbd, 0xc3 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:211 Visual guibg
- .sel_bg = .{ 0x3d, 0x40, 0x42 },
+ .selection = .{ 0x3d, 0x40, 0x42 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xb4, 0xbd, 0xc3 },
+ .selection_text = .{ 0xb4, 0xbd, 0xc3 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:198 StatusLineNC guibg
- .tag_bg = .{ 0x27, 0x23, 0x21 },
+ .tag = .{ 0x27, 0x23, 0x21 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:198 StatusLineNC guifg
- .tag_fg = .{ 0xca, 0xd0, 0xd4 },
+ .tag_text = .{ 0xca, 0xd0, 0xd4 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:195 StatusLine guibg #352f2d, adjusted
- .tag_active_bg = .{ 0x47, 0x3f, 0x3d },
+ .tag_focus = .{ 0x47, 0x3f, 0x3d },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:195 StatusLine guifg
- .tag_active_fg = .{ 0xb4, 0xbd, 0xc3 },
+ .tag_focus_text = .{ 0xb4, 0xbd, 0xc3 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/zenbones_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x63, 0x5b, 0x58 },
- // derived: the grip at rest, the accent #59514d faded toward the unfocused tag #272321 as far as 1.6:1 off it (0.72 of the way)
- .box_dim = .{ 0x4b, 0x44, 0x41 },
+ .accent = .{ 0x63, 0x5b, 0x58 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/zenbones.vim:41 Changed guifg
- .box_dirty = .{ 0x60, 0x99, 0xc0 },
+ .dirty = .{ 0x60, 0x99, 0xc0 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/zenbones.vim:207 Type guifg
- .column_box = .{ 0xa1, 0x93, 0x8c },
+ .column_grip = .{ 0xa1, 0x93, 0x8c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:191 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xb4, 0xbd, 0xc3 },
+ .keyword = .{ 0xb4, 0xbd, 0xc3 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:201 String guifg
- .str = .{ 0x86, 0x8c, 0x91 },
+ .string = .{ 0x86, 0x8c, 0x91 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:164 Number guifg
- .num = .{ 0x86, 0x8c, 0x91 },
+ .number = .{ 0x86, 0x8c, 0x91 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:47 Comment guifg
.comment = .{ 0x6e, 0x67, 0x63 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:150 LineNr guifg
- .lineno = .{ 0x68, 0x5f, 0x5a },
+ .line_number = .{ 0x68, 0x5f, 0x5a },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:62 CursorLineNr guifg
- .lineno_active = .{ 0xb4, 0xbd, 0xc3 },
+ .line_number_current = .{ 0xb4, 0xbd, 0xc3 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:167 PmenuSbar guibg
- .scroll_track = .{ 0x61, 0x58, 0x53 },
+ .rail = .{ 0x61, 0x58, 0x53 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:169 PmenuThumb guibg
- .scroll_thumb = .{ 0x8e, 0x81, 0x7b },
+ .rail_thumb = .{ 0x8e, 0x81, 0x7b },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:218 WinSeparator guifg
- .border = .{ 0x68, 0x5f, 0x5a },
+ .rule = .{ 0x68, 0x5f, 0x5a },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:172 Search guibg
- .search_bg = .{ 0x65, 0x43, 0x5e },
- // ~/05-genizah/zenbones.nvim/colors/zenbones.vim:172 Search guifg
- .search_fg = .{ 0xb4, 0xbd, 0xc3 },
+ .hit = .{ 0x65, 0x43, 0x5e },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:113 Error guifg via DiagnosticError->Error (link :114)
- .diagnostic_error = .{ 0xde, 0x6e, 0x7c },
+ .@"error" = .{ 0xde, 0x6e, 0x7c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:212 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :213)
- .diagnostic_warning = .{ 0xb7, 0x7e, 0x64 },
+ .warning = .{ 0xb7, 0x7e, 0x64 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:72 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x60, 0x99, 0xc0 },
+ .info = .{ 0x60, 0x99, 0xc0 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:67 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xb2, 0x79, 0xa7 },
- .palette = .{
+ .hint = .{ 0xb2, 0x79, 0xa7 },
+ .ansi = .{
.{ 0x1c, 0x19, 0x17 }, // 0: ~/05-genizah/zenbones.nvim/colors/zenbones.vim:17 g:terminal_color_0
.{ 0xde, 0x6e, 0x7c }, // 1: ~/05-genizah/zenbones.nvim/colors/zenbones.vim:18 g:terminal_color_1
.{ 0x81, 0x9b, 0x69 }, // 2: ~/05-genizah/zenbones.nvim/colors/zenbones.vim:19 g:terminal_color_2
diff --git a/core/themes/zenbones_light.zig b/core/themes/zenbones_light.zig
index 8d5cc2b8..b60b6d54 100644
--- a/core/themes/zenbones_light.zig
+++ b/core/themes/zenbones_light.zig
@@ -16,63 +16,62 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #ac9d96 -> #786a64: 1.52:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - selection #cbd9e3 -> #ccd7e0: 1.24:1 off the page, now 1.26:1 (R7)
pub const theme = .{
.name = "zenbones_light",
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:267 Normal guibg
- .bg = .{ 0xf0, 0xed, 0xec },
+ .page = .{ 0xf0, 0xed, 0xec },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:267 Normal guifg
- .fg = .{ 0x2c, 0x36, 0x3c },
+ .text = .{ 0x2c, 0x36, 0x3c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:445 Visual guibg
- .sel_bg = .{ 0xcb, 0xd9, 0xe3 },
+ .selection = .{ 0xcb, 0xd9, 0xe3 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x2c, 0x36, 0x3c },
+ .selection_text = .{ 0x2c, 0x36, 0x3c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:432 StatusLineNC guibg
- .tag_bg = .{ 0xe1, 0xdc, 0xd9 },
+ .tag = .{ 0xe1, 0xdc, 0xd9 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:432 StatusLineNC guifg #596a76, adjusted
- .tag_fg = .{ 0x52, 0x62, 0x6d },
+ .tag_text = .{ 0x52, 0x62, 0x6d },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:429 StatusLine guibg #d6cdc9, adjusted
- .tag_active_bg = .{ 0xcf, 0xc3, 0xbf },
+ .tag_focus = .{ 0xcf, 0xc3, 0xbf },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:429 StatusLine guifg
- .tag_active_fg = .{ 0x2c, 0x36, 0x3c },
+ .tag_focus_text = .{ 0x2c, 0x36, 0x3c },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/zenbones_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0xac, 0x9d, 0x96 },
- // derived: the grip at rest, the accent #bbaba3 faded toward the unfocused tag #e1dcd9 as far as 1.6:1 off it (0.98 of the way)
- .box_dim = .{ 0xbc, 0xac, 0xa4 },
+ .accent = .{ 0xac, 0x9d, 0x96 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/zenbones.vim:275 Changed guifg
- .box_dirty = .{ 0x28, 0x64, 0x86 },
+ .dirty = .{ 0x28, 0x64, 0x86 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/zenbones.vim:441 Type guifg
- .column_box = .{ 0x6a, 0x55, 0x49 },
+ .column_grip = .{ 0x6a, 0x55, 0x49 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:425 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x2c, 0x36, 0x3c },
+ .keyword = .{ 0x2c, 0x36, 0x3c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:435 String guifg
- .str = .{ 0x55, 0x65, 0x70 },
+ .string = .{ 0x55, 0x65, 0x70 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:398 Number guifg
- .num = .{ 0x55, 0x65, 0x70 },
+ .number = .{ 0x55, 0x65, 0x70 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:281 Comment guifg
.comment = .{ 0x94, 0x89, 0x85 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:384 LineNr guifg
- .lineno = .{ 0xa4, 0x96, 0x8f },
+ .line_number = .{ 0xa4, 0x96, 0x8f },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:296 CursorLineNr guifg
- .lineno_active = .{ 0x2c, 0x36, 0x3c },
+ .line_number_current = .{ 0x2c, 0x36, 0x3c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:401 PmenuSbar guibg
- .scroll_track = .{ 0xb2, 0xa3, 0x9b },
+ .rail = .{ 0xb2, 0xa3, 0x9b },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:403 PmenuThumb guibg
- .scroll_thumb = .{ 0xf7, 0xf6, 0xf5 },
+ .rail_thumb = .{ 0xf7, 0xf6, 0xf5 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:452 WinSeparator guifg
- .border = .{ 0xa4, 0x96, 0x8f },
+ .rule = .{ 0xa4, 0x96, 0x8f },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:406 Search guibg
- .search_bg = .{ 0xde, 0xb9, 0xd6 },
- // ~/05-genizah/zenbones.nvim/colors/zenbones.vim:406 Search guifg
- .search_fg = .{ 0x2c, 0x36, 0x3c },
+ .hit = .{ 0xde, 0xb9, 0xd6 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:347 Error guifg via DiagnosticError->Error (link :348)
- .diagnostic_error = .{ 0xa8, 0x33, 0x4c },
+ .@"error" = .{ 0xa8, 0x33, 0x4c },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:446 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :447)
- .diagnostic_warning = .{ 0x94, 0x49, 0x27 },
+ .warning = .{ 0x94, 0x49, 0x27 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:306 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x28, 0x64, 0x86 },
+ .info = .{ 0x28, 0x64, 0x86 },
// ~/05-genizah/zenbones.nvim/colors/zenbones.vim:301 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x88, 0x50, 0x7d },
- .palette = .{
+ .hint = .{ 0x88, 0x50, 0x7d },
+ .ansi = .{
.{ 0xf0, 0xed, 0xec }, // 0: ~/05-genizah/zenbones.nvim/colors/zenbones.vim:251 g:terminal_color_0
.{ 0xa8, 0x33, 0x4c }, // 1: ~/05-genizah/zenbones.nvim/colors/zenbones.vim:252 g:terminal_color_1
.{ 0x4f, 0x6c, 0x31 }, // 2: ~/05-genizah/zenbones.nvim/colors/zenbones.vim:253 g:terminal_color_2
diff --git a/core/themes/zenburned.zig b/core/themes/zenburned.zig
index 3c8baa82..4e9df574 100644
--- a/core/themes/zenburned.zig
+++ b/core/themes/zenburned.zig
@@ -15,63 +15,68 @@
//! (bold only), so it inherits Normal. TabLine links to StatusLine, TabLineFill
//! to StatusLineNC. Accent is the lualine normal-mode a bg, a muted neutral
//! (the theme is contrast-based, not hue-accented). Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #838383 -> #b9b9b9: 1.56:1 on the focused tag, now 3.02:1 (R6: 3:1)
+//! - unsaved grip #6099c0 -> #86c0e8: 2.92:1 on the tag, now 4.60:1 (R6: 3:1 on both tags)
+//! - selection text #f0e4cf -> #f6ead4: 4.29:1 on the selection, now 4.53:1 (R7: 4.5:1)
+//! - search hit #9c6992 -> #7d4f3a: 2.39:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #e3716e -> #fe8985: 3.38:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #b77e64 -> #d99e83: 3.05:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - info #6099c0 -> #78b2da: 3.36:1 on the page, now 4.53:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #b279a7 -> #d499c8: 3.05:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "zenburned",
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:34 Normal guibg
- .bg = .{ 0x40, 0x40, 0x40 },
+ .page = .{ 0x40, 0x40, 0x40 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:34 Normal guifg
- .fg = .{ 0xf0, 0xe4, 0xcf },
+ .text = .{ 0xf0, 0xe4, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:212 Visual guibg
- .sel_bg = .{ 0x74, 0x69, 0x56 },
+ .selection = .{ 0x74, 0x69, 0x56 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xf0, 0xe4, 0xcf },
+ .selection_text = .{ 0xf0, 0xe4, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:199 StatusLineNC guibg
- .tag_bg = .{ 0x49, 0x49, 0x49 },
+ .tag = .{ 0x49, 0x49, 0x49 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:199 StatusLineNC guifg
- .tag_fg = .{ 0xf5, 0xed, 0xe0 },
+ .tag_text = .{ 0xf5, 0xed, 0xe0 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:196 StatusLine guibg #555555, adjusted
- .tag_active_bg = .{ 0x64, 0x64, 0x64 },
+ .tag_focus = .{ 0x64, 0x64, 0x64 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:196 StatusLine guifg
- .tag_active_fg = .{ 0xf0, 0xe4, 0xcf },
+ .tag_focus_text = .{ 0xf0, 0xe4, 0xcf },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/zenburned_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x83, 0x83, 0x83 },
- // derived: the grip at rest, the accent #6f6f6f faded toward the unfocused tag #494949 as far as 1.6:1 off it (0.82 of the way)
- .box_dim = .{ 0x68, 0x68, 0x68 },
+ .accent = .{ 0x83, 0x83, 0x83 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/zenburned.vim:42 Changed guifg
- .box_dirty = .{ 0x60, 0x99, 0xc0 },
+ .dirty = .{ 0x60, 0x99, 0xc0 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/zenburned.vim:208 Type guifg
- .column_box = .{ 0xa8, 0xa8, 0xa8 },
+ .column_grip = .{ 0xa8, 0xa8, 0xa8 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:193 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xdc, 0xa2, 0xa2 },
+ .keyword = .{ 0xdc, 0xa2, 0xa2 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:202 String guifg
- .str = .{ 0xba, 0xa6, 0x81 },
+ .string = .{ 0xba, 0xa6, 0x81 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:165 Number guifg
- .num = .{ 0xba, 0xa6, 0x81 },
+ .number = .{ 0xba, 0xa6, 0x81 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:48 Comment guifg
.comment = .{ 0x84, 0x84, 0x84 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:151 LineNr guifg
- .lineno = .{ 0x7f, 0x7f, 0x7f },
+ .line_number = .{ 0x7f, 0x7f, 0x7f },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:63 CursorLineNr guifg
- .lineno_active = .{ 0xf0, 0xe4, 0xcf },
+ .line_number_current = .{ 0xf0, 0xe4, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:168 PmenuSbar guibg
- .scroll_track = .{ 0x77, 0x77, 0x77 },
+ .rail = .{ 0x77, 0x77, 0x77 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:170 PmenuThumb guibg
- .scroll_thumb = .{ 0x9b, 0x9b, 0x9b },
+ .rail_thumb = .{ 0x9b, 0x9b, 0x9b },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:219 WinSeparator guifg
- .border = .{ 0x7f, 0x7f, 0x7f },
+ .rule = .{ 0x7f, 0x7f, 0x7f },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:174 Search guibg
- .search_bg = .{ 0x9c, 0x69, 0x92 },
- // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:174 Search guifg
- .search_fg = .{ 0xf0, 0xe4, 0xcf },
+ .hit = .{ 0x9c, 0x69, 0x92 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:114 Error guifg via DiagnosticError->Error (link :115)
- .diagnostic_error = .{ 0xe3, 0x71, 0x6e },
+ .@"error" = .{ 0xe3, 0x71, 0x6e },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
- .diagnostic_warning = .{ 0xb7, 0x7e, 0x64 },
+ .warning = .{ 0xb7, 0x7e, 0x64 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:73 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x60, 0x99, 0xc0 },
+ .info = .{ 0x60, 0x99, 0xc0 },
// ~/05-genizah/zenbones.nvim/colors/zenburned.vim:68 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xb2, 0x79, 0xa7 },
- .palette = .{
+ .hint = .{ 0xb2, 0x79, 0xa7 },
+ .ansi = .{
.{ 0x40, 0x40, 0x40 }, // 0: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:18 g:terminal_color_0
.{ 0xe3, 0x71, 0x6e }, // 1: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:19 g:terminal_color_1
.{ 0x81, 0x9b, 0x69 }, // 2: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:20 g:terminal_color_2
diff --git a/core/themes/zenwritten_dark.zig b/core/themes/zenwritten_dark.zig
index 76b7047e..ec4db41d 100644
--- a/core/themes/zenwritten_dark.zig
+++ b/core/themes/zenwritten_dark.zig
@@ -15,63 +15,62 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #5c5c5c -> #8c8c8c: 1.53:1 on the focused tag, now 3.04:1 (R6: 3:1)
+//! - search hit #65435e -> #572d18: 2.11:1 off the page, now 1.50:1 (R8: 1.5:1, the text reading on it)
pub const theme = .{
.name = "zenwritten_dark",
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:33 Normal guibg
- .bg = .{ 0x19, 0x19, 0x19 },
+ .page = .{ 0x19, 0x19, 0x19 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:33 Normal guifg
- .fg = .{ 0xbb, 0xbb, 0xbb },
+ .text = .{ 0xbb, 0xbb, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:211 Visual guibg
- .sel_bg = .{ 0x40, 0x40, 0x40 },
+ .selection = .{ 0x40, 0x40, 0x40 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xbb, 0xbb, 0xbb },
+ .selection_text = .{ 0xbb, 0xbb, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:198 StatusLineNC guibg
- .tag_bg = .{ 0x24, 0x24, 0x24 },
+ .tag = .{ 0x24, 0x24, 0x24 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:198 StatusLineNC guifg
- .tag_fg = .{ 0xcf, 0xcf, 0xcf },
+ .tag_text = .{ 0xcf, 0xcf, 0xcf },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:195 StatusLine guibg #303030, adjusted
- .tag_active_bg = .{ 0x41, 0x41, 0x41 },
+ .tag_focus = .{ 0x41, 0x41, 0x41 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:195 StatusLine guifg
- .tag_active_fg = .{ 0xbb, 0xbb, 0xbb },
+ .tag_focus_text = .{ 0xbb, 0xbb, 0xbb },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/zenwritten_dark_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0x5c, 0x5c, 0x5c },
- // derived: the grip at rest, the accent #525252 faded toward the unfocused tag #242424 as far as 1.6:1 off it (0.72 of the way)
- .box_dim = .{ 0x45, 0x45, 0x45 },
+ .accent = .{ 0x5c, 0x5c, 0x5c },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:41 Changed guifg
- .box_dirty = .{ 0x60, 0x99, 0xc0 },
+ .dirty = .{ 0x60, 0x99, 0xc0 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:207 Type guifg
- .column_box = .{ 0x96, 0x96, 0x96 },
+ .column_grip = .{ 0x96, 0x96, 0x96 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:191 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0xbb, 0xbb, 0xbb },
+ .keyword = .{ 0xbb, 0xbb, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:201 String guifg
- .str = .{ 0x8b, 0x8b, 0x8b },
+ .string = .{ 0x8b, 0x8b, 0x8b },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:164 Number guifg
- .num = .{ 0x8b, 0x8b, 0x8b },
+ .number = .{ 0x8b, 0x8b, 0x8b },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:47 Comment guifg
.comment = .{ 0x68, 0x68, 0x68 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:150 LineNr guifg
- .lineno = .{ 0x61, 0x61, 0x61 },
+ .line_number = .{ 0x61, 0x61, 0x61 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:62 CursorLineNr guifg
- .lineno_active = .{ 0xbb, 0xbb, 0xbb },
+ .line_number_current = .{ 0xbb, 0xbb, 0xbb },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:167 PmenuSbar guibg
- .scroll_track = .{ 0x59, 0x59, 0x59 },
+ .rail = .{ 0x59, 0x59, 0x59 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:169 PmenuThumb guibg
- .scroll_thumb = .{ 0x84, 0x84, 0x84 },
+ .rail_thumb = .{ 0x84, 0x84, 0x84 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:218 WinSeparator guifg
- .border = .{ 0x61, 0x61, 0x61 },
+ .rule = .{ 0x61, 0x61, 0x61 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:172 Search guibg
- .search_bg = .{ 0x65, 0x43, 0x5e },
- // ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:172 Search guifg
- .search_fg = .{ 0xbb, 0xbb, 0xbb },
+ .hit = .{ 0x65, 0x43, 0x5e },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:113 Error guifg via DiagnosticError->Error (link :114)
- .diagnostic_error = .{ 0xde, 0x6e, 0x7c },
+ .@"error" = .{ 0xde, 0x6e, 0x7c },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:212 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :213)
- .diagnostic_warning = .{ 0xb7, 0x7e, 0x64 },
+ .warning = .{ 0xb7, 0x7e, 0x64 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:72 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x60, 0x99, 0xc0 },
+ .info = .{ 0x60, 0x99, 0xc0 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:67 DiagnosticHint guifg
- .diagnostic_hint = .{ 0xb2, 0x79, 0xa7 },
- .palette = .{
+ .hint = .{ 0xb2, 0x79, 0xa7 },
+ .ansi = .{
.{ 0x19, 0x19, 0x19 }, // 0: ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:17 g:terminal_color_0
.{ 0xde, 0x6e, 0x7c }, // 1: ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:18 g:terminal_color_1
.{ 0x81, 0x9b, 0x69 }, // 2: ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:19 g:terminal_color_2
diff --git a/core/themes/zenwritten_light.zig b/core/themes/zenwritten_light.zig
index 42e1623a..4581b1a6 100644
--- a/core/themes/zenwritten_light.zig
+++ b/core/themes/zenwritten_light.zig
@@ -16,63 +16,62 @@
//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
//! Modified = Changed fg.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #a0a0a0 -> #6c6c6c: 1.52:1 on the focused tag, now 3.04:1 (R6: 3:1)
+//! - selection #d7d7d7 -> #d6d6d6: 1.24:1 off the page, now 1.25:1 (R7)
pub const theme = .{
.name = "zenwritten_light",
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:267 Normal guibg
- .bg = .{ 0xee, 0xee, 0xee },
+ .page = .{ 0xee, 0xee, 0xee },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:267 Normal guifg
- .fg = .{ 0x35, 0x35, 0x35 },
+ .text = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:445 Visual guibg
- .sel_bg = .{ 0xd7, 0xd7, 0xd7 },
+ .selection = .{ 0xd7, 0xd7, 0xd7 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x35, 0x35, 0x35 },
+ .selection_text = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:432 StatusLineNC guibg
- .tag_bg = .{ 0xdd, 0xdd, 0xdd },
+ .tag = .{ 0xdd, 0xdd, 0xdd },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:432 StatusLineNC guifg #686868, adjusted
- .tag_fg = .{ 0x60, 0x60, 0x60 },
+ .tag_text = .{ 0x60, 0x60, 0x60 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:429 StatusLine guibg #cfcfcf, adjusted
- .tag_active_bg = .{ 0xc5, 0xc5, 0xc5 },
+ .tag_focus = .{ 0xc5, 0xc5, 0xc5 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:429 StatusLine guifg
- .tag_active_fg = .{ 0x35, 0x35, 0x35 },
+ .tag_focus_text = .{ 0x35, 0x35, 0x35 },
// the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/zenwritten_light_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
- .box = .{ 0xa0, 0xa0, 0xa0 },
- // derived: the grip at rest, the accent #aeaeae faded toward the unfocused tag #dddddd as far as 1.6:1 off it (0.98 of the way)
- .box_dim = .{ 0xaf, 0xaf, 0xaf },
+ .accent = .{ 0xa0, 0xa0, 0xa0 },
// an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:275 Changed guifg
- .box_dirty = .{ 0x28, 0x64, 0x86 },
+ .dirty = .{ 0x28, 0x64, 0x86 },
// derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:441 Type guifg
- .column_box = .{ 0x73, 0x50, 0x57 },
+ .column_grip = .{ 0x73, 0x50, 0x57 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:425 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
- .kw = .{ 0x35, 0x35, 0x35 },
+ .keyword = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:435 String guifg
- .str = .{ 0x63, 0x63, 0x63 },
+ .string = .{ 0x63, 0x63, 0x63 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:398 Number guifg
- .num = .{ 0x63, 0x63, 0x63 },
+ .number = .{ 0x63, 0x63, 0x63 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:281 Comment guifg
.comment = .{ 0x8b, 0x8b, 0x8b },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:384 LineNr guifg
- .lineno = .{ 0x98, 0x98, 0x98 },
+ .line_number = .{ 0x98, 0x98, 0x98 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:296 CursorLineNr guifg
- .lineno_active = .{ 0x35, 0x35, 0x35 },
+ .line_number_current = .{ 0x35, 0x35, 0x35 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:401 PmenuSbar guibg
- .scroll_track = .{ 0xa6, 0xa6, 0xa6 },
+ .rail = .{ 0xa6, 0xa6, 0xa6 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:403 PmenuThumb guibg
- .scroll_thumb = .{ 0xf6, 0xf6, 0xf6 },
+ .rail_thumb = .{ 0xf6, 0xf6, 0xf6 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:452 WinSeparator guifg
- .border = .{ 0x98, 0x98, 0x98 },
+ .rule = .{ 0x98, 0x98, 0x98 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:406 Search guibg
- .search_bg = .{ 0xde, 0xb9, 0xd6 },
- // ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:406 Search guifg
- .search_fg = .{ 0x35, 0x35, 0x35 },
+ .hit = .{ 0xde, 0xb9, 0xd6 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:347 Error guifg via DiagnosticError->Error (link :348)
- .diagnostic_error = .{ 0xa8, 0x33, 0x4c },
+ .@"error" = .{ 0xa8, 0x33, 0x4c },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:446 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :447)
- .diagnostic_warning = .{ 0x94, 0x49, 0x27 },
+ .warning = .{ 0x94, 0x49, 0x27 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:306 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x28, 0x64, 0x86 },
+ .info = .{ 0x28, 0x64, 0x86 },
// ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:301 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x88, 0x50, 0x7d },
- .palette = .{
+ .hint = .{ 0x88, 0x50, 0x7d },
+ .ansi = .{
.{ 0xee, 0xee, 0xee }, // 0: ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:251 g:terminal_color_0
.{ 0xa8, 0x33, 0x4c }, // 1: ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:252 g:terminal_color_1
.{ 0x4f, 0x6c, 0x31 }, // 2: ~/05-genizah/zenbones.nvim/colors/zenwritten.vim:253 g:terminal_color_2
diff --git a/runtime/macos.zig b/runtime/macos.zig
index 8c6fa433..2778507f 100644
--- a/runtime/macos.zig
+++ b/runtime/macos.zig
@@ -479,8 +479,8 @@ export fn pardes_animating() bool {
export fn pardes_theme_bg() u32 {
pardes.turn.wake();
defer pardes.turn.rest();
- const th = if (state) |*st| st.core.theme() else &pardes.colors.legacy_themes[0];
- const bg = th.bg orelse return color_default;
+ const page = if (state) |*st| st.core.theme().bg else pardes.themes[0].page;
+ const bg = page orelse return color_default;
return @as(u32, bg[0]) << 16 | @as(u32, bg[1]) << 8 | bg[2];
}
diff --git a/test/consumer/lib.zig b/test/consumer/lib.zig
index ea0d56fd..68134cc3 100644
--- a/test/consumer/lib.zig
+++ b/test/consumer/lib.zig
@@ -97,7 +97,7 @@ test "a C and a Zig source are coloured, outlined and walked as pardes has them,
try std.testing.expectEqual([3]u8{ 0xb9, 0xf4, 0x80 }, pardes.synInk(orchard, .comment).?);
try std.testing.expectEqual(null, pardes.synInk(orchard, .none));
// `dark` has no page of its own, and an imported palette is in the ring
- try std.testing.expectEqual(pardes.theme("dark").?.tag_bg, pardes.page(pardes.theme("dark").?));
+ try std.testing.expectEqual(pardes.theme("dark").?.tag, pardes.page(pardes.theme("dark").?));
try std.testing.expect(pardes.theme("gruvbox") != null);
try std.testing.expectEqual(null, pardes.theme("no such theme"));
}
diff --git a/tools/gen_themes.zig b/tools/gen_themes.zig
index b9a9adb0..fd152aa6 100644
--- a/tools/gen_themes.zig
+++ b/tools/gen_themes.zig
@@ -57,26 +57,25 @@ const Rgb = [3]u8;
/// code) — core/colors.zig's `fold` is what turns it into a real Theme.
const Theme = struct {
name: []const u8,
- bg: ?Rgb,
- fg: ?Rgb,
- sel_bg: Rgb,
- sel_fg: Rgb,
- tag_bg: Rgb,
- tag_fg: Rgb,
- box: Rgb,
- box_dim: Rgb,
- kw: Rgb,
- str: Rgb,
- num: Rgb,
+ page: ?Rgb,
+ text: ?Rgb,
+ selection: Rgb,
+ selection_text: Rgb,
+ tag: Rgb,
+ tag_text: Rgb,
+ accent: Rgb,
+ keyword: Rgb,
+ string: Rgb,
+ number: Rgb,
comment: Rgb,
- lineno: Rgb,
- scroll_track: Rgb,
- scroll_thumb: Rgb,
- /// A message's error ink (colors.Roles.err): diagnostic.error's, else
- /// error's, else the theme's red (UX E3: neonotte's diagnostic.error is
- /// an underline only).
- diagnostic_error: ?Rgb = null,
- palette: ?[16]Rgb,
+ line_number: Rgb,
+ rail: Rgb,
+ rail_thumb: Rgb,
+ /// A message's error ink (colors.Chrome's severities): diagnostic.error's,
+ /// else error's, else the theme's red (UX E3: neonotte's diagnostic.error
+ /// is an underline only).
+ @"error": ?Rgb = null,
+ ansi: ?[16]Rgb,
};
pub fn main(init: std.process.Init) !void {
@@ -142,22 +141,22 @@ fn emit(w: *std.Io.Writer, t: Theme) !void {
const info = @typeInfo(Theme).@"struct";
inline for (info.field_names, info.field_types) |name, T| {
if (comptime std.mem.eql(u8, name, "name")) continue;
- if (comptime std.mem.eql(u8, name, "palette")) continue;
- try w.print(" .{s} = ", .{name});
+ if (comptime std.mem.eql(u8, name, "ansi")) continue;
+ try w.print(" .{f} = ", .{std.zig.fmtId(name)});
if (comptime @typeInfo(T) == .optional) {
if (@field(t, name)) |c| try rgb(w, c) else try w.writeAll("null");
} else try rgb(w, @field(t, name));
try w.writeAll(",\n");
}
- if (t.palette) |p| {
- try w.writeAll(" .palette = .{\n");
+ if (t.ansi) |p| {
+ try w.writeAll(" .ansi = .{\n");
for (p) |c| {
try w.writeAll(" ");
try rgb(w, c);
try w.writeAll(",\n");
}
try w.writeAll(" },\n");
- } else try w.writeAll(" .palette = null,\n");
+ } else try w.writeAll(" .ansi = null,\n");
try w.writeAll("};\n");
}
@@ -270,37 +269,36 @@ fn resolve(arena: std.mem.Allocator, tomls: *const std.StringHashMapUnmanaged(To
return .{ .path = t.path, .keys = keys, .palette = palette };
}
-/// A resolved helix theme mapped onto pardes's fourteen fields.
+/// A resolved helix theme mapped onto pardes's fields (core/theme_schema.zig).
///
/// EVERY FALLBACK HERE IS HELIX'S OWN RULE, which is why none of them is fatal:
/// an unstyled scope wears `ui.text`, an unpainted cell wears `ui.background`,
/// and a theme that styles neither is saying "wear whatever the terminal is
/// already wearing" (the base16/term16/transparent themes exist precisely to do
-/// that). pardes spells that last step as a null bg/fg, so those two pass
-/// straight through — but the other twelve fields are RGB and cannot be null, so
+/// that). pardes spells that last step as a null page/text, so those two pass
+/// straight through — but the other fields are RGB and cannot be null, so
/// they need a concrete stand-in for "the terminal's", and that is the default
/// palette's ink and page below. Field by field:
///
-/// bg ui.background.bg, else null = the host terminal's own cell
-/// fg ui.text.fg, else null = ditto
-/// box ui.cursor.primary.bg, else ui.cursor.bg, else keyword.fg,
+/// page ui.background.bg, else null = the host terminal's own cell
+/// text ui.text.fg, else null = ditto
+/// accent ui.cursor.primary.bg, else ui.cursor.bg, else keyword.fg,
/// else ink — skipping any of them that IS the page (see
/// firstNotPage)
-/// box_dim,
-/// scroll_thumb,
-/// sel_bg ui.selection.bg, else ui.selection.primary.bg, else
+/// rail_thumb,
+/// selection ui.selection.bg, else ui.selection.primary.bg, else
/// ui.selection.fg, same page-skipping, else page. No selection
/// colour anywhere means the author drew no selection either,
-/// and a dim box the colour of the page is the honest rendering
-/// of that — no theme in the vendored set actually gets there
-/// sel_fg ui.selection.fg, unless that IS sel_bg, else whichever of
-/// ink and page the highlight is farther from
-/// tag_bg,
-/// scroll_track ui.statusline.bg, else page
-/// tag_fg ui.statusline.fg, else ink
-/// kw/str/comment their scope's fg, else ink (helix: unstyled = ui.text)
-/// num constant.numeric.fg, else constant.fg, else ink
-/// lineno ui.linenr.fg, else ink
+/// and a selection the colour of the page is the honest
+/// rendering of that — no theme in the vendored set gets there
+/// selection_text ui.selection.fg, unless that IS the selection, else
+/// whichever of ink and page the highlight is farther from
+/// tag,
+/// rail ui.statusline.bg, else page
+/// tag_text ui.statusline.fg, else ink
+/// keyword/string/comment their scope's fg, else ink (helix: unstyled = ui.text)
+/// number constant.numeric.fg, else constant.fg, else ink
+/// line_number ui.linenr.fg, else ink
fn helixTheme(arena: std.mem.Allocator, stem: []const u8, h: Helix) !Theme {
const fg = h.get("ui.text", .fg);
const bg = h.get("ui.background", .bg);
@@ -345,28 +343,27 @@ fn helixTheme(arena: std.mem.Allocator, stem: []const u8, h: Helix) !Theme {
.name = try slug(arena, stem),
// `palette` stays null: helix leaves the colors a PROGRAM emits alone,
// and so do we.
- .bg = bg,
- .fg = fg,
- .sel_bg = sel,
- .sel_fg = if (named_ink) |c| (if (std.mem.eql(u8, &c, &sel)) sel_far else c) else sel_far,
- .tag_bg = h.get("ui.statusline", .bg) orelse page,
- .tag_fg = h.get("ui.statusline", .fg) orelse ink,
- .box = box,
- .box_dim = sel,
- .kw = h.get("keyword", .fg) orelse ink,
- .str = h.get("string", .fg) orelse ink,
+ .page = bg,
+ .text = fg,
+ .selection = sel,
+ .selection_text = if (named_ink) |c| (if (std.mem.eql(u8, &c, &sel)) sel_far else c) else sel_far,
+ .tag = h.get("ui.statusline", .bg) orelse page,
+ .tag_text = h.get("ui.statusline", .fg) orelse ink,
+ .accent = box,
+ .keyword = h.get("keyword", .fg) orelse ink,
+ .string = h.get("string", .fg) orelse ink,
// most themes only colour `constant`; the ones that split out numbers
// are being more specific, so they win
- .num = h.first(&.{ .{ "constant.numeric", .fg }, .{ "constant", .fg } }) orelse ink,
+ .number = h.first(&.{ .{ "constant.numeric", .fg }, .{ "constant", .fg } }) orelse ink,
.comment = h.get("comment", .fg) orelse ink,
- .lineno = h.get("ui.linenr", .fg) orelse ink,
+ .line_number = h.get("ui.linenr", .fg) orelse ink,
// the scrollbar is chrome, so it takes the chrome colors: the tag bar's
// own background for the track, the selection (one step brighter than
// anything else in the theme's greys) for the thumb riding it
- .scroll_track = h.get("ui.statusline", .bg) orelse page,
- .scroll_thumb = sel,
- .diagnostic_error = h.first(&.{ .{ "diagnostic.error", .fg }, .{ "error", .fg } }) orelse h.color("red"),
- .palette = null,
+ .rail = h.get("ui.statusline", .bg) orelse page,
+ .rail_thumb = sel,
+ .@"error" = h.first(&.{ .{ "diagnostic.error", .fg }, .{ "error", .fg } }) orelse h.color("red"),
+ .ansi = null,
};
}
@@ -555,8 +552,8 @@ fn readZed(arena: std.mem.Allocator, gpa: std.mem.Allocator, path: []const u8, t
// name rather than a suffix that appears only on the eight that
// happen to clash today
.name = try std.fmt.allocPrint(arena, "{s}_zed", .{try slug(arena, (v.get("name") orelse std.process.fatal("{s}: a variant has no `name`", .{path})).string)}),
- .bg = z.need("editor.background"),
- .fg = z.need("editor.foreground"),
+ .page = z.need("editor.background"),
+ .text = z.need("editor.foreground"),
// zed's TEXT selection is `players[0].selection`, and it is a 24%
// alpha over the page — the colour on screen is the composite, not
// the value. pardes paints opaque cells and `hex` drops alpha, so
@@ -565,24 +562,23 @@ fn readZed(arena: std.mem.Allocator, gpa: std.mem.Allocator, path: []const u8, t
// selected" fill, which is the question actually being asked. The
// ink then stays the editor's own text colour, because that fill is
// always a step off the background and never off the text.
- .sel_bg = z.need("element.selected"),
- .sel_fg = z.need("editor.foreground"),
- .tag_bg = z.need("status_bar.background"),
- .tag_fg = z.need("text.muted"),
+ .selection = z.need("element.selected"),
+ .selection_text = z.need("editor.foreground"),
+ .tag = z.need("status_bar.background"),
+ .tag_text = z.need("text.muted"),
// zed names its accent, so the move box does not have to be guessed
// out of the cursor the way it is for a helix theme
- .box = z.need("text.accent"),
- .box_dim = z.need("border"),
- .kw = z.syn(syntax, "keyword"),
- .str = z.syn(syntax, "string"),
- .num = z.syn(syntax, "number"),
+ .accent = z.need("text.accent"),
+ .keyword = z.syn(syntax, "keyword"),
+ .string = z.syn(syntax, "string"),
+ .number = z.syn(syntax, "number"),
.comment = z.syn(syntax, "comment"),
- .lineno = z.need("editor.line_number"),
- .scroll_track = z.need("scrollbar.thumb.border"),
- .scroll_thumb = z.need("scrollbar.thumb.background"),
+ .line_number = z.need("editor.line_number"),
+ .rail = z.need("scrollbar.thumb.border"),
+ .rail_thumb = z.need("scrollbar.thumb.background"),
// its status colour, else the palette's red (colors.zig)
- .diagnostic_error = if (z.style.get("error") != null) z.need("error") else null,
- .palette = pal,
+ .@"error" = if (z.style.get("error") != null) z.need("error") else null,
+ .ansi = pal,
});
}
}