File tree 9 files changed +182
-0
lines changed
9 files changed +182
-0
lines changed Original file line number Diff line number Diff line change
1
+ scheme : " carbonfox"
2
+ author : " EdenEast"
3
+ base00 : " 161616"
4
+ base01 : " 252525"
5
+ base02 : " 353535"
6
+ base03 : " 484848"
7
+ base04 : " 7b7c7e"
8
+ base05 : " f2f4f8"
9
+ base06 : " b6b8bb"
10
+ base07 : " e4e4e5"
11
+ base08 : " ee5396"
12
+ base09 : " 3ddbd9"
13
+ base0A : " 08bdba"
14
+ base0B : " 25be6a"
15
+ base0C : " 33b1ff"
16
+ base0D : " 78a9ff"
17
+ base0E : " be95ff"
18
+ base0F : " ff7eb6"
Original file line number Diff line number Diff line change
1
+ scheme : " dawnfox"
2
+ author : " EdenEast"
3
+ base00 : " faf4ed"
4
+ base01 : " ebe0df"
5
+ base02 : " ebdfe4"
6
+ base03 : " 5f5695"
7
+ base04 : " a8a3b3"
8
+ base05 : " 575279"
9
+ base06 : " 625c87"
10
+ base07 : " e6ebf3"
11
+ base08 : " b4637a"
12
+ base09 : " d7827e"
13
+ base0A : " ea9d34"
14
+ base0B : " 618774"
15
+ base0C : " 56949f"
16
+ base0D : " 286983"
17
+ base0E : " 907aa9"
18
+ base0F : " d685af"
Original file line number Diff line number Diff line change
1
+ scheme : " dayfox"
2
+ author : " EdenEast"
3
+ base00 : " f6f2ee"
4
+ base01 : " dbd1dd"
5
+ base02 : " d3c7bb"
6
+ base03 : " 534c45"
7
+ base04 : " 824d5b"
8
+ base05 : " 3d2b5a"
9
+ base06 : " 643f61"
10
+ base07 : " f4ece6"
11
+ base08 : " a5222f"
12
+ base09 : " 955f61"
13
+ base0A : " ac5402"
14
+ base0B : " 396847"
15
+ base0C : " 287980"
16
+ base0D : " 2848a9"
17
+ base0E : " 6e33ce"
18
+ base0F : " a440b5"
Original file line number Diff line number Diff line change
1
+ scheme : " duskfox"
2
+ author : " EdenEast"
3
+ base00 : " 232136"
4
+ base01 : " 2d2a45"
5
+ base02 : " 373354"
6
+ base03 : " 47407d"
7
+ base04 : " 6e6a86"
8
+ base05 : " e0def4"
9
+ base06 : " cdcbe0"
10
+ base07 : " e2e0f7"
11
+ base08 : " eb6f92"
12
+ base09 : " ea9a97"
13
+ base0A : " f6c177"
14
+ base0B : " a3be8c"
15
+ base0C : " 9ccfd8"
16
+ base0D : " 569fba"
17
+ base0E : " c4a7e7"
18
+ base0F : " eb98c3"
Original file line number Diff line number Diff line change
1
+ scheme : " nightfox"
2
+ author : " EdenEast"
3
+ base00 : " 192330"
4
+ base01 : " 212e3f"
5
+ base02 : " 29394f"
6
+ base03 : " 575860"
7
+ base04 : " 71839b"
8
+ base05 : " cdcecf"
9
+ base06 : " aeafb0"
10
+ base07 : " e4e4e5"
11
+ base08 : " c94f6d"
12
+ base09 : " f4a261"
13
+ base0A : " dbc074"
14
+ base0B : " 81b29a"
15
+ base0C : " 63cdcf"
16
+ base0D : " 719cd6"
17
+ base0E : " 9d79d6"
18
+ base0F : " d67ad2"
Original file line number Diff line number Diff line change
1
+ scheme : " nordfox"
2
+ author : " EdenEast"
3
+ base00 : " 2e3440"
4
+ base01 : " 39404f"
5
+ base02 : " 444c5e"
6
+ base03 : " 465780"
7
+ base04 : " 7e8188"
8
+ base05 : " cdcecf"
9
+ base06 : " abb1bb"
10
+ base07 : " e7ecf4"
11
+ base08 : " bf616a"
12
+ base09 : " c9826b"
13
+ base0A : " ebcb8b"
14
+ base0B : " a3be8c"
15
+ base0C : " 88c0d0"
16
+ base0D : " 81a1c1"
17
+ base0E : " b48ead"
18
+ base0F : " bf88bc"
Original file line number Diff line number Diff line change
1
+ scheme : " terafox"
2
+ author : " EdenEast"
3
+ base00 : " 152528"
4
+ base01 : " 1d3337"
5
+ base02 : " 254147"
6
+ base03 : " 4e5157"
7
+ base04 : " 587b7b"
8
+ base05 : " e6eaea"
9
+ base06 : " cbd9d8"
10
+ base07 : " eeeeee"
11
+ base08 : " e85c51"
12
+ base09 : " ff8349"
13
+ base0A : " fda47f"
14
+ base0B : " 7aa4a1"
15
+ base0C : " a1cdd8"
16
+ base0D : " 5a93aa"
17
+ base0E : " ad5c7c"
18
+ base0F : " cb7985"
Original file line number Diff line number Diff line change
1
+ local template = require (" nightfox.util.template" )
2
+
3
+ local M = {}
4
+
5
+ local function conv (color )
6
+ return color :gsub (" ^#" , " " )
7
+ end
8
+
9
+ function M .generate (spec )
10
+ -- Remove '#' from color
11
+ local p = spec .palette
12
+ local colors = {
13
+ meta = p .meta ,
14
+ black = conv (spec .bg1 ),
15
+ bg2 = conv (spec .bg2 ),
16
+ bg3 = conv (spec .bg3 ),
17
+ white = conv (spec .fg1 ),
18
+ fg2 = conv (spec .fg2 ),
19
+ fg3 = conv (spec .fg3 ),
20
+ bright_black = conv (p .black .bright ),
21
+ red = conv (p .red .base ),
22
+ green = conv (p .green .base ),
23
+ yellow = conv (p .yellow .base ),
24
+ blue = conv (p .blue .base ),
25
+ magenta = conv (p .magenta .base ),
26
+ cyan = conv (p .cyan .base ),
27
+ bright_white = conv (p .white .bright ),
28
+ orange = conv (p .orange .base ),
29
+ pink = conv (p .pink .base ),
30
+ }
31
+ local content = [[
32
+ scheme: "${meta.name}"
33
+ author: "EdenEast"
34
+ base00: "${black}"
35
+ base01: "${bg2}"
36
+ base02: "${bg3}"
37
+ base03: "${bright_black}"
38
+ base04: "${fg3}"
39
+ base05: "${white}"
40
+ base06: "${fg2}"
41
+ base07: "${bright_white}"
42
+ base08: "${red}"
43
+ base09: "${orange}"
44
+ base0A: "${yellow}"
45
+ base0B: "${green}"
46
+ base0C: "${cyan}"
47
+ base0D: "${blue}"
48
+ base0E: "${magenta}"
49
+ base0F: "${pink}"
50
+ ]]
51
+
52
+ return template .parse_template_str (content , colors )
53
+ end
54
+
55
+ return M
Original file line number Diff line number Diff line change 17
17
18
18
local extras = {
19
19
alacritty = " yml" ,
20
+ base16 = " yaml" ,
20
21
fish = " fish" ,
21
22
iterm = " itermcolors" ,
22
23
kitty = " conf" ,
You can’t perform that action at this time.
0 commit comments