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