summaryrefslogtreecommitdiff
path: root/core/themes/tokyonight_night.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/tokyonight_night.zig')
-rw-r--r--core/themes/tokyonight_night.zig58
1 files changed, 29 insertions, 29 deletions
diff --git a/core/themes/tokyonight_night.zig b/core/themes/tokyonight_night.zig
index eeb7e5a5..792b1a25 100644
--- a/core/themes/tokyonight_night.zig
+++ b/core/themes/tokyonight_night.zig
@@ -20,63 +20,63 @@
//! named colours); terminal.* omitted from palette since it is the ansi list.
//! ansi matches extras/kitty/tokyonight_night.conf color0-15. Lowercased from
//! upstream uppercase hex: bg_dark1.
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #16161e -> #101018: 1.05:1 off the page, now 1.11:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - search hit #3d59a1 -> #4e351d: 2.56:1 off the page, now 1.51:1 (R8: 1.5:1, the text reading on it)
+//! - error #db4b4b -> #e25251: 4.17:1 on the page, now 4.52:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "tokyonight_night",
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:193 Normal guibg
- .bg = .{ 0x1a, 0x1b, 0x26 },
+ .page = .{ 0x1a, 0x1b, 0x26 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:193 Normal guifg
- .fg = .{ 0xc0, 0xca, 0xf5 },
+ .text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:245 Visual guibg
- .sel_bg = .{ 0x28, 0x34, 0x57 },
+ .selection = .{ 0x28, 0x34, 0x57 },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xc0, 0xca, 0xf5 },
+ .selection_text = .{ 0xc0, 0xca, 0xf5 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:220 StatusLineNC guibg
- .tag_bg = .{ 0x16, 0x16, 0x1e },
+ .tag = .{ 0x16, 0x16, 0x1e },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:220 StatusLineNC guifg #3b4261, adjusted
- .tag_fg = .{ 0x7e, 0x82, 0x97 },
+ .tag_text = .{ 0x7e, 0x82, 0x97 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:219 StatusLine guibg #16161e, adjusted
- .tag_active_bg = .{ 0x36, 0x38, 0x46 },
+ .tag_focus = .{ 0x36, 0x38, 0x46 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:219 StatusLine guifg
- .tag_active_fg = .{ 0xa9, 0xb1, 0xd6 },
+ .tag_focus_text = .{ 0xa9, 0xb1, 0xd6 },
// the focused grip: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:15 blue; lualine normal-mode section a bg = colors.blue per ~/05-genizah/tokyonight.nvim/lua/lualine/themes/_tokyonight.lua:12 (tokyonight-night.lua calls it with style "night")
- .box = .{ 0x7a, 0xa2, 0xf7 },
- // derived: the grip at rest, the accent #7aa2f7 faded toward the unfocused tag #16161e as far as 1.6:1 off it (0.28 of the way)
- .box_dim = .{ 0x32, 0x3d, 0x5b },
+ .accent = .{ 0x7a, 0xa2, 0xf7 },
// an unsaved grip: the original's modified colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:254 diffChanged guifg (= palette git.change)
- .box_dirty = .{ 0x61, 0x83, 0xbb },
+ .dirty = .{ 0x61, 0x83, 0xbb },
// derived: the column grip, the original's type colour, ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:228 Type guifg
- .column_box = .{ 0x2a, 0xc3, 0xde },
+ .column_grip = .{ 0x2a, 0xc3, 0xde },
// ~/05-genizah/tokyonight.nvim/lua/tokyonight/groups/treesitter.lua:36 ["@keyword"] = c.purple, ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:55 purple (vim's regex Keyword is #7dcfff)
- .kw = .{ 0x9d, 0x7c, 0xd8 },
+ .keyword = .{ 0x9d, 0x7c, 0xd8 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:221 String guifg
- .str = .{ 0x9e, 0xce, 0x6a },
+ .string = .{ 0x9e, 0xce, 0x6a },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:27 Constant guifg (Number is not defined by the theme, so Neovim's default link Number->Constant applies)
- .num = .{ 0xff, 0x9e, 0x64 },
+ .number = .{ 0xff, 0x9e, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:24 Comment guifg
.comment = .{ 0x56, 0x5f, 0x89 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:91 LineNr guifg
- .lineno = .{ 0x3b, 0x42, 0x61 },
+ .line_number = .{ 0x3b, 0x42, 0x61 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:34 CursorLineNr guifg
- .lineno_active = .{ 0xff, 0x9e, 0x64 },
+ .line_number_current = .{ 0xff, 0x9e, 0x64 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:201 PmenuSbar guibg
- .scroll_track = .{ 0x1f, 0x1f, 0x29 },
+ .rail = .{ 0x1f, 0x1f, 0x29 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:203 PmenuThumb guibg
- .scroll_thumb = .{ 0x3b, 0x42, 0x61 },
+ .rail_thumb = .{ 0x3b, 0x42, 0x61 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:250 WinSeparator guifg #15161e, adjusted
- .border = .{ 0x3b, 0x3e, 0x4d },
+ .rule = .{ 0x3b, 0x3e, 0x4d },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:207 Search guibg
- .search_bg = .{ 0x3d, 0x59, 0xa1 },
- // ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:207 Search guifg
- .search_fg = .{ 0xc0, 0xca, 0xf5 },
+ .hit = .{ 0x3d, 0x59, 0xa1 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:36 DiagnosticError guifg
- .diagnostic_error = .{ 0xdb, 0x4b, 0x4b },
+ .@"error" = .{ 0xdb, 0x4b, 0x4b },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:48 DiagnosticWarn guifg
- .diagnostic_warning = .{ 0xe0, 0xaf, 0x68 },
+ .warning = .{ 0xe0, 0xaf, 0x68 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:38 DiagnosticInfo guifg
- .diagnostic_info = .{ 0x0d, 0xb9, 0xd7 },
+ .info = .{ 0x0d, 0xb9, 0xd7 },
// ~/05-genizah/tokyonight.nvim/extras/vim/colors/tokyonight-night.vim:37 DiagnosticHint guifg
- .diagnostic_hint = .{ 0x1a, 0xbc, 0x9c },
- .palette = .{
+ .hint = .{ 0x1a, 0xbc, 0x9c },
+ .ansi = .{
.{ 0x15, 0x16, 0x1e }, // 0: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:61 terminal.black (vim.g.terminal_color_0 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0xf7, 0x76, 0x8e }, // 1: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:71 terminal.red (vim.g.terminal_color_1 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)
.{ 0x9e, 0xce, 0x6a }, // 2: ~/05-genizah/tokyonight.nvim/extras/lua/tokyonight_night.lua:67 terminal.green (vim.g.terminal_color_2 per ~/05-genizah/tokyonight.nvim/lua/tokyonight/theme.lua:33-57)