We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2232b0 commit 27a1f1aCopy full SHA for 27a1f1a
src/components/switch/index.tsx
@@ -171,9 +171,9 @@ class Switch extends Component<SwitchProps> {
171
function createStyles({
172
width = DEFAULT_WIDTH,
173
height = DEFAULT_HEIGHT,
174
- onColor = Colors.primary,
175
- offColor = Colors.getColorTint(Colors.primary, 60),
176
- disabledColor = Colors.grey70,
+ onColor = Colors.$backgroundPrimaryHeavy,
+ offColor = Colors.$backgroundNeutralIdle,
+ disabledColor = Colors.$backgroundDisabled,
177
thumbColor = Colors.white,
178
thumbSize = DEFAULT_THUMB_SIZE
179
}: SwitchProps) {
0 commit comments