Skip to content

Commit 5769f29

Browse files
authored
Merge pull request #234 from sand4rt/patch-4
chore: align blink cmp colors
2 parents 5f21515 + e59b1e9 commit 5769f29

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

lua/vscode/theme.lua

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,8 @@ theme.set_highlights = function(opts)
578578
hl(0, 'CmpItemAbbrMatchFuzzy', { fg = isDark and c.vscMediumBlue or c.vscDarkBlue, bg = 'NONE', bold = true })
579579

580580
-- Blink
581-
hl(0, 'BlinkCmpMenu', { link = 'FloatBorder' })
582-
hl(0, 'BlinkCmpMenuBorder', { link = 'Pmenu' })
581+
hl(0, 'BlinkCmpMenu', { link = 'Pmenu' })
582+
hl(0, 'BlinkCmpMenuBorder', { link = 'FloatBorder' })
583583
hl(0, 'BlinkCmpMenuSelection', { link = 'PmenuSel' })
584584
hl(0, 'BlinkCmpScrollBarThumb', { link = 'PmenuThumb' })
585585
hl(0, 'BlinkCmpScrollBarGutter', { link = 'PmenuSbar' })
@@ -589,7 +589,7 @@ theme.set_highlights = function(opts)
589589
hl(0, 'BlinkCmpLabelDescription', { fg = c.vscPopupFront, bg = 'NONE' })
590590
hl(0, 'BlinkCmpKind', { fg = c.vscPopupFront, bg = 'NONE' })
591591
hl(0, 'BlinkCmpSource', { fg = c.vscPopupFront, bg = 'NONE' })
592-
hl(0, 'BlinkCmpGhostText', { link = 'NonText' })
592+
hl(0, 'BlinkCmpGhostText', { fg = c.vscContextCurrent })
593593
hl(0, 'BlinkCmpDoc', { link = 'NormalFloat' })
594594
hl(0, 'BlinkCmpDocBorder', { link = 'FloatBorder' })
595595
hl(0, 'BlinkCmpDocSeparator', { link = 'NormalFloat' })
@@ -602,28 +602,28 @@ theme.set_highlights = function(opts)
602602
hl(0, 'BlinkCmpKindMethod', { fg = c.vscPink, bg = 'NONE' })
603603
hl(0, 'BlinkCmpKindFunction', { fg = c.vscPink, bg = 'NONE' })
604604
hl(0, 'BlinkCmpKindConstructor', { fg = c.vscUiOrange, bg = 'NONE' })
605-
hl(0, 'BlinkCmpKindField', { fg = c.vscPink, bg = 'NONE' })
605+
hl(0, 'BlinkCmpKindField', { link = '@variable.member' })
606606
hl(0, 'BlinkCmpKindVariable', { link = '@variable.member' })
607-
hl(0, 'BlinkCmpKindClass', { fg = c.vscUiOrange, bg = 'NONE' })
608-
hl(0, 'BlinkCmpKindInterface', { link = 'BlinkCmpKindClass' })
607+
hl(0, 'BlinkCmpKindClass', { link = 'BlinkCmpKindConstructor' })
608+
hl(0, 'BlinkCmpKindInterface', { fg = c.vscLightBlue, bg = 'NONE' })
609609
hl(0, 'BlinkCmpKindModule', { link = 'BlinkCmpKindClass' })
610610
hl(0, 'BlinkCmpKindProperty', { link = 'BlinkCmpKindField' })
611611
hl(0, 'BlinkCmpKindUnit', { link = 'BlinkCmpKindField' })
612612
hl(0, 'BlinkCmpKindValue', { link = '@variable.member' })
613-
hl(0, 'BlinkCmpKindEnum', { link = '@variable.member' })
613+
hl(0, 'BlinkCmpKindEnum', { link = 'BlinkCmpKindConstructor' })
614614
hl(0, 'BlinkCmpKindKeyword', { fg = c.vscDarkYellow, bg = 'NONE' })
615615
hl(0, 'BlinkCmpKindSnippet', { fg = c.vscDarkYellow, bg = 'NONE' })
616-
hl(0, 'BlinkCmpKindColor', { link = 'BlinkCmpKindText' })
616+
hl(0, 'BlinkCmpKindColor', { link = 'cssColor' })
617617
hl(0, 'BlinkCmpKindFile', { link = '@text.uri' })
618618
hl(0, 'BlinkCmpKindReference', { link = '@variable.parameter.reference' })
619-
hl(0, 'BlinkCmpKindFolder', { link = '@text.uri' })
620-
hl(0, 'BlinkCmpKindEnumMember', { link = 'BlinkCmpKindText' })
621-
hl(0, 'BlinkCmpKindConstant', { link = 'BlinkCmpKindEnum' })
622-
hl(0, 'BlinkCmpKindStruct', { link = 'BlinkCmpKindClass' })
623-
hl(0, 'BlinkCmpKindEvent', { link = '@constant' })
619+
hl(0, 'BlinkCmpKindFolder', { link = 'NeotestDir' })
620+
hl(0, 'BlinkCmpKindEnumMember', { link = '@variable.member' })
621+
hl(0, 'BlinkCmpKindConstant', { link = '@constant' })
622+
hl(0, 'BlinkCmpKindStruct', { link = '@structure' })
623+
hl(0, 'BlinkCmpKindEvent', { fg = c.vscDarkYellow, bg = 'NONE' })
624624
hl(0, 'BlinkCmpKindOperator', { link = '@operator' })
625625
hl(0, 'BlinkCmpKindTypeParameter', { link = '@variable.parameter' })
626-
626+
hl(0, 'BlinkCmpKindCopilot', { fg = c.vscBlueGreen })
627627

628628
-- HiPhish/rainbow-delimiters.nvim
629629
hl(0, 'RainbowDelimiterRed', { fg = c.vscPink, bg = 'NONE' })

0 commit comments

Comments
 (0)