Skip to content

Commit

Permalink
fix(shs-6067): override the color for warbler only in buttons mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
Mari Nez committed Feb 25, 2025
1 parent dad452f commit 02cf85c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body {
a:not([class]),
a.mailto,
a[href^='mailto:'],
a.ext:not(.hs-button) {
a.ext {
@include hb-link--inline;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,20 @@
}

@include hb-traditional {
// Warbler color pairing override.
.ht-pairing-warbler & {
color: var(--palette--white);
}

&:hover,
&:active,
&:focus {
// Warbler color pairing override.
.ht-pairing-warbler & {
color: var(--palette--white);
}
}

&:active,
&:focus {
box-shadow: 0 0 0 hb-calculate-rems(1px) var(--palette--secondary-active);
Expand Down Expand Up @@ -143,6 +157,18 @@
@include hb-traditional {
border-width: hb-calculate-rems(1px);

// Warbler color pairing override.
.ht-pairing-warbler & {
color: var(--palette--secondary);
}

&:hover {
// Warbler color pairing override.
.ht-pairing-warbler & {
color: var(--palette--white);
}
}

&:active,
&:focus {
outline: hb-calculate-rems(2px) solid;
Expand Down

0 comments on commit 02cf85c

Please sign in to comment.