Skip to content

Commit 7c3fa1e

Browse files
authored
Change slightly the style for toggled button (#74)
* Change slightly the style for toggled button * Update snapshots
1 parent 338fd6a commit 7c3fa1e

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,7 @@ const BaseButtonStyles = css`
116116
}
117117
118118
:host([aria-pressed='true']) {
119-
box-shadow: inset 0px 0px 5px 5px ${neutralFillStrongActive};
120-
scale: 0.95;
119+
box-shadow: inset 0px 0px 2px 2px ${neutralFillStrongActive};
121120
}
122121
123122
:host([minimal]) {
@@ -224,7 +223,7 @@ const AccentButtonStyles = css`
224223
}
225224
226225
:host([appearance='accent'][aria-pressed='true']) {
227-
box-shadow: inset 0px 0px 5px 5px ${accentForegroundActive};
226+
box-shadow: inset 0px 0px 2px 2px ${accentForegroundActive};
228227
}
229228
230229
:host([appearance='accent']:active) .control:active {
@@ -288,7 +287,7 @@ const ErrorButtonStyles = css`
288287
}
289288
290289
:host([appearance='error'][aria-pressed='true']) {
291-
box-shadow: inset 0px 0px 5px 5px ${errorForegroundActive};
290+
box-shadow: inset 0px 0px 2px 2px ${errorForegroundActive};
292291
}
293292
294293
:host([appearance='error']:active) .control:active {
-441 Bytes
Loading
-315 Bytes
Loading
-971 Bytes
Loading

0 commit comments

Comments
 (0)