craftzdog.solarized-osaka.nvim/lua/solarized-osaka/extra/zellij.lua

39 lines
818 B
Lua

local util = require("solarized-osaka.util")
local M = {}
--- @param colors ColorScheme
function M.generate(colors)
local zellij = util.template(
[=[
// Tokyonight Zellij Colors
// Add this file to your `CONFIG_DIR/themes` directory as described here:
// https://zellij.dev/documentation/themes#getting-zellij-to-pick-up-the-theme
themes {
${_name} {
fg "${fg}"
bg "${bg_highlight}"
// Black should match the terminal background color
// This ensures the top and bottom bars are transparent
black "${bg}"
red "${red}"
green "${green}"
yellow "${yellow}"
blue "${blue}"
magenta "${magenta}"
cyan "${cyan}"
white "${base0}"
orange "${orange}"
}
}
]=],
colors
)
return zellij
end
return M