summaryrefslogtreecommitdiff
path: root/core/themes/ayu_dark.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/ayu_dark.zig')
-rw-r--r--core/themes/ayu_dark.zig52
1 files changed, 25 insertions, 27 deletions
diff --git a/core/themes/ayu_dark.zig b/core/themes/ayu_dark.zig
index 62fb29ed..a98412ba 100644
--- a/core/themes/ayu_dark.zig
+++ b/core/themes/ayu_dark.zig
@@ -32,59 +32,57 @@
//! terminal.*). palette = every colour of src/generated/dark.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 #0d1017 -> #04050b: 1.03:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
pub const theme = .{
.name = "ayu_dark",
// ~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background; source ~/05-genizah/ayu-colors/src/generated/dark.ts:146 editor.bg #10141c
- .bg = .{ 0x10, 0x14, 0x1c },
+ .page = .{ 0x10, 0x14, 0x1c },
// ~/05-genizah/vscode-ayu/ayu-dark.json:107 editor.foreground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:128 editor.fg #bfbdb6
- .fg = .{ 0xbf, 0xbd, 0xb6 },
+ .text = .{ 0xbf, 0xbd, 0xb6 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:112 editor.selectionBackground #3388ff40 composited over editor.background #10141c (~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background)
- .sel_bg = .{ 0x19, 0x31, 0x55 },
+ .selection = .{ 0x19, 0x31, 0x55 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xbf, 0xbd, 0xb6 },
+ .selection_text = .{ 0xbf, 0xbd, 0xb6 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:102 tab.inactiveBackground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:163 ui.bg #0d1017
- .tag_bg = .{ 0x0d, 0x10, 0x17 },
+ .tag = .{ 0x0d, 0x10, 0x17 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:103 tab.inactiveForeground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:149 ui.fg #5a6378 #5a6378, adjusted
- .tag_fg = .{ 0x74, 0x7c, 0x8e },
+ .tag_text = .{ 0x74, 0x7c, 0x8e },
// ~/05-genizah/vscode-ayu/ayu-dark.json:96 tab.activeBackground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:146 editor.bg #10141c #10141c, adjusted
- .tag_active_bg = .{ 0x33, 0x36, 0x3b },
+ .tag_focus = .{ 0x33, 0x36, 0x3b },
// ~/05-genizah/vscode-ayu/ayu-dark.json:97 tab.activeForeground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:128 editor.fg #bfbdb6
- .tag_active_fg = .{ 0xbf, 0xbd, 0xb6 },
+ .tag_focus_text = .{ 0xbf, 0xbd, 0xb6 },
// the focused grip: ~/05-genizah/vscode-ayu/ayu-dark.json:4 focusBorder [also tab.activeBorderTop]; source ~/05-genizah/ayu-colors/src/generated/dark.ts:167 common.accent.tint #e6b450
- .box = .{ 0xe6, 0xb4, 0x50 },
- // derived: the grip at rest, the accent #e6b450 faded toward the unfocused tag #0d1017 as far as 1.6:1 off it (0.24 of the way)
- .box_dim = .{ 0x41, 0x37, 0x25 },
+ .accent = .{ 0xe6, 0xb4, 0x50 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode-ayu/ayu-dark.json:145 editorGutter.modifiedBackground [also gitDecoration.modifiedResourceForeground]; source ~/05-genizah/ayu-colors/src/generated/dark.ts:118 vcs.modified #73b8ff
- .box_dirty = .{ 0x73, 0xb8, 0xff },
+ .dirty = .{ 0x73, 0xb8, 0xff },
// derived: the column grip, the original's type colour, ~/05-genizah/vscode-ayu/ayu-dark.json:622 tokenColors "Entity name" foreground; = syntax.entity (~/05-genizah/ayu-colors/src/generated/dark.ts:88 syntax.entity)
- .column_box = .{ 0x59, 0xc2, 0xff },
+ .column_grip = .{ 0x59, 0xc2, 0xff },
// ~/05-genizah/vscode-ayu/ayu-dark.json:460 tokenColors "Keyword" foreground; = syntax.keyword (~/05-genizah/ayu-colors/src/generated/dark.ts:92 syntax.keyword)
- .kw = .{ 0xff, 0x8f, 0x40 },
+ .keyword = .{ 0xff, 0x8f, 0x40 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:384 tokenColors "String" foreground; = syntax.string (~/05-genizah/ayu-colors/src/generated/dark.ts:89 syntax.string)
- .str = .{ 0xaa, 0xd9, 0x4c },
+ .string = .{ 0xaa, 0xd9, 0x4c },
// ~/05-genizah/vscode-ayu/ayu-dark.json:404 tokenColors "Number" foreground; = syntax.constant (~/05-genizah/ayu-colors/src/generated/dark.ts:95 syntax.constant)
- .num = .{ 0xd2, 0xa6, 0xff },
+ .number = .{ 0xd2, 0xa6, 0xff },
// ~/05-genizah/vscode-ayu/ayu-dark.json:374 tokenColors "Comment" foreground; = syntax.comment (~/05-genizah/ayu-colors/src/generated/dark.ts:94 syntax.comment)
.comment = .{ 0x5a, 0x66, 0x73 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:108 editorLineNumber.foreground #5a6378a6 composited over editor.background #10141c (~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background) [gutter has no own bg, so editor bg]
- .lineno = .{ 0x40, 0x47, 0x58 },
+ .line_number = .{ 0x40, 0x47, 0x58 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:109 editorLineNumber.activeForeground [gutter has no own bg, so editor bg]
- .lineno_active = .{ 0x5a, 0x63, 0x78 },
+ .line_number_current = .{ 0x5a, 0x63, 0x78 },
// derived: none in the original; the page
- .scroll_track = .{ 0x10, 0x14, 0x1c },
+ .rail = .{ 0x10, 0x14, 0x1c },
// ~/05-genizah/vscode-ayu/ayu-dark.json:44 scrollbarSlider.background #5a637866 composited over editor.background #10141c (~/05-genizah/vscode-ayu/ayu-dark.json:106 editor.background) #2e3441, adjusted
- .scroll_thumb = .{ 0x31, 0x37, 0x43 },
+ .rail_thumb = .{ 0x31, 0x37, 0x43 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:92 editorGroup.border; source ~/05-genizah/ayu-colors/src/generated/dark.ts:150 ui.line #1b1f29 #1b1f29, adjusted
- .border = .{ 0x39, 0x3b, 0x42 },
+ .rule = .{ 0x39, 0x3b, 0x42 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:119 editor.findMatchBackground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:135 editor.findMatch.active #4c4126
- .search_bg = .{ 0x4c, 0x41, 0x26 },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xbf, 0xbd, 0xb6 },
+ .hit = .{ 0x4c, 0x41, 0x26 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:143 editorError.foreground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:170 common.error #d95757
- .diagnostic_error = .{ 0xd9, 0x57, 0x57 },
+ .@"error" = .{ 0xd9, 0x57, 0x57 },
// ~/05-genizah/vscode-ayu/ayu-dark.json:144 editorWarning.foreground; source ~/05-genizah/ayu-colors/src/generated/dark.ts:167 common.accent.tint #e6b450
- .diagnostic_warning = .{ 0xe6, 0xb4, 0x50 },
- .palette = .{
+ .warning = .{ 0xe6, 0xb4, 0x50 },
+ .ansi = .{
.{ 0x1b, 0x1f, 0x29 }, // 0: ~/05-genizah/vscode-ayu/ayu-dark.json:264 terminal.ansiBlack
.{ 0xf0, 0x6b, 0x73 }, // 1: ~/05-genizah/vscode-ayu/ayu-dark.json:265 terminal.ansiRed
.{ 0x70, 0xbf, 0x56 }, // 2: ~/05-genizah/vscode-ayu/ayu-dark.json:266 terminal.ansiGreen