summaryrefslogtreecommitdiff
path: root/src/themes/tokyobones_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/tokyobones_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/tokyobones_light.zig')
-rw-r--r--src/themes/tokyobones_light.zig94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/themes/tokyobones_light.zig b/src/themes/tokyobones_light.zig
new file mode 100644
index 00000000..f57287ce
--- /dev/null
+++ b/src/themes/tokyobones_light.zig
@@ -0,0 +1,94 @@
+//! Tokyobones (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 #b9bbc3 -> #b1b3bc: 1.16:1 off the unfocused #c8c9cf, pardes needs 1.25:1 on a light page
+//! - unfocused tag text #5f6b9b -> #4a5379: 3.13:1 on #c8c9cf, tag text needs 4.5:1 to be read and run
+//! - focused grip #9b9da9 -> #8f909b: 1.29:1 on the focused tag #b1b3bc
+//! Upstream notes: Generated by shipwright from lush/HSLuv
+//! (lua/tokyobones/palette.lua + lua/zenbones/specs/light.lua); values are the
+//! default 'ness' baked into colors/tokyobones.vim. Palette = the 16 names
+//! term.lua maps to ANSI, taken from the generated terminal colours.
+//! palette.lua also names bg_warm, orange (in one or both backgrounds) with no
+//! generated literal-hex output; omitted. 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 = "tokyobones_light",
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:271 Normal guibg
+ .bg = .{ 0xd6, 0xd7, 0xdc },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:271 Normal guifg
+ .fg = .{ 0x33, 0x3a, 0x57 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:452 Visual guibg
+ .sel_bg = .{ 0xbb, 0xc0, 0xd8 },
+ // the original keeps text colours over its selection; its text colour
+ .sel_fg = .{ 0x33, 0x3a, 0x57 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:436 StatusLineNC guibg
+ .tag_bg = .{ 0xc8, 0xc9, 0xcf },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:436 StatusLineNC guifg #5f6b9b, adjusted
+ .tag_fg = .{ 0x4a, 0x53, 0x79 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:433 StatusLine guibg #b9bbc3, adjusted
+ .tag_active_bg = .{ 0xb1, 0xb3, 0xbc },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:433 StatusLine guifg
+ .tag_active_fg = .{ 0x33, 0x3a, 0x57 },
+ // the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/tokyobones_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 = .{ 0x8f, 0x90, 0x9b },
+ // derived: the grip at rest, the accent #9b9da9 faded toward the unfocused tag #c8c9cf as far as 1.6:1 off it (0.98 of the way)
+ .box_dim = .{ 0x9c, 0x9e, 0xaa },
+ // an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:279 Changed guifg
+ .box_dirty = .{ 0x34, 0x54, 0x8c },
+ // derived: the column grip, the original's type colour, ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:448 Type guifg
+ .column_box = .{ 0x48, 0x4f, 0x6b },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:430 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
+ .kw = .{ 0x5a, 0x4a, 0x79 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:439 String guifg
+ .str = .{ 0x5b, 0x66, 0x94 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:402 Number guifg
+ .num = .{ 0x17, 0x67, 0x75 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:285 Comment guifg
+ .comment = .{ 0x7c, 0x7e, 0x89 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:388 LineNr guifg
+ .lineno = .{ 0x88, 0x8b, 0x99 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:300 CursorLineNr guifg
+ .lineno_active = .{ 0x33, 0x3a, 0x57 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:405 PmenuSbar guibg
+ .scroll_track = .{ 0x93, 0x95, 0xa2 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:407 PmenuThumb guibg
+ .scroll_thumb = .{ 0xed, 0xee, 0xf0 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:459 WinSeparator guifg
+ .border = .{ 0x88, 0x8b, 0x99 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:411 Search guibg
+ .search_bg = .{ 0xb3, 0xa9, 0xc9 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:411 Search guifg
+ .search_fg = .{ 0x33, 0x3a, 0x57 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:351 Error guifg via DiagnosticError->Error (link :352)
+ .diagnostic_error = .{ 0x8b, 0x43, 0x51 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:453 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :454)
+ .diagnostic_warning = .{ 0x8f, 0x5e, 0x14 },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:310 DiagnosticInfo guifg
+ .diagnostic_info = .{ 0x34, 0x54, 0x8c },
+ // ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:305 DiagnosticHint guifg
+ .diagnostic_hint = .{ 0x5a, 0x4a, 0x79 },
+ .palette = .{
+ .{ 0xd6, 0xd7, 0xdc }, // 0: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:255 g:terminal_color_0
+ .{ 0x8b, 0x43, 0x51 }, // 1: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:256 g:terminal_color_1
+ .{ 0x34, 0x64, 0x5d }, // 2: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:257 g:terminal_color_2
+ .{ 0x8f, 0x5e, 0x14 }, // 3: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:258 g:terminal_color_3
+ .{ 0x34, 0x54, 0x8c }, // 4: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:259 g:terminal_color_4
+ .{ 0x5a, 0x4a, 0x79 }, // 5: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:260 g:terminal_color_5
+ .{ 0x17, 0x67, 0x75 }, // 6: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:261 g:terminal_color_6
+ .{ 0x33, 0x3a, 0x57 }, // 7: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:262 g:terminal_color_7
+ .{ 0xad, 0xb0, 0xbd }, // 8: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:263 g:terminal_color_8
+ .{ 0x7e, 0x32, 0x42 }, // 9: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:264 g:terminal_color_9
+ .{ 0x26, 0x55, 0x4f }, // 10: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:265 g:terminal_color_10
+ .{ 0x79, 0x4e, 0x0d }, // 11: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:266 g:terminal_color_11
+ .{ 0x26, 0x46, 0x7a }, // 12: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:267 g:terminal_color_12
+ .{ 0x50, 0x38, 0x75 }, // 13: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:268 g:terminal_color_13
+ .{ 0x34, 0x64, 0x5d }, // 14: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:269 g:terminal_color_14
+ .{ 0x56, 0x61, 0x8d }, // 15: ~/05-genizah/zenbones.nvim/colors/tokyobones.vim:270 g:terminal_color_15
+ },
+};