2021-07-21 20:55:33 +00:00
|
|
|
local util = require("tokyonight.util")
|
|
|
|
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
-- @param colors ColorScheme
|
|
|
|
function M.generate(colors)
|
2022-09-05 10:06:20 +00:00
|
|
|
local xfceterm = util.template(
|
|
|
|
[[
|
2021-07-21 20:55:33 +00:00
|
|
|
[Scheme]
|
|
|
|
Name=TokyoNight Colors
|
|
|
|
ColorBackground=${bg}
|
|
|
|
ColorForeground=${fg}
|
|
|
|
|
|
|
|
ColorSelectionBackground=${bg_visual}
|
|
|
|
ColorSelection=${fg}
|
|
|
|
|
|
|
|
ColorPalette=${black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg_dark};${terminal_black};${red};${green};${yellow};${blue};${magenta};${cyan};${fg}
|
|
|
|
]],
|
2022-09-05 10:06:20 +00:00
|
|
|
colors
|
|
|
|
)
|
|
|
|
return xfceterm
|
2021-07-21 20:55:33 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|