fix: info color

dev-remaster
Pocco81 3 years ago
parent 19c244725a
commit 6dbd1e379d

@ -5,14 +5,14 @@ local M = {}
function M.get(cp) function M.get(cp)
return { return {
BufferCurrent = { bg = cp.catppuccino13, fg = cp.catppuccino11 }, BufferCurrent = { bg = cp.catppuccino13, fg = cp.catppuccino11 },
BufferCurrentIndex = { bg = cp.catppuccino13, fg = cp.info }, BufferCurrentIndex = { bg = cp.catppuccino13, fg = cp.catppuccino10 },
BufferCurrentMod = { bg = cp.catppuccino13, fg = cp.catppuccino9 }, BufferCurrentMod = { bg = cp.catppuccino13, fg = cp.catppuccino9 },
BufferCurrentSign = { bg = cp.catppuccino13, fg = cp.info }, BufferCurrentSign = { bg = cp.catppuccino13, fg = cp.catppuccino10 },
BufferCurrentTarget = { bg = cp.catppuccino13, fg = cp.catppuccino6 }, BufferCurrentTarget = { bg = cp.catppuccino13, fg = cp.catppuccino6 },
BufferVisible = { bg = cp.catppuccino15, fg = cp.catppuccino11 }, BufferVisible = { bg = cp.catppuccino15, fg = cp.catppuccino11 },
BufferVisibleIndex = { bg = cp.catppuccino15, fg = cp.info }, BufferVisibleIndex = { bg = cp.catppuccino15, fg = cp.catppuccino10 },
BufferVisibleMod = { bg = cp.catppuccino15, fg = cp.catppuccino9 }, BufferVisibleMod = { bg = cp.catppuccino15, fg = cp.catppuccino9 },
BufferVisibleSign = { bg = cp.catppuccino15, fg = cp.info }, BufferVisibleSign = { bg = cp.catppuccino15, fg = cp.catppuccino10 },
BufferVisibleTarget = { bg = cp.catppuccino15, fg = cp.catppuccino6 }, BufferVisibleTarget = { bg = cp.catppuccino15, fg = cp.catppuccino6 },
BufferInactive = { bg = cp.catppuccino15, fg = cp.catppuccino12 }, BufferInactive = { bg = cp.catppuccino15, fg = cp.catppuccino12 },
BufferInactiveIndex = { bg = cp.catppuccino15, fg = cp.catppuccino12 }, BufferInactiveIndex = { bg = cp.catppuccino15, fg = cp.catppuccino12 },

@ -4,7 +4,7 @@ function M.get(cp)
return { return {
DiagnosticError = { fg = cp.catppuccino6 }, DiagnosticError = { fg = cp.catppuccino6 },
DiagnosticWarning = { fg = cp.catppuccino9 }, DiagnosticWarning = { fg = cp.catppuccino9 },
DiagnosticInformation = { fg = cp.info }, DiagnosticInformation = { fg = cp.catppuccino10 },
DiagnosticHint = { fg = cp.hint }, DiagnosticHint = { fg = cp.hint },
LspFloatWinNormal = { bg = cp.catppuccino14 }, LspFloatWinNormal = { bg = cp.catppuccino14 },
LspFloatWinBorder = { fg = cp.catppuccino10 }, LspFloatWinBorder = { fg = cp.catppuccino10 },

@ -15,12 +15,12 @@ function M.get(cp)
-- hightlight diagnostics in numberline -- hightlight diagnostics in numberline
DiagnosticError = { fg = cp.catppuccino6 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default DiagnosticError = { fg = cp.catppuccino6 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticWarn = { fg = cp.catppuccino9 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default DiagnosticWarn = { fg = cp.catppuccino9 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticInfo = { fg = cp.info }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default DiagnosticInfo = { fg = cp.catppuccino10 }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
DiagnosticHint = { fg = cp.hint }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default DiagnosticHint = { fg = cp.hint }, -- Used as the base highlight group. Other Diagnostic highlights link to this by default
LspDiagnosticsDefaultError = { fg = cp.catppuccino6 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultError = { fg = cp.catppuccino6 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultWarning = { fg = cp.catppuccino9 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultWarning = { fg = cp.catppuccino9 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultInformation = { fg = cp.info }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultInformation = { fg = cp.catppuccino10 }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspDiagnosticsDefaultHint = { fg = cp.hint }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultHint = { fg = cp.hint }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
LspSignatureActiveParameter = { fg = cp.catppuccino7 }, LspSignatureActiveParameter = { fg = cp.catppuccino7 },
-- LspDiagnosticsFloatingError = { }, -- Used to color "Error" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingError = { }, -- Used to color "Error" diagnostic messages in diagnostics float
@ -30,15 +30,15 @@ function M.get(cp)
LspDiagnosticsError = { fg = cp.catppuccino6 }, LspDiagnosticsError = { fg = cp.catppuccino6 },
LspDiagnosticsWarning = { fg = cp.catppuccino9 }, LspDiagnosticsWarning = { fg = cp.catppuccino9 },
LspDiagnosticsInformation = { fg = cp.info }, LspDiagnosticsInformation = { fg = cp.catppuccino10 },
LspDiagnosticsHint = { fg = cp.hint }, LspDiagnosticsHint = { fg = cp.hint },
LspDiagnosticsVirtualTextError = { fg = cp.catppuccino6, style = virtual_text.errors }, -- Used for "Error" diagnostic virtual text LspDiagnosticsVirtualTextError = { fg = cp.catppuccino6, style = virtual_text.errors }, -- Used for "Error" diagnostic virtual text
LspDiagnosticsVirtualTextWarning = { fg = cp.catppuccino9, style = virtual_text.warnings }, -- Used for "Warning" diagnostic virtual text LspDiagnosticsVirtualTextWarning = { fg = cp.catppuccino9, style = virtual_text.warnings }, -- Used for "Warning" diagnostic virtual text
LspDiagnosticsVirtualTextInformation = { fg = cp.info, style = virtual_text.warnings }, -- Used for "Information" diagnostic virtual text LspDiagnosticsVirtualTextInformation = { fg = cp.catppuccino10, style = virtual_text.warnings }, -- Used for "Information" diagnostic virtual text
LspDiagnosticsVirtualTextHint = { fg = cp.hint, style = virtual_text.hints }, -- Used for "Hint" diagnostic virtual text LspDiagnosticsVirtualTextHint = { fg = cp.hint, style = virtual_text.hints }, -- Used for "Hint" diagnostic virtual text
LspDiagnosticsUnderlineError = { style = underlines.errors, sp = cp.catppuccino6 }, -- Used to underline "Error" diagnostics LspDiagnosticsUnderlineError = { style = underlines.errors, sp = cp.catppuccino6 }, -- Used to underline "Error" diagnostics
LspDiagnosticsUnderlineWarning = { style = underlines.warnings, sp = cp.catppuccino9 }, -- Used to underline "Warning" diagnostics LspDiagnosticsUnderlineWarning = { style = underlines.warnings, sp = cp.catppuccino9 }, -- Used to underline "Warning" diagnostics
LspDiagnosticsUnderlineInformation = { style = underlines.information, sp = cp.info }, -- Used to underline "Information" diagnostics LspDiagnosticsUnderlineInformation = { style = underlines.information, sp = cp.catppuccino10 }, -- Used to underline "Information" diagnostics
LspDiagnosticsUnderlineHint = { style = underlines.hints, sp = cp.hint }, -- Used to underline "Hint" diagnostics LspDiagnosticsUnderlineHint = { style = underlines.hints, sp = cp.hint }, -- Used to underline "Hint" diagnostics
LspCodeLens = { fg = cp.catppuccino12 }, -- virtual text of the codelens LspCodeLens = { fg = cp.catppuccino12 }, -- virtual text of the codelens
} }

@ -14,7 +14,7 @@ function M.get(cp)
TSBoolean = { fg = cp.catppuccino7, style = cnf.styles.keywords }, -- For booleans. TSBoolean = { fg = cp.catppuccino7, style = cnf.styles.keywords }, -- For booleans.
-- TSCharacter = { }; -- For characters. -- TSCharacter = { }; -- For characters.
-- TScatppuccino12 = { }; -- For catppuccino12 blocks. -- TScatppuccino12 = { }; -- For catppuccino12 blocks.
TSNote = { fg = cp.catppuccino2, bg = cp.info }, TSNote = { fg = cp.catppuccino2, bg = cp.catppuccino10 },
TSWarning = { fg = cp.catppuccino2, bg = cp.catppuccino9 }, TSWarning = { fg = cp.catppuccino2, bg = cp.catppuccino9 },
TSDanger = { fg = cp.catppuccino2, bg = cp.catppuccino6 }, TSDanger = { fg = cp.catppuccino2, bg = cp.catppuccino6 },
TSConstructor = { fg = cp.catppuccino5 }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors. TSConstructor = { fg = cp.catppuccino5 }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors.

@ -62,7 +62,7 @@ local function get_base()
SpecialKey = { fg = cp.catppuccino11 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace| SpecialKey = { fg = cp.catppuccino11 }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = { sp = cp.catppuccino6, style = "undercurl" }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellBad = { sp = cp.catppuccino6, style = "undercurl" }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
SpellCap = { sp = cp.catppuccino9, style = "undercurl" }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise. SpellCap = { sp = cp.catppuccino9, style = "undercurl" }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellLocal = { sp = cp.info, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise. SpellLocal = { sp = cp.catppuccino10, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
SpellRare = { sp = cp.catppuccino0, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise. SpellRare = { sp = cp.catppuccino0, style = "undercurl" }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
StatusLine = { fg = cp.catppuccino11, bg = cp.catppuccino15 }, -- status line of current window StatusLine = { fg = cp.catppuccino11, bg = cp.catppuccino15 }, -- status line of current window
StatusLineNC = { fg = cp.catppuccino13, bg = cp.catppuccino15 }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window. StatusLineNC = { fg = cp.catppuccino13, bg = cp.catppuccino15 }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
@ -137,7 +137,7 @@ local function get_base()
-- debugging -- debugging
debugPC = { bg = cp.catppuccino14 }, -- used for highlighting the current line in terminal-debug debugPC = { bg = cp.catppuccino14 }, -- used for highlighting the current line in terminal-debug
debugBreakpoint = { bg = util.darken(cp.info, 0.1), fg = cp.info }, -- used for breakpoint colors in terminal-debug debugBreakpoint = { bg = util.darken(cp.catppuccino10, 0.1), fg = cp.catppuccino10 }, -- used for breakpoint colors in terminal-debug
-- illuminate -- illuminate
illuminatedWord = { bg = cp.catppuccino13 }, illuminatedWord = { bg = cp.catppuccino13 },
illuminatedCurWord = { bg = cp.catppuccino13 }, illuminatedCurWord = { bg = cp.catppuccino13 },

Loading…
Cancel
Save