farout.nvim/lua/tokyonight/extra/wezterm.lua

51 lines
1.0 KiB
Lua
Raw Normal View History

2021-05-21 12:51:45 +00:00
local util = require("tokyonight.util")
local M = {}
--- @param colors ColorScheme
function M.generate(colors)
2021-05-21 12:51:45 +00:00
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.tab_bar]
inactive_tab_edge = "${bg_dark}"
background = "#191b28"
[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.new_tab]
fg_color = "${blue}"
bg_color = "#191b28"
]],
2021-05-21 12:51:45 +00:00
colors
)
return kitty
end
return M