summaryrefslogtreecommitdiff
path: root/src/themes/nordbones.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 10:19:01 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commitefcfa761f7fc1d4898d90da85a355a99de758fbd (patch)
tree099ccf2ed9ce3f9244f1e8675f78cff55f06fa9d /src/themes/nordbones.zig
parent008fc998d8d8b24358c650a234c55163508a1d78 (diff)
downloadpardes-efcfa761f7fc1d4898d90da85a355a99de758fbd.tar.gz
pardes-efcfa761f7fc1d4898d90da85a355a99de758fbd.zip
Zenbones, as close to the original as pardes draws: zenbones_light, zenbones_dark, neobones_light, neobones_dark, vimbones, forestbones_light, forestbones_dark, nordbones, rosebones_light, rosebones_dark, tokyobones_light, tokyobones_dark, seoulbones_light, seoulbones_dark, duckbones, zenburned, zenwritten_light, zenwritten_dark, kanagawabones
Every colour is the original's own, cited file:line in each theme file. Sources: repo; https://github.com/zenbones-theme/zenbones.nvim; ~/05-genizah/zenbones.nvim; 8304d8df9b823ff11e103afa62f38c39f534abe6 Chrome moved to meet pardes's floors (text, syntax, ANSI untouched): zenbones_light: focused tag ground #d6cdc9 -> #cfc3bf: 1.15:1 off the unfocused #e1dcd9, pardes needs 1.25:1 on a light page zenbones_light: unfocused tag text #596a76 -> #52626d: 4.12:1 on #e1dcd9, tag text needs 4.5:1 to be read and run zenbones_light: focused grip #bbaba3 -> #ac9d96: 1.29:1 on the focused tag #cfc3bf zenbones_dark: focused tag ground #352f2d -> #473f3d: 1.18:1 off the unfocused #272321, pardes needs 1.5:1 on a dark page zenbones_dark: focused grip #59514d -> #635b58: 1.32:1 on the focused tag #473f3d neobones_light: focused tag ground #c2cfc4 -> #bac6bc: 1.16:1 off the unfocused #d0ded2, pardes needs 1.25:1 on a light page neobones_light: focused grip #a3aea4 -> #96a097: 1.30:1 on the focused tag #bac6bc neobones_dark: focused tag ground #20303a -> #2e4350: 1.15:1 off the unfocused #18252d, pardes needs 1.5:1 on a dark page neobones_dark: focused grip #3b5362 -> #4b616f: 1.28:1 on the focused tag #2e4350 vimbones: focused tag ground #d1d1b0 -> #c7c7a8: 1.15:1 off the unfocused #dfdfbc, pardes needs 1.25:1 on a light page vimbones: unfocused tag text #686868 -> #606060: 4.09:1 on #dfdfbc, tag text needs 4.5:1 to be read and run vimbones: focused grip #b0b093 -> #a2a287: 1.28:1 on the focused tag #c7c7a8 forestbones_light: focused tag ground #e3d191 -> #ddca87: 1.18:1 off the unfocused #f3e2aa, pardes needs 1.25:1 on a light page forestbones_light: unfocused tag text #758690 -> #59666d: 2.92:1 on #f3e2aa, tag text needs 4.5:1 to be read and run forestbones_light: focused tag text #4f5b62 -> #4c575e: 4.28:1 on #ddca87, tag text needs 4.5:1 forestbones_light: focused grip #c0b079 -> #b1a26f: 1.32:1 on the focused tag #ddca87 forestbones_dark: focused tag ground #3e4850 -> #505a64: 1.15:1 off the unfocused #353f46, pardes needs 1.5:1 on a dark page forestbones_dark: focused grip #596873 -> #6a7781: 1.22:1 on the focused tag #505a64 nordbones: focused tag ground #414959 -> #515b6e: 1.15:1 off the unfocused #39404e, pardes needs 1.5:1 on a dark page nordbones: focused grip #5e687e -> #6e778b: 1.22:1 on the focused tag #515b6e rosebones_light: focused tag ground #ecd0a9 -> #e9c89a: 1.18:1 off the unfocused #f3e3cf, pardes needs 1.25:1 on a light page rosebones_light: unfocused tag text #ae6966 -> #8f5654: 3.33:1 on #f3e3cf, tag text needs 4.5:1 to be read and run rosebones_light: focused grip #ceaf7e -> #bea174: 1.31:1 on the focused tag #e9c89a rosebones_dark: focused tag ground #312e43 -> #423e59: 1.19:1 off the unfocused #242232, pardes needs 1.5:1 on a dark page rosebones_dark: focused grip #534e6f -> #5d5978: 1.30:1 on the focused tag #423e59 tokyobones_light: focused tag ground #b9bbc3 -> #b1b3bc: 1.16:1 off the unfocused #c8c9cf, pardes needs 1.25:1 on a light page tokyobones_light: unfocused tag text #5f6b9b -> #4a5379: 3.13:1 on #c8c9cf, tag text needs 4.5:1 to be read and run tokyobones_light: focused grip #9b9da9 -> #8f909b: 1.29:1 on the focused tag #b1b3bc tokyobones_dark: focused tag ground #303142 -> #404157: 1.19:1 off the unfocused #242532, pardes needs 1.5:1 on a dark page tokyobones_dark: focused grip #51536d -> #5b5d76: 1.33:1 on the focused tag #404157 seoulbones_light: focused tag ground #c4c4c4 -> #bdbdbd: 1.18:1 off the unfocused #d4d4d4, pardes needs 1.25:1 on a light page seoulbones_light: unfocused tag text #818181 -> #5a5a5a: 2.63:1 on #d4d4d4, tag text needs 4.5:1 to be read and run seoulbones_light: focused tag text #555555 -> #4b4b4b: 3.97:1 on #bdbdbd, tag text needs 4.5:1 seoulbones_light: focused grip #a6a6a6 -> #999999: 1.30:1 on the focused tag #bdbdbd seoulbones_dark: focused tag ground #5e5e5e -> #727272: 1.15:1 off the unfocused #555555, pardes needs 1.5:1 on a dark page seoulbones_dark: focused tag text #dddddd -> #f8f8f8: 3.54:1 on #727272, tag text needs 4.5:1 seoulbones_dark: focused grip #797979 -> #919191: 1.11:1 on the focused tag #727272 seoulbones_dark: scroll thumb #a0a0a0 -> #a1a1a1: 1.49:1 on its track #818181 duckbones: focused tag ground #232738 -> #353b51: 1.13:1 off the unfocused #1a1d2b, pardes needs 1.5:1 on a dark page duckbones: focused grip #444a67 -> #4f5570: 1.28:1 on the focused tag #353b51 zenburned: focused tag ground #555555 -> #646464: 1.21:1 off the unfocused #494949, pardes needs 1.5:1 on a dark page zenburned: focused grip #6f6f6f -> #838383: 1.18:1 on the focused tag #646464 zenwritten_light: focused tag ground #cfcfcf -> #c5c5c5: 1.15:1 off the unfocused #dddddd, pardes needs 1.25:1 on a light page zenwritten_light: unfocused tag text #686868 -> #606060: 4.10:1 on #dddddd, tag text needs 4.5:1 to be read and run zenwritten_light: focused grip #aeaeae -> #a0a0a0: 1.29:1 on the focused tag #c5c5c5 zenwritten_dark: focused tag ground #303030 -> #414141: 1.18:1 off the unfocused #242424, pardes needs 1.5:1 on a dark page zenwritten_dark: focused grip #525252 -> #5c5c5c: 1.31:1 on the focused tag #414141 kanagawabones: focused tag ground #363644 -> #444456: 1.21:1 off the unfocused #292934, pardes needs 1.5:1 on a dark page kanagawabones: focused grip #565668 -> #606071: 1.33:1 on the focused tag #444456
Diffstat (limited to 'src/themes/nordbones.zig')
-rw-r--r--src/themes/nordbones.zig95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/themes/nordbones.zig b/src/themes/nordbones.zig
new file mode 100644
index 00000000..e7ec64b3
--- /dev/null
+++ b/src/themes/nordbones.zig
@@ -0,0 +1,95 @@
+//! Nordbones: 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 #414959 -> #515b6e: 1.15:1 off the unfocused #39404e, pardes needs 1.5:1 on a dark page
+//! - focused grip #5e687e -> #6e778b: 1.22:1 on the focused tag #515b6e
+//! Upstream notes: Generated by shipwright from lush/HSLuv
+//! (lua/nordbones/palette.lua + lua/zenbones/specs/dark.lua); values are the
+//! default 'ness' baked into colors/nordbones.vim. Palette = the 16 names
+//! term.lua maps to ANSI, taken from the generated terminal colours. Dark-only
+//! flavour (zenbones.json background='dark'). palette.lua also names nord0,
+//! nord1, nord10, nord11, nord12, nord13, nord14, nord15, nord2, nord3, nord4,
+//! nord5, nord6, nord7, nord8, nord9 (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 = "nordbones",
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:34 Normal guibg
+ .bg = .{ 0x2f, 0x35, 0x41 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:34 Normal guifg
+ .fg = .{ 0xeb, 0xee, 0xf3 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:212 Visual guibg
+ .sel_bg = .{ 0x54, 0x5f, 0x70 },
+ // the original keeps text colours over its selection; its text colour
+ .sel_fg = .{ 0xeb, 0xee, 0xf3 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:199 StatusLineNC guibg
+ .tag_bg = .{ 0x39, 0x40, 0x4e },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:199 StatusLineNC guifg
+ .tag_fg = .{ 0xf2, 0xf4, 0xf7 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:196 StatusLine guibg #414959, adjusted
+ .tag_active_bg = .{ 0x51, 0x5b, 0x6e },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:196 StatusLine guifg
+ .tag_active_fg = .{ 0xeb, 0xee, 0xf3 },
+ // the focused grip: ~/05-genizah/zenbones.nvim/lua/lualine/themes/nordbones_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 = .{ 0x6e, 0x77, 0x8b },
+ // derived: the grip at rest, the accent #5e687e faded toward the unfocused tag #39404e as far as 1.6:1 off it (0.78 of the way)
+ .box_dim = .{ 0x56, 0x5f, 0x73 },
+ // an unsaved grip: the original's modified colour, ~/05-genizah/zenbones.nvim/colors/nordbones.vim:42 Changed guifg
+ .box_dirty = .{ 0x8f, 0xbc, 0xba },
+ // derived: the column grip, the original's function colour, ~/05-genizah/zenbones.nvim/colors/nordbones.vim:123 Function guifg
+ .column_box = .{ 0x87, 0xbf, 0xce },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:192 Statement guifg (no Keyword group defined; Vim default links Keyword to Statement)
+ .kw = .{ 0x81, 0xa1, 0xc1 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:202 String guifg
+ .str = .{ 0x9e, 0xaf, 0xc9 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:165 Number guifg
+ .num = .{ 0x8f, 0xbc, 0xba },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:48 Comment guifg
+ .comment = .{ 0x73, 0x7c, 0x90 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:151 LineNr guifg
+ .lineno = .{ 0x69, 0x75, 0x8c },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:63 CursorLineNr guifg
+ .lineno_active = .{ 0xeb, 0xee, 0xf3 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:168 PmenuSbar guibg
+ .scroll_track = .{ 0x65, 0x70, 0x87 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:170 PmenuThumb guibg
+ .scroll_thumb = .{ 0x86, 0x94, 0xb0 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:219 WinSeparator guifg
+ .border = .{ 0x69, 0x75, 0x8c },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:173 Search guibg
+ .search_bg = .{ 0x84, 0x63, 0x7e },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:173 Search guifg
+ .search_fg = .{ 0xeb, 0xee, 0xf3 },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:114 Error guifg via DiagnosticError->Error (link :115)
+ .diagnostic_error = .{ 0xc1, 0x61, 0x6a },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:213 WarningMsg guifg via DiagnosticWarn->WarningMsg (link :214)
+ .diagnostic_warning = .{ 0xcf, 0x86, 0x6f },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:73 DiagnosticInfo guifg
+ .diagnostic_info = .{ 0x8f, 0xbc, 0xba },
+ // ~/05-genizah/zenbones.nvim/colors/nordbones.vim:68 DiagnosticHint guifg
+ .diagnostic_hint = .{ 0xb3, 0x8d, 0xac },
+ .palette = .{
+ .{ 0x2f, 0x35, 0x41 }, // 0: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:18 g:terminal_color_0
+ .{ 0xc1, 0x61, 0x6a }, // 1: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:19 g:terminal_color_1
+ .{ 0xa4, 0xbe, 0x8d }, // 2: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:20 g:terminal_color_2
+ .{ 0xcf, 0x86, 0x6f }, // 3: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:21 g:terminal_color_3
+ .{ 0x8f, 0xbc, 0xba }, // 4: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:22 g:terminal_color_4
+ .{ 0xb3, 0x8d, 0xac }, // 5: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:23 g:terminal_color_5
+ .{ 0x87, 0xbf, 0xce }, // 6: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:24 g:terminal_color_6
+ .{ 0xeb, 0xee, 0xf3 }, // 7: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:25 g:terminal_color_7
+ .{ 0x47, 0x50, 0x63 }, // 8: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:26 g:terminal_color_8
+ .{ 0xd6, 0x78, 0x7f }, // 9: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:27 g:terminal_color_9
+ .{ 0xa8, 0xcc, 0x86 }, // 10: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:28 g:terminal_color_10
+ .{ 0xe0, 0x96, 0x80 }, // 11: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:29 g:terminal_color_11
+ .{ 0x89, 0xca, 0xc8 }, // 12: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:30 g:terminal_color_12
+ .{ 0xcf, 0x97, 0xc5 }, // 13: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:31 g:terminal_color_13
+ .{ 0x82, 0xcc, 0xe0 }, // 14: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:32 g:terminal_color_14
+ .{ 0xa5, 0xb4, 0xcd }, // 15: ~/05-genizah/zenbones.nvim/colors/nordbones.vim:33 g:terminal_color_15
+ },
+};