-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiterm.tera
More file actions
79 lines (79 loc) · 2.32 KB
/
iterm.tera
File metadata and controls
79 lines (79 loc) · 2.32 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
whiskers:
version: ^2.0.0
matrix:
- flavor
- accent
filename: "themes/evergarden-{{flavor.identifier}}-{{accent}}.itermcolors"
---
{% set accent = flavor.colors[accent] -%}
{% macro rgbify(color) -%}
<dict>
<key>Red Component</key>
<string>{{color.rgb.r / 255}}</string>
<key>Green Component</key>
<string>{{color.rgb.g / 255}}</string>
<key>Blue Component</key>
<string>{{color.rgb.b / 255}}</string>
<key>Alpha Component</key>
<integer>1</integer>
<key>Color Space</key>
<string>sRGB</string>
</dict>
{%- endmacro %}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Selected Text Color</key>
{{self::rgbify(color=text)}}
<key>Selection Color</key>
{{self::rgbify(color=surface1)}}
<key>Cursor Guide Color</key>
{{self::rgbify(color=overlay0)}}
<key>Cursor Text Color</key>
{{self::rgbify(color=crust)}}
<key>Cursor Color</key>
{{self::rgbify(color=accent)}}
<key>Bold Color</key>
{{self::rgbify(color=text)}}
<key>Link Color</key>
{{self::rgbify(color=blue)}}
<key>Foreground Color</key>
{{self::rgbify(color=text)}}
<key>Background Color</key>
{{self::rgbify(color=base)}}
<key>Ansi 0 Color</key>
{{self::rgbify(color=base)}}
<key>Ansi 1 Color</key>
{{self::rgbify(color=red)}}
<key>Ansi 2 Color</key>
{{self::rgbify(color=green)}}
<key>Ansi 3 Color</key>
{{self::rgbify(color=yellow)}}
<key>Ansi 4 Color</key>
{{self::rgbify(color=blue)}}
<key>Ansi 5 Color</key>
{{self::rgbify(color=pink)}}
<key>Ansi 6 Color</key>
{{self::rgbify(color=aqua)}}
<key>Ansi 7 Color</key>
{{self::rgbify(color=text)}}
<key>Ansi 8 Color</key>
{{self::rgbify(color=surface0)}}
<key>Ansi 9 Color</key>
{{self::rgbify(color=red)}}
<key>Ansi 10 Color</key>
{{self::rgbify(color=green)}}
<key>Ansi 11 Color</key>
{{self::rgbify(color=yellow)}}
<key>Ansi 12 Color</key>
{{self::rgbify(color=blue)}}
<key>Ansi 13 Color</key>
{{self::rgbify(color=pink)}}
<key>Ansi 14 Color</key>
{{self::rgbify(color=aqua)}}
<key>Ansi 15 Color</key>
{{self::rgbify(color=subtext0)}}
</dict>
</plist>