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

View File

@@ -14,38 +14,42 @@ cursor_border = "${fg}"
cursor_fg = "${bg}"
selection_bg = "${bg_visual}"
selection_fg = "${fg}"
split = "${blue}"
compose_cursor = "${orange}"
ansi = ["${black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg_dark}"]
brights = ["${terminal_black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg}"]
[colors.tab_bar]
inactive_tab_edge = "${bg_dark}"
background = "#191b28"
background = "${bg}"
[colors.tab_bar.active_tab]
fg_color = "${blue}"
bg_color = "${bg}"
[colors.tab_bar.inactive_tab]
bg_color = "${bg_dark}"
fg_color = "${dark3}"
[colors.tab_bar.inactive_tab_hover]
bg_color = "${bg_dark}"
fg_color = "${blue}"
[colors.tab_bar.new_tab_hover]
fg_color = "${bg_dark}"
bg_color = "${blue}"
[colors.tab_bar.inactive_tab]
fg_color = "${dark3}"
bg_color = "${bg_highlight}"
[colors.tab_bar.inactive_tab_hover]
fg_color = "${blue}"
bg_color = "${bg_highlight}"
# intensity = "Bold"
[colors.tab_bar.new_tab_hover]
fg_color = "${blue}"
bg_color = "${bg}"
intensity = "Bold"
[colors.tab_bar.new_tab]
fg_color = "${blue}"
bg_color = "#191b28"
bg_color = "${bg}"
[metadata]
aliases = []
author = "folke"
name = "${_style_name}"]],
name = "${_name}"]],
colors
)
return wezterm