From 6dedf6d75ee0235fefd8ad43651ea65b29021d97 Mon Sep 17 00:00:00 2001 From: Hyesung Oh Date: Tue, 21 Jun 2022 00:01:22 +0900 Subject: [PATCH] fix: ThemeSwitch hover color override --- packages/core/components/ThemeSwitch/ThemeSwitch.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/core/components/ThemeSwitch/ThemeSwitch.tsx b/packages/core/components/ThemeSwitch/ThemeSwitch.tsx index a2652dc7..23eb2daf 100644 --- a/packages/core/components/ThemeSwitch/ThemeSwitch.tsx +++ b/packages/core/components/ThemeSwitch/ThemeSwitch.tsx @@ -25,6 +25,8 @@ export function ThemeSwitch() { padding: '0', '& span': { backgroundColor: '$white' }, '& div': { height: '32px' }, + '--nextui--switchColor': theme?.colors.accents2.value, + '--nextui--switchColorHover': theme?.colors.accents2.value, }} size="lg" checked={isDark}