Skip to content

Commit

Permalink
Main nav Donate button icon contrast fix on hover (#13305)
Browse files Browse the repository at this point in the history
* Main nav Donate button icon contrast fix on hover

* Tailwind plugin approach

* Keyboard nav focus state addition
  • Loading branch information
ramram-mf authored Dec 12, 2024
1 parent 059df85 commit d676a32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tailwind-plugins/glyph.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ module.exports = [
position: "relative",
top: "2px",
},
// Hover and active before
"&:hover::before, &:focus::before": {
filter: "brightness(0) invert(100%)",
}
},
".donate": {
...glyph("donate"),
Expand Down

0 comments on commit d676a32

Please sign in to comment.