Skip to content

Commit 0e7f5e2

Browse files
committed
fix(extras): improve palette style names
1 parent 1d3bd42 commit 0e7f5e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/astrotheme/extras/init.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ function M.setup()
3838

3939
-- map of style to style name
4040
local palettes = {
41-
astrodark = "Dark",
42-
astrolight = "Light",
43-
astromars = "Mars",
44-
astrojupiter = "Jupiter",
41+
astrodark = "AstroDark",
42+
astrolight = "AstroLight",
43+
astromars = "AstroMars",
44+
astrojupiter = "AstroJupiter",
4545
}
4646

4747
---@type string[]
@@ -58,7 +58,7 @@ function M.setup()
5858
local highlights = util.get_highlights(colors, config)
5959
local fname = extra .. (info.subdir and "/" .. info.subdir or "") .. "/" .. palette .. "." .. info.ext
6060
colors["_upstream_url"] = "https://github.com/AstroNvim/astrotheme/raw/main/extras/" .. fname
61-
colors["_style_name"] = "AstroTheme " .. palette_name
61+
colors["_style_name"] = palette_name
6262
colors["_style"] = palette
6363
print("[write] " .. fname)
6464
M.write("extras/" .. fname, plugin.generate(colors, highlights, config))

0 commit comments

Comments
 (0)