First stab at converting to farout palette
Also renamed all/most instances of tokyonight to farout
This commit is contained in:
19
lua/farout/extra/terminator.lua
Normal file
19
lua/farout/extra/terminator.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
local util = require("farout.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