Skip to content

Commit

Permalink
Keep the background color transparent on hover for stealth buttons (#115
Browse files Browse the repository at this point in the history
)

Co-authored-by: Frédéric Collonval <[email protected]>
  • Loading branch information
fcollonval and fcollonval authored Jul 4, 2024
1 parent ea20c28 commit 3ad672a
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 3ad672a

Please sign in to comment.