summaryrefslogtreecommitdiff
path: root/src/themes/forestbones_light.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 17:35:06 -0300
committerGabriel Schneider <[email protected]>2026-10-30 17:35:06 -0300
commit6d8da8721141284cf33bb901168b26135893eb86 (patch)
tree791d63401d4e85fbca1d597a8ce0326e70efd545 /src/themes/forestbones_light.zig
parentefd43a3a2cf03bb741366331158b368abf9ac583 (diff)
parentbf6810a8f9d6cc82050e7d9c0cfb06358301b574 (diff)
downloadpardes-6d8da8721141284cf33bb901168b26135893eb86.tar.gz
pardes-6d8da8721141284cf33bb901168b26135893eb86.zip
Merge latest upstream into the macOS branch for Zig 0.17
Retain the macOS branch history and local Acme selection color while adopting upstream's current core and platform changes. Pin Zig and ZLS to 0.17.0, and fetch the existing zstbi compatibility commit through upstream after its original fork was removed.
Diffstat (limited to 'src/themes/forestbones_light.zig')
-rw-r--r--src/themes/forestbones_light.zig94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/themes/forestbones_light.zig b/src/themes/forestbones_light.zig
new file mode 100644
index 00000000..e227d6a9
--- /dev/null
+++ b/src/themes/forestbones_light.zig
@@ -0,0 +1,94 @@
+//! Forestbones (light): 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 #e3d191 -> #ddca87: 1.18:1 off the unfocused #f3e2aa, pardes needs 1.25:1 on a light page
+//! - unfocused tag text #758690 -> #59666d: 2.92:1 on #f3e2aa, tag text needs 4.5:1 to be read and run
+//! - focused tag text #4f5b62 -> #4c575e: 4.28:1 on #ddca87, tag text needs 4.5:1
+//! - focused grip #c0b079 -> #b1a26f: 1.32:1 on the focused tag #ddca87
+//! Upstream notes: Generated by shipwright from lush/HSLuv
+//! (lua/forestbones/palette.lua + lua/zenbones/specs/light.lua); values are the
+//! default 'ness' baked into colors/forestbones.vim. Palette = the 16 names
+//! term.lua maps to ANSI, taken from the generated terminal colours. 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 = "forestbones_light",
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:267 Normal guibg
+ .bg = .{ 0xfa, 0xf3, 0xe1 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:267 Normal guifg
+ .fg = .{ 0x4f, 0x5b, 0x62 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:445 Visual guibg
+ .sel_bg = .{ 0xd3, 0xdf, 0xe6 },
+ // the original keeps text colours over its selection; its text colour
+ .sel_fg = .{ 0x4f, 0x5b, 0x62 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:432 StatusLineNC guibg
+ .tag_bg = .{ 0xf3, 0xe2, 0xaa },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:432 StatusLineNC guifg #758690, adjusted
+ .tag_fg = .{ 0x59, 0x66, 0x6d },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:429 StatusLine guibg #e3d191, adjusted
+ .tag_active_bg = .{ 0xdd, 0xca, 0x87 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:429 StatusLine guifg #4f5b62, adjusted
+ .tag_active_fg = .{ 0x4c, 0x57, 0x5e },
+ // the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/forestbones_light_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 = .{ 0xb1, 0xa2, 0x6f },
+ // derived: the grip at rest, the accent #c0b079 faded toward the unfocused tag #f3e2aa as far as 1.6:1 off it (0.94 of the way)
+ .box_dim = .{ 0xc3, 0xb3, 0x7c },
+ // an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/forestbones.vim:275 Changed guifg
+ .box_dirty = .{ 0x3a, 0x94, 0xc4 },
+ // derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/forestbones.vim:441 Type guifg
+ .column_box = .{ 0x3a, 0x94, 0xc4 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:426 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
+ .kw = .{ 0x8d, 0xa2, 0x00 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:435 String guifg
+ .str = .{ 0x73, 0x84, 0x8d },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:398 Number guifg
+ .num = .{ 0x73, 0x84, 0x8d },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:281 Comment guifg
+ .comment = .{ 0x9a, 0x90, 0x71 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:384 LineNr guifg
+ .lineno = .{ 0xa9, 0x9b, 0x6a },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:296 CursorLineNr guifg
+ .lineno_active = .{ 0x4f, 0x5b, 0x62 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:401 PmenuSbar guibg
+ .scroll_track = .{ 0xb7, 0xa8, 0x74 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:403 PmenuThumb guibg
+ .scroll_thumb = .{ 0xfc, 0xf9, 0xf1 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:452 WinSeparator guifg
+ .border = .{ 0xa9, 0x9b, 0x6a },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:407 Search guibg
+ .search_bg = .{ 0xee, 0xba, 0xdb },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:407 Search guifg
+ .search_fg = .{ 0x4f, 0x5b, 0x62 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:347 Error guifg via DiagnosticError->Error (link :348)
+ .diagnostic_error = .{ 0xf8, 0x55, 0x50 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:446 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :447)
+ .diagnostic_warning = .{ 0xde, 0xa0, 0x00 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:306 DiagnosticInfo guifg
+ .diagnostic_info = .{ 0x3a, 0x94, 0xc4 },
+ // ~/05-genizah/zenbones.nvim/colors/forestbones.vim:301 DiagnosticHint guifg
+ .diagnostic_hint = .{ 0xdf, 0x69, 0xba },
+ .palette = .{
+ .{ 0xfa, 0xf3, 0xe1 }, // 0: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:251 g:terminal_color_0
+ .{ 0xf8, 0x55, 0x50 }, // 1: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:252 g:terminal_color_1
+ .{ 0x8d, 0xa2, 0x00 }, // 2: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:253 g:terminal_color_2
+ .{ 0xde, 0xa0, 0x00 }, // 3: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:254 g:terminal_color_3
+ .{ 0x3a, 0x94, 0xc4 }, // 4: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:255 g:terminal_color_4
+ .{ 0xdf, 0x69, 0xba }, // 5: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:256 g:terminal_color_5
+ .{ 0x36, 0xa8, 0x7e }, // 6: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:257 g:terminal_color_6
+ .{ 0x4f, 0x5b, 0x62 }, // 7: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:258 g:terminal_color_7
+ .{ 0xdb, 0xc9, 0x88 }, // 8: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:259 g:terminal_color_8
+ .{ 0xe6, 0x27, 0x1c }, // 9: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:260 g:terminal_color_9
+ .{ 0x75, 0x87, 0x00 }, // 10: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:261 g:terminal_color_10
+ .{ 0xb9, 0x85, 0x00 }, // 11: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:262 g:terminal_color_11
+ .{ 0x29, 0x7c, 0xa6 }, // 12: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:263 g:terminal_color_12
+ .{ 0xca, 0x43, 0xa3 }, // 13: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:264 g:terminal_color_13
+ .{ 0x25, 0x8c, 0x67 }, // 14: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:265 g:terminal_color_14
+ .{ 0x6e, 0x7f, 0x88 }, // 15: ~/05-genizah/zenbones.nvim/colors/forestbones.vim:266 g:terminal_color_15
+ },
+};