summaryrefslogtreecommitdiff
path: root/core/themes/dark_plus.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/dark_plus.zig')
-rw-r--r--core/themes/dark_plus.zig62
1 files changed, 31 insertions, 31 deletions
diff --git a/core/themes/dark_plus.zig b/core/themes/dark_plus.zig
index 9c1cb689..f0a13f1e 100644
--- a/core/themes/dark_plus.zig
+++ b/core/themes/dark_plus.zig
@@ -8,67 +8,67 @@
//! Adjusted to meet pardes's floors (chrome only; text, syntax and ANSI are untouched):
//! - unfocused tag ground #2d2d2d -> #3c3c3c: 1.21:1 off the focused one (the page, kept), pardes needs 1.5:1 on a dark page
//! - unfocused tag text #969696 -> #a7a7a7: 3.73:1 on #3c3c3c, 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 tag ground #1e1e1e -> #565656: 1.51:1 off the tag, now 1.50:1 (R4, H: a focus step off the tag, and the loudest)
+//! - focused grip #007fd4 -> #4dabff: 1.74:1 on the focused tag, now 3.00:1 (R6: 3:1)
+//! - unsaved grip #3399cc -> #4db0e4: 3.45:1 on the tag, now 4.54:1 (R6: 3:1 on both tags)
pub const theme = .{
.name = "dark_plus",
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 colors."editor.background"
- .bg = .{ 0x1e, 0x1e, 0x1e },
+ .page = .{ 0x1e, 0x1e, 0x1e },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 colors."editor.foreground"
- .fg = .{ 0xd4, 0xd4, 0xd4 },
+ .text = .{ 0xd4, 0xd4, 0xd4 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:122 editor.selectionBackground dark
- .sel_bg = .{ 0x26, 0x4f, 0x78 },
+ .selection = .{ 0x26, 0x4f, 0x78 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xd4, 0xd4, 0xd4 },
+ .selection_text = .{ 0xd4, 0xd4, 0xd4 },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:36 tab.inactiveBackground dark #2d2d2d, adjusted
- .tag_bg = .{ 0x3c, 0x3c, 0x3c },
+ .tag = .{ 0x3c, 0x3c, 0x3c },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:56 tab.inactiveForeground dark = transparent(tab.activeForeground #FFFFFF, 0.5) over #2d2d2d #969696, adjusted
- .tag_fg = .{ 0xa7, 0xa7, 0xa7 },
+ .tag_text = .{ 0xa7, 0xa7, 0xa7 },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:31 tab.activeBackground = editorBackground
- .tag_active_bg = .{ 0x1e, 0x1e, 0x1e },
+ .tag_focus = .{ 0x1e, 0x1e, 0x1e },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:49 tab.activeForeground dark Color.white
- .tag_active_fg = .{ 0xff, 0xff, 0xff },
+ .tag_focus_text = .{ 0xff, 0xff, 0xff },
// the tagline is the status bar: ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:298 statusBar.background dark #007ACC
- .tagline_bg = .{ 0x00, 0x7a, 0xcc },
+ .workspace = .{ 0x00, 0x7a, 0xcc },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:289 statusBar.foreground dark #FFFFFF
- .tagline_fg = .{ 0xff, 0xff, 0xff },
+ .workspace_text = .{ 0xff, 0xff, 0xff },
// the focused grip: ~/05-genizah/vscode/src/vs/platform/theme/common/colors/baseColors.ts:38 focusBorder dark
- .box = .{ 0x00, 0x7f, 0xd4 },
- // derived: the grip at rest, the accent #007fd4 faded toward the unfocused tag #3c3c3c as far as 1.6:1 off it (0.54 of the way)
- .box_dim = .{ 0x1c, 0x60, 0x8e },
+ .accent = .{ 0x00, 0x7f, 0xd4 },
// an unsaved grip: the original's modified colour, ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:176 tab.activeModifiedBorder dark
- .box_dirty = .{ 0x33, 0x99, 0xcc },
+ .dirty = .{ 0x33, 0x99, 0xcc },
// derived: the column grip, the original's type colour, /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_plus.json:1 tokenColors entity.name.type
- .column_box = .{ 0x4e, 0xc9, 0xb0 },
+ .column_grip = .{ 0x4e, 0xc9, 0xb0 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors keyword (keyword.control is #C586C0 in dark_plus.json:1; pardes has one keyword colour)
- .kw = .{ 0x56, 0x9c, 0xd6 },
+ .keyword = .{ 0x56, 0x9c, 0xd6 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors string
- .str = .{ 0xce, 0x91, 0x78 },
+ .string = .{ 0xce, 0x91, 0x78 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors constant.numeric
- .num = .{ 0xb5, 0xce, 0xa8 },
+ .number = .{ 0xb5, 0xce, 0xa8 },
// /usr/share/code/resources/app/extensions/theme-defaults/themes/dark_vs.json:1 tokenColors comment
.comment = .{ 0x6a, 0x99, 0x55 },
// ~/05-genizah/vscode/src/vs/editor/common/core/editorColorRegistry.ts:29 editorLineNumber.foreground dark
- .lineno = .{ 0x85, 0x85, 0x85 },
+ .line_number = .{ 0x85, 0x85, 0x85 },
// ~/05-genizah/vscode/src/vs/editor/common/core/editorColorRegistry.ts:48 editorActiveLineNumber.foreground dark (editorLineNumber.activeForeground defaults to it, :49)
- .lineno_active = .{ 0xc6, 0xc6, 0xc6 },
+ .line_number_current = .{ 0xc6, 0xc6, 0xc6 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/miscColors.ts:68 scrollbar.background null: the editor shows through
- .scroll_track = .{ 0x1e, 0x1e, 0x1e },
+ .rail = .{ 0x1e, 0x1e, 0x1e },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/miscColors.ts:57 scrollbarSlider.background dark #797979 at 0.4, over #1e1e1e
- .scroll_thumb = .{ 0x42, 0x42, 0x42 },
+ .rail_thumb = .{ 0x42, 0x42, 0x42 },
// ~/05-genizah/vscode/src/vs/workbench/common/theme.ts:237 editorGroup.border dark
- .border = .{ 0x44, 0x44, 0x44 },
+ .rule = .{ 0x44, 0x44, 0x44 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:149 editor.findMatchBackground dark
- .search_bg = .{ 0x51, 0x5c, 0x6a },
- // derived: the original keeps text colours over a match; the page's text, whichever reads better on it
- .search_fg = .{ 0xd4, 0xd4, 0xd4 },
+ .hit = .{ 0x51, 0x5c, 0x6a },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:71 editorError.foreground dark
- .diagnostic_error = .{ 0xf1, 0x4c, 0x4c },
+ .@"error" = .{ 0xf1, 0x4c, 0x4c },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:84 editorWarning.foreground dark
- .diagnostic_warning = .{ 0xcc, 0xa7, 0x00 },
+ .warning = .{ 0xcc, 0xa7, 0x00 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:97 editorInfo.foreground dark
- .diagnostic_info = .{ 0x59, 0xa4, 0xf9 },
+ .info = .{ 0x59, 0xa4, 0xf9 },
// ~/05-genizah/vscode/src/vs/platform/theme/common/colors/editorColors.ts:106 editorHint.foreground dark #eeeeee at 0.7, over #1e1e1e
- .diagnostic_hint = .{ 0xb0, 0xb0, 0xb0 },
- .palette = .{
+ .hint = .{ 0xb0, 0xb0, 0xb0 },
+ .ansi = .{
.{ 0x00, 0x00, 0x00 }, // 0: ~/05-genizah/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts:107 terminal.ansiBlack dark
.{ 0xcd, 0x31, 0x31 }, // 1: ~/05-genizah/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts:116 terminal.ansiRed dark
.{ 0x0d, 0xbc, 0x79 }, // 2: ~/05-genizah/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.ts:125 terminal.ansiGreen dark