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