-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlazygit.tera
43 lines (40 loc) · 974 Bytes
/
lazygit.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
36
37
38
39
40
41
42
43
---
whiskers:
version: 2.5.1
matrix:
- variant: ["themes", "themes-mergable"]
- flavor
- accent
filename: "{{variant}}/{{flavor.identifier}}/{{accent}}.yml"
---
{%- macro theme() %}
{%- set palette = flavor.colors -%}
theme:
activeBorderColor:
- '#{{ palette[accent].hex }}'
- bold
inactiveBorderColor:
- '#{{ palette.subtext0.hex }}'
optionsTextColor:
- '#{{ palette.blue.hex }}'
selectedLineBgColor:
- '#{{ palette.surface0.hex }}'
cherryPickedCommitBgColor:
- '#{{ palette.surface1.hex }}'
cherryPickedCommitFgColor:
- '#{{ palette[accent].hex }}'
unstagedChangesColor:
- '#{{ palette.red.hex }}'
defaultFgColor:
- '#{{ palette.text.hex }}'
searchingActiveBorderColor:
- '#{{ palette.yellow.hex }}'
authorColors:
'*': '#{{ palette.lavender.hex }}'
{%- endmacro %}
{%- if variant == "themes" -%}
{{ self::theme() }}
{%- else -%}
gui:
{{ self::theme() | indent(prefix=" ") }}
{%- endif %}