Skip to content

Commit

Permalink
fix button styles for active states (#1256)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleshike authored Jun 21, 2024
1 parent fd133bf commit 440582f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions scss/buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ $primary: $ux-emerald-600;
$btn-outline-primary-hover-border,
$btn-outline-primary-hover-color,
);
border-color: var(--btn-outline-primary-border);
border-color: $btn-outline-primary-border;

&:active {
background-color: var(--btn-outline-primary-active-background);
border-color: var(--btn-outline-primary-active-border-color);
background-color: $btn-outline-primary-active-background;
border-color: $btn-outline-primary-active-border-color;
}

&:focus-visible {
Expand Down Expand Up @@ -168,11 +168,11 @@ $primary: $ux-emerald-600;
$btn-outline-primary-hover-border,
$btn-outline-primary-hover-color,
);
border-color: var(--btn-outline-primary-border);
border-color: $btn-outline-primary-border;

&:active {
background-color: var(--btn-outline-primary-active-background);
border-color: var(--btn-outline-primary-active-border-color);
background-color: $btn-outline-primary-active-background;
border-color: $btn-outline-primary-active-border-color;
}

&:focus-visible {
Expand Down Expand Up @@ -288,11 +288,11 @@ $primary: $ux-emerald-600;
$btn-outline-transparent-hover-border,
$btn-outline-transparent-hover-color,
);
border-color: var(--btn-outline-transparent-border);
border-color: $btn-outline-transparent-border;

&:active {
background-color: var(--btn-outline-transparent-active-background);
border-color: var(--btn-outline-transparent-active-border-color);
background-color: $btn-outline-transparent-active-background;
border-color: $btn-outline-transparent-active-border-color;
}

&:disabled {
Expand Down

0 comments on commit 440582f

Please sign in to comment.