summaryrefslogtreecommitdiff
path: root/src/themes/kanagawabones.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/kanagawabones.zig')
-rw-r--r--src/themes/kanagawabones.zig93
1 files changed, 93 insertions, 0 deletions
diff --git a/src/themes/kanagawabones.zig b/src/themes/kanagawabones.zig
new file mode 100644
index 00000000..94e5aab0
--- /dev/null
+++ b/src/themes/kanagawabones.zig
@@ -0,0 +1,93 @@
+//! Kanagawabones: Zenbones, as close to the original as pardes can draw it.
+//! Every value is the original's own, cited on its line (path:line key); the
+//! chrome pardes needs and the original lacks is derived from its palette.
+//! Sources:
+//! repo; url https://github.com/zenbones-theme/zenbones.nvim; genizah ~/05-genizah/zenbones.nvim; commit 8304d8df9b823ff11e103afa62f38c39f534abe6
+//! Tags: the window bar (StatusLine / StatusLineNC, or mode-line / mode-line-inactive).
+//! Adjusted to meet pardes's floors (chrome only; text, syntax and ANSI are untouched):
+//! - focused tag ground #363644 -> #444456: 1.21:1 off the unfocused #292934, pardes needs 1.5:1 on a dark page
+//! - focused grip #565668 -> #606071: 1.33:1 on the focused tag #444456
+//! Upstream notes: Generated by shipwright from lush/HSLuv
+//! (lua/kanagawabones/palette.lua + lua/zenbones/specs/dark.lua); values are
+//! the default 'ness' baked into colors/kanagawabones.vim. Palette = the 16
+//! names term.lua maps to ANSI, taken from the generated terminal colours.
+//! Dark-only flavour (zenbones.json background='dark'). TabLineSel is
+//! guifg/guibg=NONE (bold only), so it inherits Normal. TabLine links to
+//! StatusLine, TabLineFill to StatusLineNC. Accent is the lualine normal-mode a
+//! bg, a muted neutral (the theme is contrast-based, not hue-accented).
+//! Modified = Changed fg.
+pub const theme = .{
+ .name = "kanagawabones",
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:34 Normal guibg
+ .bg = .{ 0x1f, 0x1f, 0x28 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:34 Normal guifg
+ .fg = .{ 0xdd, 0xd8, 0xbb },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:212 Visual guibg
+ .sel_bg = .{ 0x49, 0x47, 0x3e },
+ // the original keeps text colours over its selection; its text colour
+ .sel_fg = .{ 0xdd, 0xd8, 0xbb },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:199 StatusLineNC guibg
+ .tag_bg = .{ 0x29, 0x29, 0x34 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:199 StatusLineNC guifg
+ .tag_fg = .{ 0xe9, 0xe3, 0xc5 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:196 StatusLine guibg #363644, adjusted
+ .tag_active_bg = .{ 0x44, 0x44, 0x56 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:196 StatusLine guifg
+ .tag_active_fg = .{ 0xdd, 0xd8, 0xbb },
+ // the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/kanagawabones_default.lua:8 normal.a bg (lualine theme, default ness; generator derives it as PmenuSbar.bg.abs_da(3), lua/zenbones/shipwright/runners/lualine.lua:66)
+ .box = .{ 0x60, 0x60, 0x71 },
+ // derived: the grip at rest, the accent #565668 faded toward the unfocused tag #292934 as far as 1.6:1 off it (0.70 of the way)
+ .box_dim = .{ 0x49, 0x49, 0x58 },
+ // an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:42 Changed guifg
+ .box_dirty = .{ 0x7e, 0xb3, 0xc9 },
+ // derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:208 Type guifg
+ .column_box = .{ 0x97, 0x97, 0xa5 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:192 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
+ .kw = .{ 0xdd, 0xd8, 0xbb },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:202 String guifg
+ .str = .{ 0xa2, 0x9e, 0x89 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:165 Number guifg
+ .num = .{ 0xa2, 0x9e, 0x89 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:48 Comment guifg
+ .comment = .{ 0x69, 0x69, 0x77 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:151 LineNr guifg
+ .lineno = .{ 0x64, 0x64, 0x76 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:63 CursorLineNr guifg
+ .lineno_active = .{ 0xdd, 0xd8, 0xbb },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:168 PmenuSbar guibg
+ .scroll_track = .{ 0x5d, 0x5d, 0x6f },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:170 PmenuThumb guibg
+ .scroll_thumb = .{ 0x85, 0x85, 0x94 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:219 WinSeparator guifg
+ .border = .{ 0x64, 0x64, 0x76 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:173 Search guibg
+ .search_bg = .{ 0x61, 0x4a, 0x82 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:173 Search guifg
+ .search_fg = .{ 0xdd, 0xd8, 0xbb },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:114 Error guifg via DiagnosticError->Error (link :115)
+ .diagnostic_error = .{ 0xe4, 0x6a, 0x78 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
+ .diagnostic_warning = .{ 0xe5, 0xc2, 0x83 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:73 DiagnosticInfo guifg
+ .diagnostic_info = .{ 0x7e, 0xb3, 0xc9 },
+ // ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:68 DiagnosticHint guifg
+ .diagnostic_hint = .{ 0x95, 0x7f, 0xb8 },
+ .palette = .{
+ .{ 0x1f, 0x1f, 0x28 }, // 0: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:18 g:terminal_color_0
+ .{ 0xe4, 0x6a, 0x78 }, // 1: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:19 g:terminal_color_1
+ .{ 0x98, 0xbc, 0x6d }, // 2: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:20 g:terminal_color_2
+ .{ 0xe5, 0xc2, 0x83 }, // 3: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:21 g:terminal_color_3
+ .{ 0x7e, 0xb3, 0xc9 }, // 4: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:22 g:terminal_color_4
+ .{ 0x95, 0x7f, 0xb8 }, // 5: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:23 g:terminal_color_5
+ .{ 0x7e, 0xb3, 0xc9 }, // 6: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:24 g:terminal_color_6
+ .{ 0xdd, 0xd8, 0xbb }, // 7: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:25 g:terminal_color_7
+ .{ 0x3c, 0x3c, 0x51 }, // 8: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:26 g:terminal_color_8
+ .{ 0xec, 0x81, 0x8c }, // 9: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:27 g:terminal_color_9
+ .{ 0x9e, 0xc9, 0x67 }, // 10: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:28 g:terminal_color_10
+ .{ 0xf1, 0xc9, 0x82 }, // 11: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:29 g:terminal_color_11
+ .{ 0x7b, 0xc2, 0xdf }, // 12: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:30 g:terminal_color_12
+ .{ 0xa9, 0x8f, 0xd2 }, // 13: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:31 g:terminal_color_13
+ .{ 0x7b, 0xc2, 0xdf }, // 14: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:32 g:terminal_color_14
+ .{ 0xa8, 0xa4, 0x8d }, // 15: ~/05-genizah/zenbones.nvim/colors/kanagawabones.vim:33 g:terminal_color_15
+ },
+};