Skip to content

Commit

Permalink
Keep the background color transparent on hover for stealth buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Jul 4, 2024
1 parent de2959d commit d98f1ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/src/styles/patterns/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,9 @@ export const OutlineButtonStyles = css`
* @internal
*/
export const StealthButtonStyles = css`
:host([appearance='stealth']) {
:host([appearance='stealth']),
:host([appearance='stealth'][disabled]:active),
:host([appearance='stealth'][disabled]:hover) {
background: transparent;
}
Expand Down

0 comments on commit d98f1ea

Please sign in to comment.