linux-config/files/dotfiles/nvim/lua/user/vars.lua
Sagi Dayan 26e5b1ea42
Major update - move to symlinks for some dotfiles.
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2024-03-27 14:09:11 +02:00

37 lines
782 B
Lua

local M = {}
M.colorscheme = 'catppuccin'
M.transparent_bg = false
M.themes = {
gruvbox = {
colorscheme = 'gruvbox',
lualine_theme = 'gruvbox',
},
melange = {
colorscheme = 'melange',
lualine_theme = 'OceanicNext',
},
nightfox = {
colorscheme = 'nightfox',
lualine_theme = 'nightfox'
},
catppuccin = {
colorscheme = 'catppuccin-mocha',
lualine_theme = 'catppuccin'
}
}
-- Gruvbox
local st_ok, palette = pcall(require, M.colorscheme .. '.palette')
if st_ok then
M.themes.gruvbox.highlight_bg_color = palette.gray
end
-- melange
st_ok, palette = pcall(require, M.colorscheme .. '.palettes.dark')
if st_ok then
M.themes.melange.highlight_bg_color = palette.a.sel
end
return M