Files
zenbones-theme/lua/zenbones/shipwright/runners/kitty.lua
2021-11-07 08:16:33 +08:00

25 lines
780 B
Lua

---@diagnostic disable: undefined-global
-- selene: allow(undefined_variable)
run(
{ specs, p, term },
transform.colorscheme_to_term_colors,
function(colors)
return vim.tbl_extend("keep", colors, {
name = name,
author = "Michael Chris Lopez",
license = "MIT",
upstream = string.format("https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/%s.conf", name),
url_color = term[13],
tab_active_bg = specs.Search.bg,
tab_active_fg = colors.fg,
tab_inactive_bg = specs.StatusLine.bg,
tab_inactive_fg = colors.fg,
})
end,
contrib.kitty,
{ prepend, "# This file is auto-generated by shipwright.nvim" },
{ overwrite, string.format("extras/kitty/%s.conf", name) }
)
-- selene: deny(undefined_variable)
---@diagnostic enable: undefined-global