[Colors] Make coherent again

This commit is contained in:
2025-11-05 15:50:42 +01:00
parent 0e21a35592
commit 54cb737ad1
2 changed files with 14 additions and 13 deletions

View File

@@ -33,9 +33,10 @@ return {
magenta = Shade.new("#C02490", 0.30, -0.15), magenta = Shade.new("#C02490", 0.30, -0.15),
pink = Shade.new("#ff82c2", 0.15, -0.15), pink = Shade.new("#ff82c2", 0.15, -0.15),
purple = Shade.new("#761464", 0.15, -0.15), purple = Shade.new("#761464", 0.15, -0.15),
cyan = Shade.new("#3fffb0", 0.15, -0.15), turquoise = Shade.new("#3fffb0", 0.15, -0.15),
cyan = Shade.new("#7ac9ff", 0.15, -0.15),
lightblue = Shade.new("#add8e6", 0.15, -0.15), lightblue = Shade.new("#add8e6", 0.15, -0.15),
softblue = Shade.new("#10bbff", 0.15, -0.15), softblue = Shade.new("#10aaff", 0.15, -0.15),
brown = Shade.new("#664010", 0.15, -0.15), brown = Shade.new("#664010", 0.15, -0.15),
bg0 = "#0f1512", -- Dark bg (status line and float) bg0 = "#0f1512", -- Dark bg (status line and float)
@@ -60,9 +61,9 @@ return {
syntax = { syntax = {
comment = "comment", comment = "comment",
bracket = "darkyellow", bracket = "darkyellow",
builtin0 = "softblue", builtin0 = "lightblue",
builtin1 = "lightblue", builtin1 = "cyan",
builtin2 = "brown", builtin2 = "turquoise",
conditional = "darkblue", conditional = "darkblue",
const = "gray", const = "gray",
dep = "darkred", dep = "darkred",
@@ -75,14 +76,14 @@ return {
preproc = "strongred", preproc = "strongred",
regex = "purple", regex = "purple",
statement = "magenta", statement = "magenta",
string = "cyan", string = "softblue",
type = "red", type = "red",
variable = "orange", variable = "orange",
}, },
diag = { diag = {
error = "darkred", error = "darkred",
warn = "yellow", warn = "yellow",
info = "lightblue", info = "softblue",
hint = "fg3", hint = "fg3",
ok = "darkgreen", ok = "darkgreen",
}, },
@@ -96,13 +97,13 @@ return {
diff = { diff = {
add = "darkgreen", add = "darkgreen",
delete = "darkred", delete = "darkred",
changed = "lightblue", changed = "softblue",
text = "fg0", text = "fg0",
}, },
git = { git = {
add = "darkgreen", add = "darkgreen",
removed = "darkred", removed = "darkred",
changed = "lightblue", changed = "softblue",
conflict = "orange", conflict = "orange",
ignored = "gray", ignored = "gray",
}, },
@@ -115,8 +116,8 @@ return {
EndOfBuffer = { link = "WinSeparator" }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|. EndOfBuffer = { link = "WinSeparator" }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
CursorLine = { bg = "palette.bg1" }, CursorLine = { bg = "palette.bg1" },
CursorLineNr = { fg = "palette.cyan", style = "bold" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line. CursorLineNr = { fg = "palette.cyan", style = "bold" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
Search = { fg = "palette.lightblue", bg = "#00513b" }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out. Search = { fg = "palette.softblue", bg = "#00513b" }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
IncSearch = { fg = "palette.lightblue", bg = "#1a6b51" }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c" IncSearch = { fg = "palette.softblue", bg = "#1a6b51" }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
ModeMsg = { fg = "palette.fg3", style = "bold" }, -- 'showmode' message (e.g., "-- INSERT --") ModeMsg = { fg = "palette.fg3", style = "bold" }, -- 'showmode' message (e.g., "-- INSERT --")
NvimTreeRootFolder = { fg = "palette.lightblue", style = "bold" }, NvimTreeRootFolder = { fg = "palette.lightblue", style = "bold" },

View File

@@ -13,7 +13,7 @@ return {
alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords alt = { "FIXME", "BUG", "FIXIT", "ISSUE" }, -- a set of other keywords that all map to this FIX keywords
-- signs = false, -- configure signs for some keywords individually -- signs = false, -- configure signs for some keywords individually
}, },
TODO = { icon = "", color = "info" }, TODO = { icon = "", color = "todo" },
HACK = { icon = "", color = "warning" }, HACK = { icon = "", color = "warning" },
WARN = { icon = "", color = "warning", alt = { "WARNING", "XXX" } }, WARN = { icon = "", color = "warning", alt = { "WARNING", "XXX" } },
PERF = { icon = "", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } }, PERF = { icon = "", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } },
@@ -46,7 +46,7 @@ return {
colors = { colors = {
error = { "DiagnosticError", "ErrorMsg", "#DC2626" }, error = { "DiagnosticError", "ErrorMsg", "#DC2626" },
warning = { "DiagnosticWarn", "WarningMsg", "#FBBF24" }, warning = { "DiagnosticWarn", "WarningMsg", "#FBBF24" },
info = { "DiagnosticInfo", "#2563EB" }, todo = { "DiagnosticInfo", "#2563EB" },
hint = { "DiagnosticHint", "#10B981" }, hint = { "DiagnosticHint", "#10B981" },
default = { "Identifier", "#7C3AED" }, default = { "Identifier", "#7C3AED" },
test = { "Identifier", "#FF00FF" }, test = { "Identifier", "#FF00FF" },