diff options
Diffstat (limited to 'core/themes/monokai.zig')
| -rw-r--r-- | core/themes/monokai.zig | 59 |
1 files changed, 30 insertions, 29 deletions
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) |
