fix: lightline integration

dev-remaster
Pocco81 3 years ago
parent a674217ce9
commit 07cc2a4ccf

@ -47,7 +47,7 @@ local function get_base()
NonText = { fg = cp.katppuccino11 }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
Normal = { fg = cp.katppuccino10, bg = cnf.transparency and cp.none or cp.katppuccino1 }, -- normal text
NormalNC = { fg = cp.katppuccino10, bg = cnf.transparency and cp.none or cp.katppuccino1 }, -- normal text in non-current windows
NormalSB = { fg = cp.fg, bg = cp.katppuccino13 }, -- normal text in non-current windows
NormalSB = { fg = cp.katppuccino10, bg = cp.katppuccino13 }, -- normal text in non-current windows
NormalFloat = { fg = cp.katppuccino10, bg = cp.katppuccino13 }, -- Normal text in floating windows.
FloatBorder = { fg = cp.katppuccino9 },
Pmenu = { bg = cp.katppuccino14, fg = cp.katppuccino10 }, -- Popup menu: normal item.

@ -1,46 +0,0 @@
local good, color_scheme = require("catppuccino.core.cs").get_color_scheme(
require("catppuccino.config").options["cptcheme"]
)
if not good then
print(color_scheme) -- error message
return
end
local cpt = color_scheme
local catppuccino = {}
catppuccino.normal = {
left = { { cpt.black, cpt.blue }, { cpt.blue, cpt.bg } },
middle = { { cpt.blue, cpt.fg_gutter } },
right = { { cpt.fg_sidebar, cpt.bg_statusline }, { cpt.blue, cpt.bg } },
error = { { cpt.black, cpt.error } },
warning = { { cpt.black, cpt.warning } },
}
catppuccino.insert = {
left = { { cpt.black, cpt.green }, { cpt.blue, cpt.bg } },
}
catppuccino.visual = {
left = { { cpt.black, cpt.magenta }, { cpt.blue, cpt.bg } },
}
catppuccino.replace = {
left = { { cpt.black, cpt.red }, { cpt.blue, cpt.bg } },
}
catppuccino.inactive = {
left = { { cpt.blue, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
middle = { { cpt.fg_gutter, cpt.bg_statusline } },
right = { { cpt.fg_gutter, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
}
catppuccino.tabline = {
left = { { cpt.comment, cpt.bg_highlight }, { cpt.comment, cpt.bg } },
middle = { { cpt.fg_gutter, cpt.bg_statusline } },
right = { { cpt.fg_gutter, cpt.bg_statusline }, { cpt.comment, cpt.bg } },
tabsel = { { cpt.blue, cpt.fg_gutter }, { cpt.comment, cpt.bg } },
}
return catppuccino

@ -0,0 +1,37 @@
local cp = require("katppuccino.core.color_palette")
local katppuccino = {}
katppuccino.normal = {
left = { { cp.katppuccino14, cp.katppuccino9 }, { cp.katppuccino9, cp.katppuccino1 } },
middle = { { cp.katppuccino9, cp.katppuccino12 } },
right = { { cp.katppuccino13, cp.katppuccino1 }, { cp.katppuccino9, cp.katppuccino1 } },
error = { { cp.katppuccino14, cp.katppuccino5 } },
warning = { { cp.katppuccino14, cp.katppuccino8 } },
}
katppuccino.insert = {
left = { { cp.katppuccino14, cp.katppuccino7 }, { cp.katppuccino9, cp.katppuccino1 } },
}
katppuccino.visual = {
left = { { cp.katppuccino14, cp.katppuccino3 }, { cp.katppuccino9, cp.katppuccino1 } },
}
katppuccino.replace = {
left = { { cp.katppuccino14, cp.katppuccino5 }, { cp.katppuccino9, cp.katppuccino1 } },
}
katppuccino.inactive = {
left = { { cp.katppuccino9, cp.katppuccino1 }, { cp.katppuccino11, cp.katppuccino1 } },
middle = { { cp.katppuccino12, cp.katppuccino1 } },
right = { { cp.katppuccino12, cp.katppuccino1 }, { cp.katppuccino11, cp.katppuccino1 } },
}
katppuccino.tabline = {
left = { { cp.katppuccino11, cp.katppuccino1 }, { cp.katppuccino11, cp.katppuccino1 } },
middle = { { cp.katppuccino12, cp.katppuccino1 } },
right = { { cp.katppuccino12, cp.katppuccino1 }, { cp.katppuccino11, cp.katppuccino1 } },
tabsel = { { cp.katppuccino9, cp.katppuccino12 }, { cp.katppuccino11, cp.katppuccino1 } },
}
return katppuccino
Loading…
Cancel
Save