Skip to content

Commit ade0b60

Browse files
authored
feat(palette): add back old astrolight as astromars-light (#112)
1 parent dffc812 commit ade0b60

File tree

3 files changed

+129
-0
lines changed

3 files changed

+129
-0
lines changed

colors/astromars-light.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require("astrotheme").load "astromars_light"

lua/astrotheme/lib/config.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,14 @@ M.default = {
3333
astrodark = {},
3434
astrolight = {},
3535
astromars = {},
36+
astromars_light = {},
3637
},
3738
highlights = {
3839
global = {},
3940
astrodark = {},
4041
astrolight = {},
4142
astromars = {},
43+
astromars_light = {},
4244
},
4345
plugin_default = "auto",
4446
plugins = {},
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
---@class AstroThemePalette
2+
local c = {
3+
none = "NONE",
4+
syntax = {},
5+
ui = {},
6+
term = {},
7+
}
8+
9+
--------------------------------
10+
--- Syntax
11+
--------------------------------
12+
c.syntax.red = "#A13F37"
13+
c.syntax.blue = "#006E89"
14+
c.syntax.green = "#467118"
15+
c.syntax.yellow = "#805C00"
16+
c.syntax.purple = "#90437A"
17+
c.syntax.cyan = "#007652"
18+
c.syntax.orange = "#954D00"
19+
20+
c.syntax.comment = "#937C7A"
21+
c.syntax.text = "#815654"
22+
23+
--------------------------------
24+
--- UI
25+
--------------------------------
26+
c.ui.red = "#D04F4E"
27+
c.ui.blue = "#0090A2"
28+
c.ui.green = "#569400"
29+
c.ui.yellow = "#AC7300"
30+
c.ui.purple = "#BD51A4"
31+
c.ui.cyan = "#00976C"
32+
c.ui.orange = "#D05312"
33+
34+
c.ui.accent = "#D04F4E"
35+
36+
c.ui.tabline = "#D8D6D5"
37+
c.ui.winbar = "#926461"
38+
c.ui.tool = "#F9DCD1"
39+
c.ui.base = "#FEEEEE"
40+
c.ui.inactive_base = "#F9DCD1"
41+
c.ui.statusline = "#D8D6D5"
42+
c.ui.split = "#D8D6D5"
43+
c.ui.float = "#F9DCD1"
44+
c.ui.title = c.ui.accent
45+
c.ui.border = c.ui.accent
46+
c.ui.current_line = "#F6DDD8"
47+
c.ui.scrollbar = c.ui.accent
48+
c.ui.selection = "#BBC9D7"
49+
-- TODO: combine menu_selection and selection
50+
c.ui.menu_selection = c.ui.selection
51+
c.ui.highlight = "#E7CFCA"
52+
c.ui.none_text = "#D0B6B6"
53+
c.ui.text = "#9E7876"
54+
c.ui.text_active = "#815654"
55+
c.ui.text_inactive = "#937C7A"
56+
c.ui.text_match = c.ui.accent
57+
58+
c.ui.prompt = "#D8D6D5"
59+
60+
--------------------------------
61+
--- terminal
62+
--------------------------------
63+
c.term.black = c.ui.tabline
64+
c.term.bright_black = c.ui.base
65+
66+
c.term.red = c.syntax.red
67+
c.term.bright_red = c.syntax.red
68+
69+
c.term.green = c.syntax.green
70+
c.term.bright_green = c.syntax.green
71+
72+
c.term.yellow = c.syntax.yellow
73+
c.term.bright_yellow = c.syntax.yellow
74+
75+
c.term.blue = c.syntax.blue
76+
c.term.bright_blue = c.syntax.blue
77+
78+
c.term.purple = c.syntax.purple
79+
c.term.bright_purple = c.syntax.purple
80+
81+
c.term.cyan = c.syntax.cyan
82+
c.term.bright_cyan = c.syntax.cyan
83+
84+
c.term.white = c.ui.text
85+
c.term.bright_white = c.ui.text
86+
87+
c.term.background = c.ui.base
88+
c.term.foreground = c.ui.text
89+
90+
--------------------------------
91+
--- Icons
92+
--------------------------------
93+
c.icon = {
94+
c = "#519aba",
95+
css = "#61afef",
96+
deb = "#a1b7ee",
97+
docker = "#384d54",
98+
html = "#de8c92",
99+
jpeg = "#c882e7",
100+
jpg = "#c882e7",
101+
js = "#ebcb8b",
102+
jsx = "#519ab8",
103+
kt = "#7bc99c",
104+
lock = "#c4c720",
105+
lua = "#51a0cf",
106+
mp3 = "#d39ede",
107+
mp4 = "#9ea3de",
108+
out = "#abb2bf",
109+
png = "#c882e7",
110+
py = "#a3b8ef",
111+
rb = "#ff75a0",
112+
robots = "#abb2bf",
113+
rpm = "#fca2aa",
114+
rs = "#dea584",
115+
toml = "#39bf39",
116+
ts = "#519aba",
117+
ttf = "#abb2bf",
118+
vue = "#7bc99c",
119+
woff = "#abb2bf",
120+
woff2 = "#abb2bf",
121+
zip = "#f9d71c",
122+
md = "#519aba",
123+
pkg = "#d39ede",
124+
}
125+
126+
return c

0 commit comments

Comments
 (0)