summaryrefslogtreecommitdiff
path: root/core/themes/solarized_dark.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/solarized_dark.zig')
-rw-r--r--core/themes/solarized_dark.zig57
1 files changed, 30 insertions, 27 deletions
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)