From 54cb737ad10366509e50835e031cff70a72138d1 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Wed, 5 Nov 2025 15:50:42 +0100 Subject: [PATCH] [Colors] Make coherent again --- nvim/lua/plugins/style/colors.lua | 23 ++++++++++++----------- nvim/lua/plugins/style/todo-comments.lua | 4 ++-- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/nvim/lua/plugins/style/colors.lua b/nvim/lua/plugins/style/colors.lua index bb3e70b..c818883 100755 --- a/nvim/lua/plugins/style/colors.lua +++ b/nvim/lua/plugins/style/colors.lua @@ -33,9 +33,10 @@ return { magenta = Shade.new("#C02490", 0.30, -0.15), pink = Shade.new("#ff82c2", 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), - softblue = Shade.new("#10bbff", 0.15, -0.15), + softblue = Shade.new("#10aaff", 0.15, -0.15), brown = Shade.new("#664010", 0.15, -0.15), bg0 = "#0f1512", -- Dark bg (status line and float) @@ -60,9 +61,9 @@ return { syntax = { comment = "comment", bracket = "darkyellow", - builtin0 = "softblue", - builtin1 = "lightblue", - builtin2 = "brown", + builtin0 = "lightblue", + builtin1 = "cyan", + builtin2 = "turquoise", conditional = "darkblue", const = "gray", dep = "darkred", @@ -75,14 +76,14 @@ return { preproc = "strongred", regex = "purple", statement = "magenta", - string = "cyan", + string = "softblue", type = "red", variable = "orange", }, diag = { error = "darkred", warn = "yellow", - info = "lightblue", + info = "softblue", hint = "fg3", ok = "darkgreen", }, @@ -96,13 +97,13 @@ return { diff = { add = "darkgreen", delete = "darkred", - changed = "lightblue", + changed = "softblue", text = "fg0", }, git = { add = "darkgreen", removed = "darkred", - changed = "lightblue", + changed = "softblue", conflict = "orange", 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|. CursorLine = { bg = "palette.bg1" }, 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. - IncSearch = { fg = "palette.lightblue", bg = "#1a6b51" }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c" + 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.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 --") NvimTreeRootFolder = { fg = "palette.lightblue", style = "bold" }, diff --git a/nvim/lua/plugins/style/todo-comments.lua b/nvim/lua/plugins/style/todo-comments.lua index eec296c..e663f5d 100644 --- a/nvim/lua/plugins/style/todo-comments.lua +++ b/nvim/lua/plugins/style/todo-comments.lua @@ -13,7 +13,7 @@ return { 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 }, - TODO = { icon = " ", color = "info" }, + TODO = { icon = " ", color = "todo" }, HACK = { icon = " ", color = "warning" }, WARN = { icon = " ", color = "warning", alt = { "WARNING", "XXX" } }, PERF = { icon = " ", alt = { "OPTIM", "PERFORMANCE", "OPTIMIZE" } }, @@ -46,7 +46,7 @@ return { colors = { error = { "DiagnosticError", "ErrorMsg", "#DC2626" }, warning = { "DiagnosticWarn", "WarningMsg", "#FBBF24" }, - info = { "DiagnosticInfo", "#2563EB" }, + todo = { "DiagnosticInfo", "#2563EB" }, hint = { "DiagnosticHint", "#10B981" }, default = { "Identifier", "#7C3AED" }, test = { "Identifier", "#FF00FF" },