mirror of https://github.com/sgoudham/nvim.git
fix: lualine integration
parent
07cc2a4ccf
commit
8956167756
@ -1,44 +0,0 @@
|
||||
local err, color_scheme = require("catppuccino.core.cs").get_color_scheme(
|
||||
require("catppuccino.config").options["colorscheme"]
|
||||
)
|
||||
|
||||
if not err.status then
|
||||
vim.api.nvim_err_writeln(err.msg)
|
||||
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_br, fg = cpt.black },
|
||||
b = { bg = cpt.fg_gutter, fg = cpt.red_br },
|
||||
}
|
||||
|
||||
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
|
@ -0,0 +1,36 @@
|
||||
local cp = require("katppuccino.core.color_palette")
|
||||
local katppuccino = {}
|
||||
|
||||
katppuccino.normal = {
|
||||
a = { bg = cp.katppuccino9, fg = cp.katppuccino14 },
|
||||
b = { bg = cp.katppuccino12, fg = cp.katppuccino9 },
|
||||
c = { bg = cp.katppuccino14, fg = cp.katppuccino13 },
|
||||
}
|
||||
|
||||
katppuccino.insert = {
|
||||
a = { bg = cp.katppuccino7, fg = cp.katppuccino14 },
|
||||
b = { bg = cp.katppuccino12, fg = cp.katppuccino7 },
|
||||
}
|
||||
|
||||
katppuccino.command = {
|
||||
a = { bg = cp.katppuccino6, fg = cp.katppuccino14 },
|
||||
b = { bg = cp.katppuccino12, fg = cp.katppuccino6 },
|
||||
}
|
||||
|
||||
katppuccino.visual = {
|
||||
a = { bg = cp.katppuccino3, fg = cp.katppuccino14 },
|
||||
b = { bg = cp.katppuccino12, fg = cp.katppuccino3 },
|
||||
}
|
||||
|
||||
katppuccino.replace = {
|
||||
a = { bg = cp.katppuccino5, fg = cp.katppuccino14 },
|
||||
b = { bg = cp.katppuccino12, fg = cp.katppuccino5 },
|
||||
}
|
||||
|
||||
katppuccino.inactive = {
|
||||
a = { bg = cp.katppuccino14, fg = cp.katppuccino9 },
|
||||
b = { bg = cp.katppuccino14, fg = cp.katppuccino12, gui = "bold" },
|
||||
c = { bg = cp.katppuccino14, fg = cp.katppuccino12 },
|
||||
}
|
||||
|
||||
return katppuccino
|
Loading…
Reference in New Issue