Skip to content

Commit f4cac1b

Browse files
dylanatsmithCopilot
andcommitted
Remove box-shadow from ToggleSwitch knob to match primer/react
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 728e338 commit f4cac1b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

app/components/primer/alpha/toggle_switch.pcss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113

114114
& .ToggleSwitch-knob {
115115
border-color: var(--borderColor-default);
116-
box-shadow: none;
117116
}
118117

119118
& .ToggleSwitch-lineIcon {
@@ -168,7 +167,6 @@
168167
/* Use calc to account for the 1px border around the track */
169168
/* stylelint-disable-next-line primer/borders */
170169
border-radius: calc(var(--borderRadius-medium) - var(--borderWidth-thick));
171-
box-shadow: var(--shadow-resting-medium), var(--button-default-shadow-inset);
172170
transition-timing-function: cubic-bezier(0.5, 1, 0.89, 1);
173171
transition-duration: 80ms;
174172
transition-property: transform;

0 commit comments

Comments
 (0)