feat: better wezterm theme

This commit is contained in:
Folke Lemaitre
2023-10-14 18:26:12 +02:00
parent dce0ab49ae
commit 99e9b2cb3a
10 changed files with 101 additions and 76 deletions

View File

@@ -84,11 +84,12 @@ function M.setup()
for style, style_name in pairs(styles) do
tokyonight.setup({ style = style })
tokyonight.load({ style = style })
vim.cmd.colorscheme('tokyonight-' .. style)
vim.cmd.colorscheme("tokyonight-" .. style)
local colors = require("tokyonight.colors").setup({ transform = true })
local fname = extra .. "/tokyonight_" .. style .. "." .. info.ext
colors["_upstream_url"] = "https://github.com/folke/tokyonight.nvim/raw/main/extras/" .. fname
colors["_style_name"] = "Tokyo Night" .. style_name
colors["_name"] = "tokyonight_" .. style
write(plugin.generate(colors), fname)
end
end