replaced whites with catppuccino0

dev-remaster
Pocco81 3 years ago
parent b8fa6ff5b1
commit 28162de21b

@ -3,8 +3,8 @@ local util = require("catppuccino.utils.util")
function M.get(cp) function M.get(cp)
return { return {
CmpItemAbbr = { fg = util.darken(cp.white, 0.56) }, CmpItemAbbr = { fg = util.darken(cp.catppuccino0, 0.56) },
CmpItemAbbrDeprecated = { fg = util.darken(cp.white, 0.56), stlye = "strikethrough" }, CmpItemAbbrDeprecated = { fg = util.darken(cp.catppuccino0, 0.56), stlye = "strikethrough" },
CmpItemAbbrMatch = { fg = cp.fg, style = "bold" }, CmpItemAbbrMatch = { fg = cp.fg, style = "bold" },
CmpItemAbbrMatchFuzzy = { fg = cp.fg, style = "bold" }, CmpItemAbbrMatchFuzzy = { fg = cp.fg, style = "bold" },
CmpItemKind = { fg = cp.blue_br }, CmpItemKind = { fg = cp.blue_br },

@ -38,9 +38,9 @@ function M.get(cp)
LightspeedGreyWash = {bg = cp.bg, fg = cp.comment}, LightspeedGreyWash = {bg = cp.bg, fg = cp.comment},
LightspeedUnlabeledMatch = {bg = cp.bg, fg = cp.red_br, style = "underline"}, LightspeedUnlabeledMatch = {bg = cp.bg, fg = cp.red_br, style = "underline"},
LightspeedOneCharMatch = {bg = cp.bg, fg = cp.red_br, style = "underline"}, LightspeedOneCharMatch = {bg = cp.bg, fg = cp.red_br, style = "underline"},
LightspeedUniqueChar = {bg = cp.bg, fg = cp.white_br, style = "strikethrough"}, LightspeedUniqueChar = {bg = cp.bg, fg = cp.catppuccino0, style = "strikethrough"},
LightspeedPendingOpArea = {bg = cp.bg, fg = cp.white_br, style = "strikethrough"}, LightspeedPendingOpArea = {bg = cp.bg, fg = cp.catppuccino0, style = "strikethrough"},
LightspeedPendingChangeOpArea = {bg = cp.bg, fg = cp.white_br, style = "strikethrough"}, LightspeedPendingChangeOpArea = {bg = cp.bg, fg = cp.catppuccino0, style = "strikethrough"},
LightspeedCursor = {fg = cp.bg, bg = cp.fg}, LightspeedCursor = {fg = cp.bg, bg = cp.fg},
} }
end end

@ -25,7 +25,7 @@ function M.get(cp)
-- TSError = { }; -- For syntax/parser errors. -- TSError = { }; -- For syntax/parser errors.
TSException = { fg = cp.magenta_br, style = cnf.styles.keywords }, -- For exception related keywords. TSException = { fg = cp.magenta_br, style = cnf.styles.keywords }, -- For exception related keywords.
TSField = { fg = cp.red }, -- For fields. TSField = { fg = cp.red }, -- For fields.
rustTSField = { fg = util.darken(cp.white, 0.75) }, -- For fields. rustTSField = { fg = util.darken(cp.catppuccino0, 0.75) }, -- For fields.
-- TSFloat = { }; -- For floats. -- TSFloat = { }; -- For floats.
TSFunction = { fg = cp.blue, style = cnf.styles.functions }, -- For function (calls and definitions). TSFunction = { fg = cp.blue, style = cnf.styles.functions }, -- For function (calls and definitions).
TSFuncBuiltin = { fg = cp.cyan }, -- For builtin functions: `table.insert` in Lua. TSFuncBuiltin = { fg = cp.cyan }, -- For builtin functions: `table.insert` in Lua.
@ -46,7 +46,7 @@ function M.get(cp)
tomlTSProperty = { fg = cp.blue }, -- Differentiates between string and properties tomlTSProperty = { fg = cp.blue }, -- Differentiates between string and properties
TSPunctDelimiter = { fg = cp.green_br }, -- For delimiters ie: `.` TSPunctDelimiter = { fg = cp.green_br }, -- For delimiters ie: `.`
TSPunctBracket = { fg = cp.red }, -- For brackets and parenthesis. TSPunctBracket = { fg = cp.red }, -- For brackets and parenthesis.
TSPunctSpecial = { fg = cp.white }, -- For special punctutation that does not fall in the catagories before. TSPunctSpecial = { fg = cp.catppuccino0 }, -- For special punctutation that does not fall in the catagories before.
TSRepeat = { fg = cp.red, style = cnf.styles.keywords }, -- For keywords related to loops. TSRepeat = { fg = cp.red, style = cnf.styles.keywords }, -- For keywords related to loops.
-- TSString = { }; -- For strings. -- TSString = { }; -- For strings.
TSStringRegex = { fg = cp.blue, style = cnf.styles.strings }, -- For regexes. TSStringRegex = { fg = cp.blue, style = cnf.styles.strings }, -- For regexes.

@ -8,7 +8,7 @@ function M.get(cp)
rainbowcol4 = {bg = cp.bg, fg = cp.blue}, rainbowcol4 = {bg = cp.bg, fg = cp.blue},
rainbowcol5 = {bg = cp.bg, fg = cp.magenta}, rainbowcol5 = {bg = cp.bg, fg = cp.magenta},
rainbowcol6 = {bg = cp.bg, fg = cp.cyan}, rainbowcol6 = {bg = cp.bg, fg = cp.cyan},
rainbowcol7 = {bg = cp.bg, fg = cp.white}, rainbowcol7 = {bg = cp.bg, fg = cp.catppuccino0},
} }
end end

@ -42,7 +42,7 @@ local function get_base()
CursorLineNr = { fg = cp.fg_alt }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. highlights the number in numberline. CursorLineNr = { fg = cp.fg_alt }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. highlights the number in numberline.
MatchParen = { fg = cp.orange, style = "bold" }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| MatchParen = { fg = cp.orange, style = "bold" }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
ModeMsg = { fg = cp.fg_alt, style = "bold" }, -- 'showmode' message (e.g., "-- INSERT -- ") ModeMsg = { fg = cp.fg_alt, style = "bold" }, -- 'showmode' message (e.g., "-- INSERT -- ")
MsgArea = { fg = cp.white_br }, -- Area for messages and cmdline MsgArea = { fg = cp.catppuccino0 }, -- Area for messages and cmdline
MsgSeparator = {}, -- Separator for scrolled messages, `msgsep` flag of 'display' MsgSeparator = {}, -- Separator for scrolled messages, `msgsep` flag of 'display'
MoreMsg = { fg = cp.blue }, -- |more-prompt| MoreMsg = { fg = cp.blue }, -- |more-prompt|
NonText = { fg = cp.comment }, -- '@' 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|. NonText = { fg = cp.comment }, -- '@' 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|.
@ -174,7 +174,6 @@ end
local function get_integrations() local function get_integrations()
local integrations = cnf["integrations"] local integrations = cnf["integrations"]
local final_integrations = {} local final_integrations = {}
local cp = color_palette
for integration in pairs(integrations) do for integration in pairs(integrations) do
local cot = false local cot = false
@ -192,7 +191,7 @@ local function get_integrations()
final_integrations = vim.tbl_deep_extend( final_integrations = vim.tbl_deep_extend(
"force", "force",
final_integrations, final_integrations,
require("catppuccino.core.integrations." .. integration).get(cp) require("catppuccino.core.integrations." .. integration).get(color_palette)
) )
end end
end end

Loading…
Cancel
Save