summaryrefslogtreecommitdiff
path: root/core/themes/catppuccin_mocha.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/themes/catppuccin_mocha.zig')
-rw-r--r--core/themes/catppuccin_mocha.zig57
1 files changed, 28 insertions, 29 deletions
diff --git a/core/themes/catppuccin_mocha.zig b/core/themes/catppuccin_mocha.zig
index fb34a923..dae31a69 100644
--- a/core/themes/catppuccin_mocha.zig
+++ b/core/themes/catppuccin_mocha.zig
@@ -28,63 +28,62 @@
//! (groups/integrations/gitsigns.lua:11), and neo-tree uses NeoTreeModified =
//! peach. Keyword = mauve directly (Statement also mauve). Diagnostic groups
//! are in groups/lsp.lua (merged into editor groups by lib/mapper.lua:26).
+//! Moved by pardes as it loads, to meet its floors (DESIGN.md G4: that colour alone; colors.Chrome.of):
+//! - tag ground #181825 -> #151522: 1.07:1 off the page, now 1.10:1 (H: a band 1.1:1 off the page; R3: tone on tone)
+//! - hint #94e2d5 -> #a6e3a1: 11.01:1 on the page, now 11.03:1 (R9: 4.5:1, told from the text and the others)
pub const theme = .{
.name = "catppuccin_mocha",
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal bg = C.base (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:25)
- .bg = .{ 0x1e, 0x1e, 0x2e },
+ .page = .{ 0x1e, 0x1e, 0x2e },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:35 Normal fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:16)
- .fg = .{ 0xcd, 0xd6, 0xf4 },
+ .text = .{ 0xcd, 0xd6, 0xf4 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:107 Visual bg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:23)
- .sel_bg = .{ 0x45, 0x47, 0x5a },
+ .selection = .{ 0x45, 0x47, 0x5a },
// the original keeps text colours over its selection; its text colour
- .sel_fg = .{ 0xcd, 0xd6, 0xf4 },
+ .selection_text = .{ 0xcd, 0xd6, 0xf4 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:26)
- .tag_bg = .{ 0x18, 0x18, 0x25 },
+ .tag = .{ 0x18, 0x18, 0x25 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:100 StatusLineNC fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:23) #45475a, adjusted
- .tag_fg = .{ 0x81, 0x82, 0x8f },
+ .tag_text = .{ 0x81, 0x82, 0x8f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine bg = C.mantle (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:26) #181825, adjusted
- .tag_active_bg = .{ 0x39, 0x3a, 0x4a },
+ .tag_focus = .{ 0x39, 0x3a, 0x4a },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:99 StatusLine fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:16)
- .tag_active_fg = .{ 0xcd, 0xd6, 0xf4 },
+ .tag_focus_text = .{ 0xcd, 0xd6, 0xf4 },
// the focused grip: ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/lualine.lua:20 lualine normal.a bg = C.blue (used by lua/lualine/themes/catppuccin-mocha.lua) -> C.blue (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:14)
- .box = .{ 0x89, 0xb4, 0xfa },
- // derived: the grip at rest, the accent #89b4fa faded toward the unfocused tag #181825 as far as 1.6:1 off it (0.24 of the way)
- .box_dim = .{ 0x33, 0x3d, 0x58 },
+ .accent = .{ 0x89, 0xb4, 0xfa },
// an unsaved grip: the original's warning colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:9)
- .box_dirty = .{ 0xf9, 0xe2, 0xaf },
+ .dirty = .{ 0xf9, 0xe2, 0xaf },
// derived: the column grip, the original's type colour, ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:32 Type fg = C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:9)
- .column_box = .{ 0xf9, 0xe2, 0xaf },
+ .column_grip = .{ 0xf9, 0xe2, 0xaf },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:20 Keyword fg = C.mauve (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:5)
- .kw = .{ 0xcb, 0xa6, 0xf7 },
+ .keyword = .{ 0xcb, 0xa6, 0xf7 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:8 String fg = C.green (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:10)
- .str = .{ 0xa6, 0xe3, 0xa1 },
+ .string = .{ 0xa6, 0xe3, 0xa1 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:10 Number fg = C.peach (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:8)
- .num = .{ 0xfa, 0xb3, 0x87 },
+ .number = .{ 0xfa, 0xb3, 0x87 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/syntax.lua:5 Comment fg = C.overlay2 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:19)
.comment = .{ 0x93, 0x99, 0xb2 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:27 LineNr fg = C.surface1 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:23)
- .lineno = .{ 0x45, 0x47, 0x5a },
+ .line_number = .{ 0x45, 0x47, 0x5a },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:28 CursorLineNr fg = C.lavender (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:15)
- .lineno_active = .{ 0xb4, 0xbe, 0xfe },
+ .line_number_current = .{ 0xb4, 0xbe, 0xfe },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:72 PmenuSbar bg = C.surface0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:24)
- .scroll_track = .{ 0x31, 0x32, 0x44 },
+ .rail = .{ 0x31, 0x32, 0x44 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:73 PmenuThumb bg = C.overlay0 (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:21)
- .scroll_thumb = .{ 0x6c, 0x70, 0x86 },
+ .rail_thumb = .{ 0x6c, 0x70, 0x86 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:114 WinSeparator fg = C.crust (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:27) #11111b, adjusted
- .border = .{ 0x3e, 0x40, 0x4f },
+ .rule = .{ 0x3e, 0x40, 0x4f },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search bg = U.darken(C.sky, 0.30, C.base) = blend(fg sky #89dceb, bg base #1e1e2e, alpha 0.3) per ~/05-genizah/catppuccin-nvim/lua/catppuccin/utils/colors.lua:29 -> #3e5767
- .search_bg = .{ 0x3e, 0x57, 0x67 },
- // ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/editor.lua:91 Search fg = C.text (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:16)
- .search_fg = .{ 0xcd, 0xd6, 0xf4 },
+ .hit = .{ 0x3e, 0x57, 0x67 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:50 DiagnosticError fg = error (local error = C.red at line 8) -> C.red (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:6)
- .diagnostic_error = .{ 0xf3, 0x8b, 0xa8 },
+ .@"error" = .{ 0xf3, 0x8b, 0xa8 },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:51 DiagnosticWarn fg = warning (local warning = C.yellow at line 9) -> C.yellow (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:9)
- .diagnostic_warning = .{ 0xf9, 0xe2, 0xaf },
+ .warning = .{ 0xf9, 0xe2, 0xaf },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:52 DiagnosticInfo fg = info (local info = C.sky at line 10) -> C.sky (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:12)
- .diagnostic_info = .{ 0x89, 0xdc, 0xeb },
+ .info = .{ 0x89, 0xdc, 0xeb },
// ~/05-genizah/catppuccin-nvim/lua/catppuccin/groups/lsp.lua:53 DiagnosticHint fg = hint (local hint = C.teal at line 11) -> C.teal (~/05-genizah/catppuccin-nvim/lua/catppuccin/palettes/mocha.lua:11)
- .diagnostic_hint = .{ 0x94, 0xe2, 0xd5 },
- .palette = .{
+ .hint = .{ 0x94, 0xe2, 0xd5 },
+ .ansi = .{
.{ 0x45, 0x47, 0x5a }, // 0: ~/05-genizah/catppuccin-palette/palette.json:3286 mocha.ansiColors.black.normal
.{ 0xf3, 0x8b, 0xa8 }, // 1: ~/05-genizah/catppuccin-palette/palette.json:3330 mocha.ansiColors.red.normal
.{ 0xa6, 0xe3, 0xa1 }, // 2: ~/05-genizah/catppuccin-palette/palette.json:3374 mocha.ansiColors.green.normal