From 7478db7018052141d8328cc02e8462d6e5f72ea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariana=20N=C3=BA=C3=B1ez?= <48533432+mariannuar@users.noreply.github.com> Date: Tue, 20 Aug 2024 20:52:09 -0600 Subject: [PATCH] SHS-5781: Regression: Color contrast issue on Warbler "load more" links (#1601) * fix(shs-5781): regression color contrast on warbler load more buttons * feat(shs-5781): update selector to include the case when the is inside another element with the button classes --------- Co-authored-by: Mari Nez --- .../humsci_basic/src/scss/components/_pager.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docroot/themes/humsci/humsci_basic/src/scss/components/_pager.scss b/docroot/themes/humsci/humsci_basic/src/scss/components/_pager.scss index 3ec2069fc6..a147e34662 100644 --- a/docroot/themes/humsci/humsci_basic/src/scss/components/_pager.scss +++ b/docroot/themes/humsci/humsci_basic/src/scss/components/_pager.scss @@ -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 {