farout.nvim/lua/farout/extra/tilix.lua
Tyler Hallada 1752319cc5 First stab at converting to farout palette
Also renamed all/most instances of tokyonight to farout
2023-12-01 15:30:50 -05:00

41 lines
695 B
Lua

local util = require("farout.util")
local M = {}
--- @param colors ColorScheme
function M.generate(colors)
local tilix = util.template(
[[
{
"name": "${_style_name}",
"comment": "",
"use-theme-colors": false,
"foreground-color": "${fg}",
"background-color": "${bg}",
"palette": [
"${black}",
"${red}",
"${green}",
"${yellow}",
"${blue}",
"${magenta}",
"${cyan}",
"${fg_dark}",
"${terminal_black}",
"${red}",
"${green}",
"${yellow}",
"${blue}",
"${magenta}",
"${cyan}",
"${fg}"
]
}
]],
colors
)
return tilix
end
return M