feat: added wezterm color schemes
This commit is contained in:
29
lua/tokyonight/extra/wezterm.lua
Normal file
29
lua/tokyonight/extra/wezterm.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
local util = require("tokyonight.util")
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.wezterm(config)
|
||||
config = config or require("tokyonight.config")
|
||||
config.transform_colors = true
|
||||
local colors = require("tokyonight.colors").setup(config)
|
||||
|
||||
local kitty = util.template(
|
||||
[[
|
||||
[colors]
|
||||
foreground = "${fg}"
|
||||
background = "${bg}"
|
||||
cursor_bg = "${fg}"
|
||||
cursor_border = "${fg}"
|
||||
cursor_fg = "${bg}"
|
||||
selection_bg = "${bg_visual}"
|
||||
selection_fg = "${fg}"
|
||||
|
||||
ansi = ["${black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg_dark}"]
|
||||
brights = ["${terminal_black}", "${red}", "${green}", "${yellow}", "${blue}", "${magenta}", "${cyan}", "${fg}"]
|
||||
]],
|
||||
colors
|
||||
)
|
||||
return kitty
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user