summaryrefslogtreecommitdiff
path: root/core/themes/ayu_light.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/ayu_light.zig')
-rw-r--r--core/themes/ayu_light.zig57
1 files changed, 30 insertions, 27 deletions
diff --git a/core/themes/ayu_light.zig b/core/themes/ayu_light.zig
index 22436be7..730689c3 100644
--- a/core/themes/ayu_light.zig
+++ b/core/themes/ayu_light.zig
@@ -31,59 +31,62 @@
//! terminal.*). palette = every colour of src/generated/light.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 #f8f9fa -> #f0f1f2: 1.03:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - focused tag ground #dcddde -> #d7d8d9: 1.20:1 off the tag, now 1.26:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #f29718 -> #ae6a01: 1.60:1 on the focused tag, now 3.03:1 (R6: 3:1)
+//! - unsaved grip #478acc -> #3a7dbe: 3.22:1 on the tag, now 3.82:1 (R6: 3:1 on both tags)
+//! - error #e65050 -> #d33e41: 3.64:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #f29718 -> #a76501: 2.22:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "ayu_light",
// ~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background; source ~/05-genizah/ayu-colors/src/generated/light.ts:157 editor.bg #fcfcfc
- .bg = .{ 0xfc, 0xfc, 0xfc },
+ .page = .{ 0xfc, 0xfc, 0xfc },
// ~/05-genizah/vscode-ayu/ayu-light.json:107 editor.foreground; source ~/05-genizah/ayu-colors/src/generated/light.ts:140 editor.fg #5c6166
- .fg = .{ 0x5c, 0x61, 0x66 },
+ .text = .{ 0x5c, 0x61, 0x66 },
// ~/05-genizah/vscode-ayu/ayu-light.json:112 editor.selectionBackground #035bd626 composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background)
- .sel_bg = .{ 0xd7, 0xe4, 0xf6 },
+ .selection = .{ 0xd7, 0xe4, 0xf6 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x5c, 0x61, 0x66 },
+ .selection_text = .{ 0x5c, 0x61, 0x66 },
// ~/05-genizah/vscode-ayu/ayu-light.json:102 tab.inactiveBackground; source ~/05-genizah/ayu-colors/src/generated/light.ts:175 ui.bg #f8f9fa
- .tag_bg = .{ 0xf8, 0xf9, 0xfa },
+ .tag = .{ 0xf8, 0xf9, 0xfa },
// ~/05-genizah/vscode-ayu/ayu-light.json:103 tab.inactiveForeground; source ~/05-genizah/ayu-colors/src/generated/light.ts:161 ui.fg #828e9f #828e9f, adjusted
- .tag_fg = .{ 0x68, 0x72, 0x7f },
+ .tag_text = .{ 0x68, 0x72, 0x7f },
// ~/05-genizah/vscode-ayu/ayu-light.json:96 tab.activeBackground; source ~/05-genizah/ayu-colors/src/generated/light.ts:157 editor.bg #fcfcfc #fcfcfc, adjusted
- .tag_active_bg = .{ 0xdc, 0xdd, 0xde },
+ .tag_focus = .{ 0xdc, 0xdd, 0xde },
// ~/05-genizah/vscode-ayu/ayu-light.json:97 tab.activeForeground; source ~/05-genizah/ayu-colors/src/generated/light.ts:140 editor.fg #5c6166
- .tag_active_fg = .{ 0x5c, 0x61, 0x66 },
+ .tag_focus_text = .{ 0x5c, 0x61, 0x66 },
// the focused grip: ~/05-genizah/vscode-ayu/ayu-light.json:4 focusBorder [also tab.activeBorderTop]; source ~/05-genizah/ayu-colors/src/generated/light.ts:179 common.accent.tint #f29718
- .box = .{ 0xf2, 0x97, 0x18 },
- // derived: the grip at rest, the accent #f29718 faded toward the unfocused tag #f8f9fa as far as 1.6:1 off it (0.62 of the way)
- .box_dim = .{ 0xf4, 0xbc, 0x6e },
+ .accent = .{ 0xf2, 0x97, 0x18 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode-ayu/ayu-light.json:145 editorGutter.modifiedBackground [also gitDecoration.modifiedResourceForeground]; source ~/05-genizah/ayu-colors/src/generated/light.ts:130 vcs.modified #478acc
- .box_dirty = .{ 0x47, 0x8a, 0xcc },
+ .dirty = .{ 0x47, 0x8a, 0xcc },
// derived: the column grip, the original's type colour, ~/05-genizah/vscode-ayu/ayu-light.json:622 tokenColors "Entity name" foreground; = syntax.entity (~/05-genizah/ayu-colors/src/generated/light.ts:92 syntax.entity)
- .column_box = .{ 0x22, 0xa4, 0xe6 },
+ .column_grip = .{ 0x22, 0xa4, 0xe6 },
// ~/05-genizah/vscode-ayu/ayu-light.json:460 tokenColors "Keyword" foreground; = syntax.keyword (~/05-genizah/ayu-colors/src/generated/light.ts:100 syntax.keyword)
- .kw = .{ 0xfa, 0x85, 0x32 },
+ .keyword = .{ 0xfa, 0x85, 0x32 },
// ~/05-genizah/vscode-ayu/ayu-light.json:384 tokenColors "String" foreground; = syntax.string (~/05-genizah/ayu-colors/src/generated/light.ts:94 syntax.string)
- .str = .{ 0x86, 0xb3, 0x00 },
+ .string = .{ 0x86, 0xb3, 0x00 },
// ~/05-genizah/vscode-ayu/ayu-light.json:404 tokenColors "Number" foreground; = syntax.constant (~/05-genizah/ayu-colors/src/generated/light.ts:106 syntax.constant)
- .num = .{ 0xa3, 0x7a, 0xcc },
+ .number = .{ 0xa3, 0x7a, 0xcc },
// ~/05-genizah/vscode-ayu/ayu-light.json:374 tokenColors "Comment" foreground; = syntax.comment (~/05-genizah/ayu-colors/src/generated/light.ts:104 syntax.comment)
.comment = .{ 0xad, 0xae, 0xb1 },
// ~/05-genizah/vscode-ayu/ayu-light.json:108 editorLineNumber.foreground #828e9f66 composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno = .{ 0xcb, 0xd0, 0xd7 },
+ .line_number = .{ 0xcb, 0xd0, 0xd7 },
// ~/05-genizah/vscode-ayu/ayu-light.json:109 editorLineNumber.activeForeground #828e9fcc composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno_active = .{ 0x9a, 0xa4, 0xb2 },
+ .line_number_current = .{ 0x9a, 0xa4, 0xb2 },
// derived: none in the original; the page
- .scroll_track = .{ 0xfc, 0xfc, 0xfc },
+ .rail = .{ 0xfc, 0xfc, 0xfc },
// ~/05-genizah/vscode-ayu/ayu-light.json:44 scrollbarSlider.background #828e9f66 composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background)
- .scroll_thumb = .{ 0xcb, 0xd0, 0xd7 },
+ .rail_thumb = .{ 0xcb, 0xd0, 0xd7 },
// ~/05-genizah/vscode-ayu/ayu-light.json:92 editorGroup.border #6b7d8f1f composited over editor.background #fcfcfc (~/05-genizah/vscode-ayu/ayu-light.json:106 editor.background); source ~/05-genizah/ayu-colors/src/generated/light.ts:162 ui.line #6b7d8f1f #eaedef, adjusted
- .border = .{ 0xc5, 0xc9, 0xcb },
+ .rule = .{ 0xc5, 0xc9, 0xcb },
// ~/05-genizah/vscode-ayu/ayu-light.json:119 editor.findMatchBackground; source ~/05-genizah/ayu-colors/src/generated/light.ts:146 editor.findMatch.active #ffe294
- .search_bg = .{ 0xff, 0xe2, 0x94 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0x5c, 0x61, 0x66 },
+ .hit = .{ 0xff, 0xe2, 0x94 },
// ~/05-genizah/vscode-ayu/ayu-light.json:143 editorError.foreground; source ~/05-genizah/ayu-colors/src/generated/light.ts:182 common.error #e65050
- .diagnostic_error = .{ 0xe6, 0x50, 0x50 },
+ .@"error" = .{ 0xe6, 0x50, 0x50 },
// ~/05-genizah/vscode-ayu/ayu-light.json:144 editorWarning.foreground; source ~/05-genizah/ayu-colors/src/generated/light.ts:179 common.accent.tint #f29718
- .diagnostic_warning = .{ 0xf2, 0x97, 0x18 },
- .palette = .{
+ .warning = .{ 0xf2, 0x97, 0x18 },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 }, // 0: ~/05-genizah/vscode-ayu/ayu-light.json:264 terminal.ansiBlack
.{ 0xf0, 0x6b, 0x6c }, // 1: ~/05-genizah/vscode-ayu/ayu-light.json:265 terminal.ansiRed
.{ 0x6c, 0xbf, 0x43 }, // 2: ~/05-genizah/vscode-ayu/ayu-light.json:266 terminal.ansiGreen