Skip to content

Commit 9f1db05

Browse files
committed
fix(extras): fix style name
1 parent 6bdac76 commit 9f1db05

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

extras/wezterm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
```lua
77
return {
8-
color_scheme = "astrotheme_astrodark", -- or whichever palette you want
8+
color_scheme = "astrodark", -- or whichever palette you want
99
}
1010
```

lua/astrotheme/extras/init.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ function M.setup()
4040
local fname = extra .. (info.subdir and "/" .. info.subdir or "") .. "/" .. palette .. "." .. info.ext
4141
colors["_upstream_url"] = "https://github.com/AstroNvim/astrotheme/raw/main/extras/" .. fname
4242
colors["_style_name"] = "AstroTheme " .. palette_name
43-
colors["_name"] = "astrotheme_" .. palette
4443
colors["_style"] = palette
4544
print("[write] " .. fname)
4645
M.write("extras/" .. fname, plugin.generate(colors, highlights, config))

lua/astrotheme/extras/wezterm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ bg_color = "${ui.base}"
4949
[metadata]
5050
aliases = []
5151
author = "AstroNvim"
52-
name = "${_name}"]],
52+
name = "${_style}"]],
5353
colors
5454
)
5555
end

lua/astrotheme/types.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
---@field ui AstroThemePaletteUI? Colors that are used throughout the general user interface
7676
---@field _upstream_url string?
7777
---@field _style_name string?
78-
---@field _name string?
7978
---@field _style string?
8079

8180
---@class AstroThemeHighlightOpts

0 commit comments

Comments
 (0)