-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathfish.tera
More file actions
52 lines (48 loc) · 1.82 KB
/
fish.tera
File metadata and controls
52 lines (48 loc) · 1.82 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
whiskers:
version: "^2.6.0"
matrix:
- flavor
- mode: [dynamic, static]
filename: "themes/{% if mode == 'static' %}static/{% endif %}catppuccin-{{ flavor.identifier }}.theme"
skip_if: "{{ mode == 'dynamic' and flavor.light }}"
---
{%- macro theme(name, palette) -%}
# preferred_background: {{ palette.base.hex }}
fish_color_normal {{ palette.text.hex }}
fish_color_command {{ palette.blue.hex }}
fish_color_param {{ palette.flamingo.hex }}
fish_color_keyword {{ palette.mauve.hex }}
fish_color_quote {{ palette.green.hex }}
fish_color_redirection {{ palette.pink.hex }}
fish_color_end {{ palette.peach.hex }}
fish_color_comment {{ palette.overlay1.hex }}
fish_color_error {{ palette.red.hex }}
fish_color_gray {{ palette.overlay0.hex }}
fish_color_selection --background={{ palette.surface0.hex }}
fish_color_search_match --background={{ palette.surface0.hex }}
fish_color_option {{ palette.green.hex }}
fish_color_operator {{ palette.pink.hex }}
fish_color_escape {{ palette.maroon.hex }}
fish_color_autosuggestion {{ palette.overlay0.hex }}
fish_color_cancel {{ palette.red.hex }}
fish_color_cwd {{ palette.yellow.hex }}
fish_color_user {{ palette.teal.hex }}
fish_color_host {{ palette.blue.hex }}
fish_color_host_remote {{ palette.green.hex }}
fish_color_status {{ palette.red.hex }}
fish_pager_color_progress {{ palette.overlay0.hex }}
fish_pager_color_prefix {{ palette.pink.hex }}
fish_pager_color_completion {{ palette.text.hex }}
fish_pager_color_description {{ palette.overlay0.hex }}
{%- endmacro -%}
# name: 'Catppuccin {{ flavor.name }}'
# url: 'https://github.com/catppuccin/fish'
{% if mode == "dynamic" -%}
[light]
{{ self::theme(name="Latte", palette=flavors.latte.colors) }}
[dark]
{{ self::theme(name=flavor.name, palette=flavor.colors) }}
[unknown]
{% endif -%}
{{ self::theme(name=flavor.name, palette=flavor.colors) }}