Skip to content

Commit

Permalink
fix(btn): don't render visited colors on outlined btn (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
dancormier authored Nov 11, 2024
1 parent 4c540fa commit dae15d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/components/button/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,11 @@
color: var(--_bu-filled-fc);
}

background-color: var(--_bu-bg);
border-color: var(--_bu-bc);
color: var(--_bu-fc);
&:not(.s-btn__outlined) {
background-color: var(--_bu-bg);
border-color: var(--_bu-bc);
color: var(--_bu-fc);
}
}

background-color: var(--_bu-bg-hover);
Expand Down

0 comments on commit dae15d6

Please sign in to comment.