summaryrefslogtreecommitdiff
path: root/src/themes/zenburned.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/zenburned.zig')
-rw-r--r--src/themes/zenburned.zig92
1 files changed, 92 insertions, 0 deletions
diff --git a/src/themes/zenburned.zig b/src/themes/zenburned.zig
new file mode 100644
index 00000000..3c8baa82
--- /dev/null
+++ b/src/themes/zenburned.zig
@@ -0,0 +1,92 @@
+//! Zenburned: 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 #555555 -> #646464: 1.21:1 off the unfocused #494949, pardes needs 1.5:1 on a dark page
+//! - focused grip #6f6f6f -> #838383: 1.18:1 on the focused tag #646464
+//! Upstream notes: Generated by shipwright from lush/HSLuv
+//! (lua/zenburned/palette.lua + lua/zenbones/specs/dark.lua); values are the
+//! default 'ness' baked into colors/zenburned.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 = "zenburned",
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:34 Normal guibg
+ .bg = .{ 0x40, 0x40, 0x40 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:34 Normal guifg
+ .fg = .{ 0xf0, 0xe4, 0xcf },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:212 Visual guibg
+ .sel_bg = .{ 0x74, 0x69, 0x56 },
+ // the original keeps text colours over its selection; its text colour
+ .sel_fg = .{ 0xf0, 0xe4, 0xcf },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:199 StatusLineNC guibg
+ .tag_bg = .{ 0x49, 0x49, 0x49 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:199 StatusLineNC guifg
+ .tag_fg = .{ 0xf5, 0xed, 0xe0 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:196 StatusLine guibg #555555, adjusted
+ .tag_active_bg = .{ 0x64, 0x64, 0x64 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:196 StatusLine guifg
+ .tag_active_fg = .{ 0xf0, 0xe4, 0xcf },
+ // the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/zenburned_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 = .{ 0x83, 0x83, 0x83 },
+ // derived: the grip at rest, the accent #6f6f6f faded toward the unfocused tag #494949 as far as 1.6:1 off it (0.82 of the way)
+ .box_dim = .{ 0x68, 0x68, 0x68 },
+ // an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/zenburned.vim:42 Changed guifg
+ .box_dirty = .{ 0x60, 0x99, 0xc0 },
+ // derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/zenburned.vim:208 Type guifg
+ .column_box = .{ 0xa8, 0xa8, 0xa8 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:193 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
+ .kw = .{ 0xdc, 0xa2, 0xa2 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:202 String guifg
+ .str = .{ 0xba, 0xa6, 0x81 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:165 Number guifg
+ .num = .{ 0xba, 0xa6, 0x81 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:48 Comment guifg
+ .comment = .{ 0x84, 0x84, 0x84 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:151 LineNr guifg
+ .lineno = .{ 0x7f, 0x7f, 0x7f },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:63 CursorLineNr guifg
+ .lineno_active = .{ 0xf0, 0xe4, 0xcf },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:168 PmenuSbar guibg
+ .scroll_track = .{ 0x77, 0x77, 0x77 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:170 PmenuThumb guibg
+ .scroll_thumb = .{ 0x9b, 0x9b, 0x9b },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:219 WinSeparator guifg
+ .border = .{ 0x7f, 0x7f, 0x7f },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:174 Search guibg
+ .search_bg = .{ 0x9c, 0x69, 0x92 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:174 Search guifg
+ .search_fg = .{ 0xf0, 0xe4, 0xcf },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:114 Error guifg via DiagnosticError->Error (link :115)
+ .diagnostic_error = .{ 0xe3, 0x71, 0x6e },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
+ .diagnostic_warning = .{ 0xb7, 0x7e, 0x64 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:73 DiagnosticInfo guifg
+ .diagnostic_info = .{ 0x60, 0x99, 0xc0 },
+ // ~/05-genizah/zenbones.nvim/colors/zenburned.vim:68 DiagnosticHint guifg
+ .diagnostic_hint = .{ 0xb2, 0x79, 0xa7 },
+ .palette = .{
+ .{ 0x40, 0x40, 0x40 }, // 0: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:18 g:terminal_color_0
+ .{ 0xe3, 0x71, 0x6e }, // 1: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:19 g:terminal_color_1
+ .{ 0x81, 0x9b, 0x69 }, // 2: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:20 g:terminal_color_2
+ .{ 0xb7, 0x7e, 0x64 }, // 3: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:21 g:terminal_color_3
+ .{ 0x60, 0x99, 0xc0 }, // 4: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:22 g:terminal_color_4
+ .{ 0xb2, 0x79, 0xa7 }, // 5: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:23 g:terminal_color_5
+ .{ 0x66, 0xa5, 0xad }, // 6: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:24 g:terminal_color_6
+ .{ 0xf0, 0xe4, 0xcf }, // 7: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:25 g:terminal_color_7
+ .{ 0x62, 0x5a, 0x5b }, // 8: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:26 g:terminal_color_8
+ .{ 0xec, 0x86, 0x85 }, // 9: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:27 g:terminal_color_9
+ .{ 0x8b, 0xae, 0x68 }, // 10: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:28 g:terminal_color_10
+ .{ 0xd6, 0x8c, 0x67 }, // 11: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:29 g:terminal_color_11
+ .{ 0x61, 0xab, 0xda }, // 12: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:30 g:terminal_color_12
+ .{ 0xcf, 0x86, 0xc1 }, // 13: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:31 g:terminal_color_13
+ .{ 0x65, 0xb8, 0xc1 }, // 14: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:32 g:terminal_color_14
+ .{ 0xc0, 0xab, 0x86 }, // 15: ~/05-genizah/zenbones.nvim/colors/zenburned.vim:33 g:terminal_color_15
+ },
+};