Skip to content

Commit 33ada48

Browse files
authored
feat(themes): add support for blink.cmp (#97)
1 parent 63091d6 commit 33ada48

File tree

1 file changed

+33
-3
lines changed

1 file changed

+33
-3
lines changed

lua/one_monokai/themes/groups.lua

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ local defaults = {
5757
MatchParen = { bg = colors.dark_gray, bold = true },
5858
ModeMsg = { fg = colors.yellow },
5959
MoreMsg = { fg = colors.yellow },
60-
Nontext = { fg = colors.dark_gray },
60+
Nontext = { fg = colors.dark_gray:lighten(0.8) },
6161
Normal = { fg = colors.fg, bg = config.transparent and colors.none or colors.bg },
6262
NormalFloat = { link = "Normal" },
6363
WinBarNC = { link = "NormalNC" },
@@ -247,8 +247,8 @@ local defaults = {
247247
Folded = { fg = colors.gray, bg = colors.dark_blue },
248248

249249
-- popup menu
250-
Pmenu = { fg = colors.fg },
251-
PmenuSel = { fg = colors.bg, bg = colors.pink },
250+
Pmenu = { link = "NormalFloat" },
251+
PmenuSel = { link = "Visual" },
252252
PmenuThumb = { fg = colors.dark_green, bg = colors.dark_gray },
253253

254254
-- diagnostics
@@ -418,6 +418,36 @@ local defaults = {
418418
CmpItemKindValue = { fg = colors.white },
419419
CmpItemKindVariable = { fg = colors.cyan },
420420

421+
-- blink-cmp
422+
BlinkCmpDocCursorLine = { link = "PmenuSel" },
423+
BlinkCmpDocBorder = { link = "FloatBorder" },
424+
BlinkCmpFloatBorder = { link = "FloatBorder" },
425+
BlinkCmpLabelDeprecated = { fg = colors.light_gray, strikethrough = true },
426+
BlinkCmpLabelMatch = { fg = colors.aqua },
427+
BlinkCmpDocSeparator = { fg = colors.pink },
428+
429+
BlinkCmpKindClass = { fg = colors.pink },
430+
BlinkCmpKindConstant = { fg = colors.cyan },
431+
BlinkCmpKindConstructor = { link = "@constructor" },
432+
BlinkCmpKindEnum = { fg = colors.cyan },
433+
BlinkCmpKindEnumMember = { fg = colors.yellow },
434+
BlinkCmpKindEvent = { fg = colors.yellow },
435+
BlinkCmpKindField = { fg = colors.yellow },
436+
BlinkCmpKindFile = { fg = colors.white },
437+
BlinkCmpKindFolder = { fg = colors.yellow },
438+
BlinkCmpKindFunction = { link = "Function" },
439+
BlinkCmpKindInterface = { fg = colors.pink },
440+
BlinkCmpKindKeyword = { fg = colors.white },
441+
BlinkCmpKindMethod = { link = "Function" },
442+
BlinkCmpKindModule = { fg = colors.pink },
443+
BlinkCmpKindOperator = { link = "Operator" },
444+
BlinkCmpKindProperty = { fg = colors.yellow },
445+
BlinkCmpKindStruct = { fg = colors.pink },
446+
BlinkCmpKindText = { fg = colors.white },
447+
BlinkCmpKindUnit = { fg = colors.orange },
448+
BlinkCmpKindValue = { fg = colors.white },
449+
BlinkCmpKindVariable = { fg = colors.cyan },
450+
421451
-- git-conflict
422452
GitConflictCurrent = { bg = colors.cyan:darken(0.4) },
423453
GitConflictIncoming = { bg = colors.green:darken(0.4) },

0 commit comments

Comments
 (0)