2023-02-01 19:11:37 +00:00
|
|
|
{
|
|
|
|
onedark = {
|
2023-02-01 21:00:48 +00:00
|
|
|
setup = {style ? "dark"}: ''
|
2023-02-01 19:11:37 +00:00
|
|
|
-- OneDark theme
|
|
|
|
require('onedark').setup {
|
|
|
|
style = "${style}"
|
|
|
|
}
|
|
|
|
require('onedark').load()
|
|
|
|
'';
|
2023-02-01 21:00:48 +00:00
|
|
|
styles = ["dark" "darker" "cool" "deep" "warm" "warmer"];
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
tokyonight = {
|
2023-02-01 21:00:48 +00:00
|
|
|
setup = {style ? "night"}: ''
|
2023-02-01 19:11:37 +00:00
|
|
|
-- need to set style before colorscheme to apply
|
|
|
|
vim.g.tokyonight_style = '${style}'
|
|
|
|
vim.cmd[[colorscheme tokyonight]]
|
|
|
|
'';
|
2023-02-01 21:00:48 +00:00
|
|
|
styles = ["day" "night" "storm"];
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
catppuccin = {
|
2023-02-01 21:00:48 +00:00
|
|
|
setup = {style ? "mocha"}: ''
|
2023-02-01 19:11:37 +00:00
|
|
|
-- Catppuccin theme
|
|
|
|
require('catppuccin').setup {
|
2023-02-01 21:00:48 +00:00
|
|
|
flavour = "${style}",
|
|
|
|
transparent_background = true,
|
|
|
|
integrations = {
|
|
|
|
nvimtree = {
|
|
|
|
enabled = true,
|
|
|
|
transparent_panel = false,
|
|
|
|
show_root = true,
|
|
|
|
},
|
|
|
|
|
|
|
|
hop = true,
|
|
|
|
gitsigns = true,
|
|
|
|
telescope = true,
|
|
|
|
treesitter = true,
|
|
|
|
ts_rainbow = true,
|
|
|
|
},
|
2023-02-01 19:11:37 +00:00
|
|
|
}
|
|
|
|
-- setup must be called before loading
|
|
|
|
vim.cmd.colorscheme "catppuccin"
|
|
|
|
'';
|
2023-02-01 21:00:48 +00:00
|
|
|
styles = ["latte" "frappe" "macchiato" "mocha"];
|
2023-02-01 19:11:37 +00:00
|
|
|
};
|
|
|
|
}
|