nite/themes/catppuccin/nite.tera

64 lines
2 KiB
Text

---
whiskers:
version: 2.0.2
matrix:
- variant: ["", "-no-italics"]
- flavor
- accent
filename: "{{flavor.identifier}}-{{accent}}{{variant}}.kdl"
---
{%set c = flavor.colors-%}
{%set accent = c[accent]-%}
{%if variant == "-no-italics"%}
{%set italic = ""-%}
{%else%}
{%set italic = 'font_style="italic"'-%}
{%endif%}
name "Catppuccin {{flavor.name}} {%- if variant == "-no-italics" %} (no italics) {%- endif -%}"
background_color "#{{c.base.hex}}"
text_color "#{{c.text.hex}}"
highlights {
attribute "#{{c.yellow.hex}}"
boolean "#{{c.peach.hex}}"
comment "#{{c.overlay1.hex}}" {{italic}}
comment.doc "#{{c.overlay1.hex}}" {{italic}}
constant "#{{c.peach.hex}}"
constructor "#{{c.blue.hex}}"
embedded "#{{c.maroon.hex}}"
emphasis "#{{c.red.hex}}" {{italic}}
emphasis.strong "#{{c.red.hex}}" font_weight=700
enum "#{{c.teal.hex}}" font_weight=700
function "#{{c.blue.hex}}" {{italic}}
hint "#{{c.teal.hex}}" {{italic}}
keyword "#{{c.mauve.hex}}"
link_text "#{{c.blue.hex}}"
link_uri "#{{c.blue.hex}}"
number "#{{c.peach.hex}}"
operator "#{{c.sky.hex}}"
predictive "#{{c.surface2.hex}}"
predoc "#{{c.red.hex}}"
primary "#{{c.maroon.hex}}"
property "#{{c.blue.hex}}"
punctuation "#{{c.teal.hex}}"
punctuation.bracket "#{{c.teal.hex}}"
punctuation.delimiter "#{{c.overlay2.hex}}"
punctuation.list_marker "#{{c.teal.hex}}"
punctuation.special "#{{c.teal.hex}}"
punctuation.special.symbol "#{{c.red.hex}}"
string "#{{c.green.hex}}"
string.escape "#{{c.pink.hex}}"
string.regex "#{{c.pink.hex}}"
string.special "#{{c.pink.hex}}"
string.special.symbol "#{{c.flamingo.hex}}"
tag "#{{c.blue.hex}}"
text.literal "#{{c.green.hex}}"
title "#{{c.text.hex}}"
type "#{{c.yellow.hex}}"
type.interface "#{{c.yellow.hex}}"
type.super "#{{c.yellow.hex}}"
variable "#{{c.text.hex}}"
variable.member "#{{c.text.hex}}"
variable.parameter "#{{c.text.hex}}"
variable.special "#{{ c.text | mix(color=c.red,amount=0.6) | get(key='hex') }}" {{italic}}
variant "#{{c.red.hex}}"
}