farout.nvim/lua/tokyonight/extra/xresources.lua

39 lines
571 B
Lua
Raw Normal View History

2021-07-06 14:40:18 +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 xr = util.template(
[[
2021-07-06 14:40:18 +00:00
! TokyoNight colors for Xresources
*background: ${bg}
*foreground: ${fg}
*color0: ${black}
*color1: ${red}
*color2: ${green}
*color3: ${yellow}
*color4: ${blue}
*color5: ${magenta}
*color6: ${cyan}
*color7: ${fg_dark}
*color8: ${terminal_black}
*color9: ${red}
*color10: ${green}
*color11: ${yellow}
*color12: ${blue}
*color13: ${magenta}
*color14: ${cyan}
*color15: ${fg}
]],
2022-09-05 10:06:20 +00:00
colors
)
return xr
2021-07-06 14:40:18 +00:00
end
return M