-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathghostwriter.tera
More file actions
31 lines (29 loc) · 896 Bytes
/
ghostwriter.tera
File metadata and controls
31 lines (29 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
whiskers:
version: "2.3.0"
matrix:
- flavor: [frappe, macchiato, mocha]
- accent
filename: "themes/catppuccin-{{ flavor.identifier }}-{{ accent }}.json"
---
{%- macro theme(palette) -%}
"accent": "#{{ palette[accent].hex }}",
"background": "#{{ palette.base.hex }}",
"block": "#{{ palette.green.hex }}",
"cursor": "#{{ palette.rosewater.hex }}",
"emphasis": "#{{ palette.maroon.hex }}",
"error": "#{{ palette.red.hex }}",
"foreground": "#{{ palette.text.hex }}",
"heading": "#{{ palette.text.hex }}",
"link": "#{{ palette.blue.hex }}",
"markup": "#{{ palette.overlay0.hex }}",
"selection": "#{{ palette.surface2.hex }}"
{%- endmacro -%}
{
"dark": {
{{ self::theme(palette=flavor.colors) }}
},
"light": {
{{ self::theme(palette=flavors.latte.colors) }}
}
}