From 282857be7dfbb9b0caf9daa6edd88f11bfa4ff9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BClsmann?= Date: Wed, 7 Dec 2022 14:58:58 +0100 Subject: [PATCH] ToggleSwitch: use correct color token for line icon --- src/ToggleSwitch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ToggleSwitch.tsx b/src/ToggleSwitch.tsx index 51b84878408..4bad934f70f 100644 --- a/src/ToggleSwitch.tsx +++ b/src/ToggleSwitch.tsx @@ -282,7 +282,7 @@ const Switch: React.FC> = ({ flexGrow={1} flexShrink={0} flexBasis="50%" - color={acceptsInteraction ? 'accent.fg' : 'fg.subtle'} + color={acceptsInteraction ? 'switchKnob.checked.bg' : 'switchKnob.checked.disabledBg'} lineHeight="0" sx={{ transform: `translateX(${isOn ? '0' : '-100%'})`,