summaryrefslogtreecommitdiff
path: root/core/themes/tokyonight_day.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/tokyonight_day.zig')
-rw-r--r--core/themes/tokyonight_day.zig63
1 files changed, 34 insertions, 29 deletions
diff --git a/core/themes/tokyonight_day.zig b/core/themes/tokyonight_day.zig
index 3d188454..5e0fab0c 100644
--- a/core/themes/tokyonight_day.zig
+++ b/core/themes/tokyonight_day.zig
@@ -23,63 +23,68 @@
//! computed at run time by Util.invert() of the night palette plus blended
//! bg_dark/bg_dark1 (lua/tokyonight/colors/day.lua); all values here come from
//! the generated extras for day.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - focused grip #2e7de9 -> #0e64ce: 2.15:1 on the focused tag, now 3.01:1 (R6: 3:1)
+//! - unsaved grip #506d9c -> #4b6897: 3.57:1 on the tag, now 3.84:1 (R6: 3:1 on both tags)
+//! - selection text #3760bf -> #234aa7: 3.28:1 on the selection, now 4.50:1 (R7: 4.5:1)
+//! - search hit #7890dd -> #fed092: 2.38:1 off the page, now 1.11:1 (R8: 1.5:1, the text reading on it)
+//! - error #c64343 -> #b73537: 3.79:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
+//! - warning #8c6c3e -> #7e5f31: 3.75:1 on the page, now 4.55:1 (R9: 4.5:1, told from the text and the others)
+//! - info #07879d -> #036f82: 3.27:1 on the page, now 4.51:1 (R9: 4.5:1, told from the text and the others)
+//! - hint #118c74 -> #07725e: 3.23:1 on the page, now 4.54:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyonight_day",
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:193 Normal guibg
- .bg = .{ 0xe1, 0xe2, 0xe7 },
+ .page = .{ 0xe1, 0xe2, 0xe7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:193 Normal guifg
- .fg = .{ 0x37, 0x60, 0xbf },
+ .text = .{ 0x37, 0x60, 0xbf },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:245 Visual guibg
- .sel_bg = .{ 0xb7, 0xc1, 0xe3 },
+ .selection = .{ 0xb7, 0xc1, 0xe3 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0x37, 0x60, 0xbf },
+ .selection_text = .{ 0x37, 0x60, 0xbf },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:220 StatusLineNC guibg
- .tag_bg = .{ 0xd0, 0xd5, 0xe3 },
+ .tag = .{ 0xd0, 0xd5, 0xe3 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:220 StatusLineNC guifg #a8aecb, adjusted
- .tag_fg = .{ 0x57, 0x5a, 0x6a },
+ .tag_text = .{ 0x57, 0x5a, 0x6a },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:219 StatusLine guibg #d0d5e3, adjusted
- .tag_active_bg = .{ 0xb5, 0xbd, 0xd7 },
+ .tag_focus = .{ 0xb5, 0xbd, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:219 StatusLine guifg #6172b0, adjusted
- .tag_active_fg = .{ 0x40, 0x4b, 0x74 },
+ .tag_focus_text = .{ 0x40, 0x4b, 0x74 },
// the focused grip: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:15 blue; lualine normal-mode section a bg = colors.blue per ~/05-genizah/tokyonight.nvim/lua/lualine/themes/_tokyonight.lua:12 (tokyonight-day.lua calls it with style "day")
- .box = .{ 0x2e, 0x7d, 0xe9 },
- // derived: the grip at rest, the accent #2e7de9 faded toward the unfocused tag #d0d5e3 as far as 1.6:1 off it (0.50 of the way)
- .box_dim = .{ 0x7f, 0xa9, 0xe6 },
+ .accent = .{ 0x2e, 0x7d, 0xe9 },
// an unsaved grip: the original's modified colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:254 diffChanged guifg (= palette git.change)
- .box_dirty = .{ 0x50, 0x6d, 0x9c },
+ .dirty = .{ 0x50, 0x6d, 0x9c },
// derived: the column grip, the original's type colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:228 Type guifg
- .column_box = .{ 0x18, 0x80, 0x92 },
+ .column_grip = .{ 0x18, 0x80, 0x92 },
// ~/05-genizah/tokyonight.nvim/lua/tokyonight/groups/treesitter.lua:36 ["@keyword"] = c.purple, ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:55 purple (vim's regex Keyword is #007197)
- .kw = .{ 0x78, 0x47, 0xbd },
+ .keyword = .{ 0x78, 0x47, 0xbd },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:221 String guifg
- .str = .{ 0x58, 0x75, 0x39 },
+ .string = .{ 0x58, 0x75, 0x39 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:27 Constant guifg (Number is not defined by the theme, so Neovim's default link Number->Constant applies)
- .num = .{ 0xb1, 0x5c, 0x00 },
+ .number = .{ 0xb1, 0x5c, 0x00 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:24 Comment guifg
.comment = .{ 0x84, 0x8c, 0xb5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:91 LineNr guifg
- .lineno = .{ 0xa8, 0xae, 0xcb },
+ .line_number = .{ 0xa8, 0xae, 0xcb },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:34 CursorLineNr guifg
- .lineno_active = .{ 0xb1, 0x5c, 0x00 },
+ .line_number_current = .{ 0xb1, 0x5c, 0x00 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:201 PmenuSbar guibg
- .scroll_track = .{ 0xc8, 0xcf, 0xe1 },
+ .rail = .{ 0xc8, 0xcf, 0xe1 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:203 PmenuThumb guibg #a8aecb, adjusted
- .scroll_thumb = .{ 0x9f, 0xa8, 0xca },
+ .rail_thumb = .{ 0x9f, 0xa8, 0xca },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:250 WinSeparator guifg
- .border = .{ 0xb4, 0xb5, 0xb9 },
+ .rule = .{ 0xb4, 0xb5, 0xb9 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:207 Search guibg
- .search_bg = .{ 0x78, 0x90, 0xdd },
- // ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:207 Search guifg
- .search_fg = .{ 0x37, 0x60, 0xbf },
+ .hit = .{ 0x78, 0x90, 0xdd },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:36 DiagnosticError guifg
- .diagnostic_error = .{ 0xc6, 0x43, 0x43 },
+ .@"error" = .{ 0xc6, 0x43, 0x43 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:48 DiagnosticWarn guifg
- .diagnostic_warning = .{ 0x8c, 0x6c, 0x3e },
+ .warning = .{ 0x8c, 0x6c, 0x3e },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:38 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x07, 0x87, 0x9d },
+ .info = .{ 0x07, 0x87, 0x9d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-day.vim:37 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x11, 0x8c, 0x74 },
- .palette = .{
+ .hint = .{ 0x11, 0x8c, 0x74 },
+ .ansi = .{
.{ 0xb4, 0xb5, 0xb9 }, // 0: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:61 terminal.black (vim.g.terminal_color_0 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xf5, 0x2a, 0x65 }, // 1: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:71 terminal.red (vim.g.terminal_color_1 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0x58, 0x75, 0x39 }, // 2: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_day.lua:67 terminal.green (vim.g.terminal_color_2 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)