Skip to content

Commit b433225

Browse files
fix: Leap highlight are out of date (zenbones-theme#195)
1 parent 5d69a8b commit b433225

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

lua/zenbones/specs/dark.lua

+2-3
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,8 @@ local function generate(p, opt)
425425
SneakLabelMask { bg = p.blossom, fg = p.blossom },
426426

427427
LeapMatch { gui = "bold,underline,nocombine" },
428-
LeapLabelPrimary { Search , gui = "bold,nocombine" },
429-
LeapLabelSecondary { DiffText, gui = "bold,nocombine" },
430-
LeapLabelSelected { IncSearch },
428+
LeapBackdrop { gui = "nocombine", fg = p.bg.lightness(p.bg.l + 20) },
429+
LeapLabel { fg = p.blossom.lightness(p1.bg.l + 56).sa(80), gui = "bold" },
431430

432431
HopNextKey { fg = p.blossom, gui = "bold,underline" },
433432
HopNextKey1 { fg = p.sky, gui = "bold,underline" },

lua/zenbones/specs/light.lua

+2-3
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,8 @@ local function generate(p, opt)
424424
SneakLabelMask { bg = p.blossom, fg = p.blossom },
425425

426426
LeapMatch { gui = "bold,underline,nocombine" },
427-
LeapLabelPrimary { Search , gui = "bold,nocombine" },
428-
LeapLabelSecondary { DiffText, gui = "bold,nocombine" },
429-
LeapLabelSelected { IncSearch },
427+
LeapBackdrop { gui = "nocombine", fg = p.bg.lightness(p.bg.l - 20) },
428+
LeapLabel { fg = p.blossom.lightness(p1.bg.l - 46).sa(80), gui = "bold" },
430429

431430
HopNextKey { fg = p.blossom, gui = "bold,underline" },
432431
HopNextKey1 { fg = p.sky, gui = "bold,underline" },

0 commit comments

Comments
 (0)