diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-31 02:21:01 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:08 -0300 |
| commit | 0bfa4615988c0d1bcaa38453375760c60076c5ea (patch) | |
| tree | fab4f972c10b07739aabc9d772c43e102bce2c07 /vendor/themes/catppuccin_mocha.toml | |
| parent | be404e0d4f91548af6ed600b2fd2027ad8a041c7 (diff) | |
| download | pardes-0bfa4615988c0d1bcaa38453375760c60076c5ea.tar.gz pardes-0bfa4615988c0d1bcaa38453375760c60076c5ea.zip | |
themes: one file each, generated from helix and zed, picked by stepping a list
Each theme is a .zig file of pure data and nothing enumerates them by hand —
fold() walks the container's declarations, so a theme is a file and that is the
whole registration. Field by field rather than a wholesale coercion, which
makes a missing field a compile error that names it.
tools/gen_themes.zig reads helix .toml and zed .json out of vendor/themes and
emits one .zig each; build.zig reads that directory, so adding a theme is
dropping a file in. Output goes to the build cache rather than the tree, so zig
owns the freshness check and a deleted source cannot leave a stale theme
behind. Vendored, not read from the genizah: the build stays offline. A source
it cannot map is a hard error naming the file and the key, never a silently
black-on-black theme.
ThemeSel is the clever half. Traits gained an `executes` column, so n/N over
that buffer hands the whole line to Exec instead of the leading word to Look —
both arms the ordinary builtin, so a stepped row does exactly what the matching
mouse button on it would. Stepping the list previews each theme live. The trait
is a pane property, not an output-pane branch, so any pane whose lines are
commands can opt in.
Goldens: leader gains SPC t t; theme's fourth NextColor no longer wraps to
helix because the ring is fifteen long. New: themesel.
Diffstat (limited to 'vendor/themes/catppuccin_mocha.toml')
| -rw-r--r-- | vendor/themes/catppuccin_mocha.toml | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/vendor/themes/catppuccin_mocha.toml b/vendor/themes/catppuccin_mocha.toml new file mode 100644 index 00000000..e4cbea7f --- /dev/null +++ b/vendor/themes/catppuccin_mocha.toml @@ -0,0 +1,168 @@ +# NOTE: For contributors looking to modify the theme, please submit a pull request at https://github.com/catppuccin/helix instead of updating this file. Changes are frequently synchronized from the catppuccin/helix theme repository. +# Syntax highlighting +# ------------------- +"attribute" = "yellow" + +"type" = "yellow" +"type.builtin" = "mauve" +"type.enum.variant" = "teal" + +"constructor" = "sapphire" + +"constant" = "peach" +"constant.character" = "teal" +"constant.character.escape" = "pink" + +"string" = "green" +"string.regexp" = "pink" +"string.special" = "blue" +"string.special.symbol" = "red" + +"comment" = { fg = "overlay2", modifiers = ["italic"] } + +"variable" = "text" +"variable.parameter" = { fg = "maroon", modifiers = ["italic"] } +"variable.builtin" = "red" +"variable.other.member" = "blue" + +"label" = "sapphire" # used for lifetimes + +"punctuation" = "overlay2" +"punctuation.special" = "sky" + +"keyword" = "mauve" +"keyword.control.conditional" = { fg = "mauve", modifiers = ["italic"] } + +"operator" = "sky" + +"function" = "blue" +"function.macro" = "rosewater" + +"tag" = "blue" + +"namespace" = { fg = "yellow", modifiers = ["italic"] } + +"special" = "blue" # fuzzy highlight + +"markup.heading.1" = "red" +"markup.heading.2" = "peach" +"markup.heading.3" = "yellow" +"markup.heading.4" = "green" +"markup.heading.5" = "sapphire" +"markup.heading.6" = "lavender" +"markup.list" = "teal" +"markup.list.unchecked" = "overlay2" +"markup.list.checked" = "green" +"markup.bold" = { fg = "red", modifiers = ["bold"] } +"markup.italic" = { fg = "red", modifiers = ["italic"] } +"markup.strikethrough" = { modifiers = ["crossed_out"] } +"markup.link.url" = { fg = "blue", modifiers = ["italic", "underlined"] } +"markup.link.text" = "lavender" +"markup.link.label" = "sapphire" +"markup.raw" = "green" +"markup.quote" = "pink" + +"diff.plus" = "green" +"diff.minus" = "red" +"diff.delta" = "blue" + +# User Interface +# -------------- +"ui.background" = { fg = "text", bg = "base" } + +"ui.linenr" = { fg = "surface1" } +"ui.linenr.selected" = { fg = "lavender" } + +"ui.statusline" = { fg = "subtext1", bg = "mantle" } +"ui.statusline.inactive" = { fg = "surface2", bg = "mantle" } +"ui.statusline.normal" = { fg = "base", bg = "rosewater", modifiers = ["bold"] } +"ui.statusline.insert" = { fg = "base", bg = "green", modifiers = ["bold"] } +"ui.statusline.select" = { fg = "base", bg = "lavender", modifiers = ["bold"] } + +"ui.popup" = { fg = "text", bg = "surface0" } +"ui.window" = { fg = "crust" } +"ui.help" = { fg = "overlay2", bg = "surface0" } + +"ui.bufferline" = { fg = "subtext0", bg = "mantle" } +"ui.bufferline.active" = { fg = "mauve", bg = "base", underline = { color = "mauve", style = "line" } } +"ui.bufferline.background" = { bg = "crust" } + +"ui.text" = "text" +"ui.text.focus" = { fg = "text", bg = "surface0", modifiers = ["bold"] } +"ui.text.inactive" = { fg = "overlay1" } +"ui.text.directory" = { fg = "blue" } + +"ui.virtual" = "overlay0" +"ui.virtual.ruler" = { bg = "surface0" } +"ui.virtual.indent-guide" = "surface0" +"ui.virtual.inlay-hint" = { fg = "surface1", bg = "mantle" } +"ui.virtual.jump-label" = { fg = "rosewater", modifiers = ["bold"] } + +"ui.selection" = { bg = "surface1" } + +"ui.cursor" = { fg = "base", bg = "secondary_cursor" } +"ui.cursor.primary" = { fg = "base", bg = "rosewater" } +"ui.cursor.match" = { fg = "peach", modifiers = ["bold"] } + +"ui.cursor.primary.normal" = { fg = "base", bg = "rosewater" } +"ui.cursor.primary.insert" = { fg = "base", bg = "green" } +"ui.cursor.primary.select" = { fg = "base", bg = "lavender" } + +"ui.cursor.normal" = { fg = "base", bg = "secondary_cursor_normal" } +"ui.cursor.insert" = { fg = "base", bg = "secondary_cursor_insert" } +"ui.cursor.select" = { fg = "base", bg = "secondary_cursor_select" } + +"ui.cursorline.primary" = { bg = "cursorline" } + +"ui.highlight" = { bg = "surface1", modifiers = ["bold"] } + +"ui.menu" = { fg = "overlay2", bg = "surface0" } +"ui.menu.selected" = { fg = "text", bg = "surface1", modifiers = ["bold"] } + +"diagnostic.error" = { underline = { color = "red", style = "curl" } } +"diagnostic.warning" = { underline = { color = "yellow", style = "curl" } } +"diagnostic.info" = { underline = { color = "sky", style = "curl" } } +"diagnostic.hint" = { underline = { color = "teal", style = "curl" } } +"diagnostic.unnecessary" = { modifiers = ["dim"] } +"diagnostic.deprecated" = { modifiers = ["crossed_out"] } + +error = "red" +warning = "yellow" +info = "sky" +hint = "teal" + +rainbow = ["red", "peach", "yellow", "green", "sapphire", "lavender"] + +[palette] +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" +mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" +base = "#1e1e2e" +mantle = "#181825" +crust = "#11111b" + +cursorline = "#2a2b3c" +secondary_cursor = "#b5a6a8" +secondary_cursor_select = "#878ec0" +secondary_cursor_normal = "#b5a6a8" +secondary_cursor_insert = "#7ea87f" |
