mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
Lua
44 lines
1.1 KiB
Lua
local good, color_scheme = require("catppuccino.core.cs").get_color_scheme(require("catppuccino.config").options["colorscheme"])
|
|
|
|
if not good then
|
|
print(color_scheme) -- error message
|
|
return
|
|
end
|
|
|
|
local cpt = color_scheme
|
|
local catppuccino = {}
|
|
|
|
catppuccino.normal = {
|
|
a = {bg = cpt.blue, fg = cpt.black},
|
|
b = {bg = cpt.fg_gutter, fg = cpt.blue},
|
|
c = {bg = cpt.bg_statusline, fg = cpt.fg_sidebar}
|
|
}
|
|
|
|
catppuccino.insert = {
|
|
a = {bg = cpt.green, fg = cpt.black},
|
|
b = {bg = cpt.fg_gutter, fg = cpt.green}
|
|
}
|
|
|
|
catppuccino.command = {
|
|
a = {bg = cpt.orange, fg = cpt.black},
|
|
b = {bg = cpt.fg_gutter, fg = cpt.orange}
|
|
}
|
|
|
|
catppuccino.visual = {
|
|
a = {bg = cpt.magenta, fg = cpt.black},
|
|
b = {bg = cpt.fg_gutter, fg = cpt.magenta}
|
|
}
|
|
|
|
catppuccino.replace = {
|
|
a = {bg = cpt.red_bg, fg = cpt.black},
|
|
b = {bg = cpt.fg_gutter, fg = cpt.red_bg}
|
|
}
|
|
|
|
catppuccino.inactive = {
|
|
a = {bg = cpt.bg_statusline, fg = cpt.blue},
|
|
b = {bg = cpt.bg_statusline, fg = cpt.fg_gutter, gui = "bold"},
|
|
c = {bg = cpt.bg_statusline, fg = cpt.fg_gutter}
|
|
}
|
|
|
|
return catppuccino
|