diff options
Diffstat (limited to 'core/themes/dracula_soft.zig')
| -rw-r--r-- | core/themes/dracula_soft.zig | 51 |
1 files changed, 25 insertions, 26 deletions
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) |
