Skip to content

Commit 3ad672a

Browse files
authored
Keep the background color transparent on hover for stealth buttons (#115)
Co-authored-by: Frédéric Collonval <[email protected]>
1 parent ea20c28 commit 3ad672a

File tree

1 file changed

+3
-1
lines changed
  • packages/components/src/styles/patterns

1 file changed

+3
-1
lines changed

packages/components/src/styles/patterns/button.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,9 @@ export const OutlineButtonStyles = css`
537537
* @internal
538538
*/
539539
export const StealthButtonStyles = css`
540-
:host([appearance='stealth']) {
540+
:host([appearance='stealth']),
541+
:host([appearance='stealth'][disabled]:active),
542+
:host([appearance='stealth'][disabled]:hover) {
541543
background: transparent;
542544
}
543545

0 commit comments

Comments
 (0)