Skip to content

Commit

Permalink
Make the remove button hover color settable by css variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Nov 21, 2024
1 parent 2c0fe7c commit d5f174c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/blacklight/_facets.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
--bl-facet-active-bg: var(--bs-success);
--bl-facet-active-item-color: var(--bs-success);
--bl-facet-remove-color: var(--bs-secondary-color);
--bl-facet-remove-hover-color: var(--bs-danger);

.facet-toggle-button {
[data-hide-label] {
Expand Down Expand Up @@ -99,7 +100,7 @@
text-decoration: none;

&:hover {
color: $danger;
color: var(--bl-facet-remove-hover-color);
text-decoration: none;
}
}
Expand Down

0 comments on commit d5f174c

Please sign in to comment.