feat: Add themes for terminator terminal (#264)
This commit is contained in:
@@ -27,6 +27,7 @@ function M.setup()
|
||||
lua = "lua",
|
||||
sublime = "tmTheme",
|
||||
delta = "gitconfig",
|
||||
terminator = "conf",
|
||||
}
|
||||
-- map of style to style name
|
||||
local styles = {
|
||||
|
||||
19
lua/tokyonight/extra/terminator.lua
Normal file
19
lua/tokyonight/extra/terminator.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
local util = require("tokyonight.util")
|
||||
|
||||
local M = {}
|
||||
|
||||
--- @param colors ColorScheme
|
||||
function M.generate(colors)
|
||||
local terminator = util.template(
|
||||
[=[
|
||||
[[${_style_name}]]
|
||||
palette = "${black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${fg_dark}:${terminal_black}:${red}:${green}:${yellow}:${blue}:${magenta}:${cyan}:${purple}"
|
||||
background_color = "${bg}"
|
||||
foreground_color = "${fg}"
|
||||
]=],
|
||||
colors
|
||||
)
|
||||
return terminator
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user