25 lines
586 B
Lua
25 lines
586 B
Lua
local colors = require('user.themes.' .. vim.g.colors_name .. '.colors')
|
|
|
|
--- Get Carbon theme name from the current Neovim theme
|
|
---@param name string
|
|
local function get_theme(name)
|
|
if name == 'nord' then
|
|
return 'Nord'
|
|
elseif name == 'onedark' then
|
|
return 'One Dark'
|
|
end
|
|
return 'VSCode'
|
|
end
|
|
|
|
return {
|
|
options = {
|
|
theme = get_theme(vim.g.colors_name),
|
|
bg = colors.blue,
|
|
window_theme = 'none',
|
|
font_family = 'Cascadia Code',
|
|
watermark = false,
|
|
drop_shadow = true,
|
|
line_numbers = false,
|
|
},
|
|
}
|