Bläddra i källkod

fix: colorscheme tweaks

Christian Chiarulli 3 år sedan
förälder
incheckning
dc1151a90a
2 ändrade filer med 9 tillägg och 9 borttagningar
  1. 4 4
      lua/onedarker/Treesitter.lua
  2. 5 5
      lua/onedarker/highlights.lua

+ 4 - 4
lua/onedarker/Treesitter.lua

@@ -11,7 +11,7 @@ local Treesitter = {
   TSKeyword = { fg = C.purple },
   TSKeywordReturn = { fg = C.purple },
   TSKeywordFunction = { fg = C.purple },
-  TSLabel = { fg = C.red },
+  TSLabel = { fg = C.blue },
   TSNone = { fg = C.fg },
   TSNamespace = { fg = C.purple },
   TSRepeat = { fg = C.purple },
@@ -48,8 +48,9 @@ local Treesitter = {
   TSTag = { fg = C.blue },
   TSEmphasis = { style = "italic" },
   TSUnderline = { style = "underline" },
-  TSWarning = { fg = C.warning_orange },
-  TSDanger = { fg = C.error_red },
+  TSNote = { fg = C.info_yellow, style = "bold" },
+  TSWarning = { fg = C.warning_orange, style = "bold" },
+  TSDanger = { fg = C.error_red, style = "bold" },
   TSTitle = { fg = C.blue, style = "bold" },
   TSLiteral = { fg = C.green },
   TSURI = { fg = C.blue, style = "underline" },
@@ -60,7 +61,6 @@ local Treesitter = {
   TSQueryLinterError = { fg = C.warning_orange },
   TSEnvironment = { fg = C.fg },
   TSEnvironmentName = { fg = C.fg },
-  TSNote = { fg = C.blue },
 }
 
 return Treesitter

+ 5 - 5
lua/onedarker/highlights.lua

@@ -13,7 +13,7 @@ local highlights = {
   PmenuSel = { fg = C.alt_bg, bg = C.blue },
   WildMenu = { fg = C.alt_bg, bg = C.blue },
   CursorLineNr = { fg = C.light_gray, style = "bold" },
-  Comment = { fg = C.green, style = "italic" },
+  Comment = { fg = C.gray, style = "italic" },
   Folded = { fg = C.accent, bg = C.alt_bg },
   FoldColumn = { fg = C.accent, bg = C.alt_bg },
   LineNr = { fg = C.context },
@@ -54,7 +54,7 @@ local highlights = {
   Question = { fg = C.orange },
   EndOfBuffer = { fg = C.bg },
   NonText = { fg = C.bg },
-  Variable = { fg = C.cyan },
+  Variable = { fg = C.fg },
   String = { fg = C.green },
   Character = { fg = C.green },
   Constant = { fg = C.orange },
@@ -64,15 +64,15 @@ local highlights = {
   Identifier = { fg = C.fg },
   Function = { fg = C.blue },
   Operator = { fg = C.purple },
-  Type = { fg = C.cyan },
-  StorageClass = { fg = C.cyan },
+  Type = { fg = C.yellow },
+  StorageClass = { fg = C.yellow },
   Structure = { fg = C.purple },
   Typedef = { fg = C.purple },
   Keyword = { fg = C.purple },
   Statement = { fg = C.purple },
   Conditional = { fg = C.purple },
   Repeat = { fg = C.purple },
-  Label = { fg = C.cyan },
+  Label = { fg = C.blue },
   Exception = { fg = C.purple },
   Include = { fg = C.purple },
   PreProc = { fg = C.purple },