Skip to content

Commit

Permalink
Tailwind plugin approach
Browse files Browse the repository at this point in the history
  • Loading branch information
ramram-mf committed Dec 12, 2024
1 parent d4ae3f4 commit 97104f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 0 additions & 8 deletions source/sass/components/primary-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,6 @@
}
}
}

a.tw-btn-secondary.tw-heart-glyph {
@include hover-focus-active {
&:before {
filter: brightness(0) invert(100%);
}
}
}
}

// Newsletter
Expand Down
3 changes: 3 additions & 0 deletions tailwind-plugins/glyph.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ module.exports = [
position: "relative",
top: "2px",
},
"&:hover::before": {
filter: "brightness(0) invert(100%)",
}
},
".donate": {
...glyph("donate"),
Expand Down

0 comments on commit 97104f5

Please sign in to comment.