From 6c6fe15311b966d68535f8ecc3fc07abdd0fe508 Mon Sep 17 00:00:00 2001 From: Trevor Whitney Date: Thu, 9 Feb 2023 10:04:33 -0700 Subject: [PATCH] Pink was defined as gray, fixing that (#3) Change all theme references to incorrect pink color to gray, since pink was defined as a gray hex code. --- lua/solarized/colors.lua | 1 - lua/solarized/theme.lua | 14 +++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lua/solarized/colors.lua b/lua/solarized/colors.lua index beebb76..d2878c5 100644 --- a/lua/solarized/colors.lua +++ b/lua/solarized/colors.lua @@ -22,7 +22,6 @@ local solarized = { blue = '#268bd2', purple = '#6c71c4', orange = '#cb4b16', - pink = '#073642', magenta = '#d33682', violet = '#6c71c4', diff --git a/lua/solarized/theme.lua b/lua/solarized/theme.lua index c70da42..90c5e58 100644 --- a/lua/solarized/theme.lua +++ b/lua/solarized/theme.lua @@ -15,18 +15,18 @@ theme.loadSyntax = function () Number = { fg = solarized.orange }, -- a number constant: 5 Boolean = { fg = solarized.orange }, -- a boolean constant: TRUE, false Float = { fg = solarized.orange }, -- a floating point constant: 2.3e10 - Statement = { fg = solarized.pink }, -- any statement + Statement = { fg = solarized.gray }, -- any statement Label = { fg = solarized.yellow }, -- case, default, etc. Operator = { fg = solarized.cyan }, -- sizeof", "+", "*", etc. Exception = { fg = solarized.cyan }, -- try, catch, throw PreProc = { fg = solarized.yellow }, -- generic Preprocessor Include = { fg = solarized.blue }, -- preprocessor #include - Define = { fg = solarized.pink }, -- preprocessor #define + Define = { fg = solarized.gray }, -- preprocessor #define Macro = { fg = solarized.cyan }, -- same as Define Typedef = { fg = solarized.red }, -- A typedef PreCondit = { fg = solarized.cyan }, -- preprocessor #if, #else, #endif, etc. Special = { fg = solarized.red }, -- any special symbol - SpecialChar = { fg = solarized.pink }, -- special character in a constant + SpecialChar = { fg = solarized.gray }, -- special character in a constant Tag = { fg = solarized.red }, -- you can use CTRL-] on this Delimiter = { fg = solarized.cyan }, -- character that needs attention like , or . SpecialComment = { fg = solarized.gray }, -- special things inside a comment @@ -154,9 +154,9 @@ theme.loadEditor = function () healthWarning = { fg = solarized.purple }, -- Dashboard - DashboardShortCut = { fg = solarized.grey }, - DashboardHeader = { fg = solarized.grey }, - DashboardCenter = { fg = solarized.grey }, + DashboardShortCut = { fg = solarized.gray }, + DashboardHeader = { fg = solarized.gray }, + DashboardCenter = { fg = solarized.gray }, DashboardFooter = { fg = solarized.green, style = "italic" }, } @@ -420,7 +420,7 @@ theme.loadPlugins = function() LspSagaFinderSelection = { fg = solarized.green }, LspSagaCodeActionTitle = { fg = solarized.paleblue }, LspSagaCodeActionContent = { fg = solarized.yellow }, - LspSagaSignatureHelpBorder = { fg = solarized.pink }, + LspSagaSignatureHelpBorder = { fg = solarized.gray }, ReferencesCount = { fg = solarized.yellow }, DefinitionCount = { fg = solarized.yellow }, DefinitionIcon = { fg = solarized.blue },