Skip to content

Commit

Permalink
SHS-5781: Regression: Color contrast issue on Warbler "load more" lin…
Browse files Browse the repository at this point in the history
…ks (#1601)

* fix(shs-5781): regression color contrast on warbler load more buttons

* feat(shs-5781): update selector to include the case when the <a> is inside another element with the button classes

---------

Co-authored-by: Mari Nez <mariannuar@gmail.com>
  • Loading branch information
mariannuar and Mari Nez authored Aug 21, 2024
1 parent 1146cc1 commit 7478db7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docroot/themes/humsci/humsci_basic/src/scss/components/_pager.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,21 @@

}

.hs-button, .hs-button a,
.hs-button--big, .hs-button--big a {
&, &:hover, &:focus {
color: var(--palette--white);
}
}

.hs-secondary-button, .hs-secondary-button a {
color: var(--palette--secondary);

&:hover, &:focus {
color: var(--palette--white);
}
}

&.is-active {
a {
&, &:hover, &:focus {
Expand Down

0 comments on commit 7478db7

Please sign in to comment.