-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
tty.tera
35 lines (33 loc) · 1.38 KB
/
tty.tera
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
32
33
34
35
---
whiskers:
version: "2.0.0"
---
{%- macro rgb_str(rgb) -%}{{rgb.rgb.r}},{{rgb.rgb.g}},{{rgb.rgb.b}}{%- endmacro rgb_str -%}
#!/bin/bash
rosewater={{ self::rgb_str(rgb=rosewater) }}
flamingo={{ self::rgb_str(rgb=flamingo) }}
pink={{ self::rgb_str(rgb=pink) }}
mauve={{ self::rgb_str(rgb=mauve) }}
red={{ self::rgb_str(rgb=red) }}
maroon={{ self::rgb_str(rgb=maroon) }}
peach={{ self::rgb_str(rgb=peach) }}
yellow={{ self::rgb_str(rgb=yellow) }}
green={{ self::rgb_str(rgb=green) }}
teal={{ self::rgb_str(rgb=teal) }}
sky={{ self::rgb_str(rgb=sky) }}
sapphire={{ self::rgb_str(rgb=sapphire) }}
blue={{ self::rgb_str(rgb=blue) }}
lavender={{ self::rgb_str(rgb=lavender) }}
text={{ self::rgb_str(rgb=text) }}
subtext1={{ self::rgb_str(rgb=subtext1) }}
subtext0={{ self::rgb_str(rgb=subtext0) }}
overlay2={{ self::rgb_str(rgb=overlay2) }}
overlay1={{ self::rgb_str(rgb=overlay1) }}
overlay0={{ self::rgb_str(rgb=overlay0) }}
surface2={{ self::rgb_str(rgb=surface2) }}
surface1={{ self::rgb_str(rgb=surface1) }}
surface0={{ self::rgb_str(rgb=surface0) }}
base={{ self::rgb_str(rgb=base) }}
mantle={{ self::rgb_str(rgb=mantle) }}
crust={{ self::rgb_str(rgb=crust) }}
colors=("$base" "$red" "$green" "$yellow" "$blue" "$pink" "$teal" "${{ if(cond=flavor.dark, t="subtext1", f="subtext0") }}" "$surface2" "$red" "$green" "$yellow" "$blue" "$pink" "$teal" "${{ if(cond=flavor.dark, t="subtext0", f="text") }}")