mirror of
https://github.com/craftzdog/solarized-osaka.nvim.git
synced 2026-09-10 07:16:21 -04:00
39 lines
818 B
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
|