mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 15:06:59 +00:00
Update ThemeSwitcher.tsx
This commit is contained in:
parent
e222a52585
commit
04f78226c8
@ -22,16 +22,13 @@ const ThemeSwitcher = () => {
|
|||||||
}
|
}
|
||||||
aria-label="Theme Switcher"
|
aria-label="Theme Switcher"
|
||||||
>
|
>
|
||||||
<span className="flex items-center">
|
<ThemeIcon width={20} height={20} theme={theme} />
|
||||||
<ThemeIcon width={20} height={20} theme={theme} />
|
<span
|
||||||
<span
|
className={cn('capitalize leading-none ml-2', {
|
||||||
className={cn('capitalize leading-none', {
|
'text-sm': theme === 'system',
|
||||||
'text-sm ml-1.5': theme === 'system',
|
})}
|
||||||
'ml-2': theme !== 'system',
|
>
|
||||||
})}
|
{theme}
|
||||||
>
|
|
||||||
{theme}
|
|
||||||
</span>
|
|
||||||
</span>
|
</span>
|
||||||
<span className="cursor-pointer">
|
<span className="cursor-pointer">
|
||||||
<ChevronRight
|
<ChevronRight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user