@@ -6,7 +6,12 @@ local M = {}
6
6
function M .generate (colors )
7
7
local alacritty = util .template (
8
8
[=[
9
+ # -----------------------------------------------------------------------------
9
10
# TokyoNight Alacritty Colors
11
+ # Theme: ${_style_name}
12
+ # Upstream: ${_upstream_url}
13
+ # -----------------------------------------------------------------------------
14
+
10
15
# Default colors
11
16
[colors.primary]
12
17
background = '${bg}'
@@ -18,25 +23,25 @@ foreground = '${fg}'
18
23
19
24
# Normal colors
20
25
[colors.normal]
21
- black = '${black}'
22
- red = '${red}'
23
- green = '${green}'
24
- yellow = '${yellow}'
25
- blue = '${blue}'
26
- magenta = '${magenta}'
27
- cyan = '${cyan}'
28
- white = '${fg_dark }'
26
+ black = '${terminal. black}'
27
+ red = '${terminal. red}'
28
+ green = '${terminal. green}'
29
+ yellow = '${terminal. yellow}'
30
+ blue = '${terminal. blue}'
31
+ magenta = '${terminal. magenta}'
32
+ cyan = '${terminal. cyan}'
33
+ white = '${terminal.white }'
29
34
30
35
# Bright colors
31
36
[colors.bright]
32
- black = '${terminal_black }'
33
- red = '${red }'
34
- green = '${green }'
35
- yellow = '${yellow }'
36
- blue = '${blue }'
37
- magenta = '${magenta }'
38
- cyan = '${cyan }'
39
- white = '${fg }'
37
+ black = '${terminal.black_bright }'
38
+ red = '${terminal.red_bright }'
39
+ green = '${terminal.green_bright }'
40
+ yellow = '${terminal.yellow_bright }'
41
+ blue = '${terminal.blue_bright }'
42
+ magenta = '${terminal.magenta_bright }'
43
+ cyan = '${terminal.cyan_bright }'
44
+ white = '${terminal.white_bright }'
40
45
41
46
# Indexed Colors
42
47
[[colors.indexed_colors]]
0 commit comments