Skip to content

Commit 917eafe

Browse files
authored
Don't use outline on lightweight button focus (#9)
1 parent 3e9877c commit 917eafe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ export const LightweightButtonStyles = css`
383383
background: ${accentForegroundActive};
384384
}
385385
386+
:host([appearance="lightweight"]) .control:${focusVisible} {
387+
outline-color: transparent;
388+
}
389+
386390
:host([appearance="lightweight"]) .control:${focusVisible} .content::before {
387391
background: ${neutralForegroundRest};
388392
height: calc(${focusStrokeWidth} * 1px);

0 commit comments

Comments
 (0)