Skip to content

Commit

Permalink
style(ui): improve search match highlight colors for better visibility
Browse files Browse the repository at this point in the history
- style: replace darkened colors with `palette.yellow` and `primaries[5]` for active and passive matches
  • Loading branch information
nikbrunner committed Dec 8, 2024
1 parent 06ce053 commit 5fe0f7a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/black-atom/themes/default/ui_dark.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
local darken = require("black-atom.lib.color").darken

---@param primaries BlackAtom.Theme.Primaries
---@param palette BlackAtom.Theme.Palette
---@return BlackAtom.Theme.UI
Expand All @@ -18,8 +16,8 @@ return function(primaries, palette)
},
active = primaries[4],
match = {
active = darken(palette.green, 0.15, primaries[1]),
passive = darken(palette.magenta, 0.15, primaries[1]),
active = palette.yellow,
passive = primaries[5],
},
diff = {
add = palette.green,
Expand Down

0 comments on commit 5fe0f7a

Please sign in to comment.