{/* 토글 버튼 */}
+
@@ -88,7 +113,7 @@ export function ThemeSwitcher({ options, position }: TThemeSwitcherProps) {
role="menu"
aria-label="Select theme"
className={`
- fixed flex-col bg-[#ffffff] rounded-[18px] w-[220px] gap-[11px] filter drop-shadow-[0_0_1.3px_rgba(0,0,0,0.25)]
+ fixed flex-col bg-[#252525] px-[10px] py-[14px] border-[1px] border-[#8144FF] rounded-[18px] w-[220px] gap-[11px] filter drop-shadow-[0_0_1.3px_rgba(0,0,0,0.25)]
${switcherMenuClass}
`}
>
@@ -113,9 +138,9 @@ export function ThemeSwitcher({ options, position }: TThemeSwitcherProps) {
setHovered(null)
}
className={[
- 'hover:cursor-pointer group text-[18px] text-[#3D4852] py-1 w-full h-[50px] text-center gap-[8px] flex items-center justify-center rounded-[18px] hover:bg-[#3D4852]',
+ 'hover:cursor-pointer group text-[18px] px-[15px] text-[#909090] py-1 w-full h-[50px] text-start gap-[8px] flex items-center rounded-[9px] hover:bg-[#884DFF]',
theme === opt.key
- ? 'bg-[#3D4852] text-[#ffffff]'
+ ? 'bg-[#884DFF] text-[#ffffff]'
: '',
].join(' ')}
>
@@ -126,39 +151,36 @@ export function ThemeSwitcher({ options, position }: TThemeSwitcherProps) {
theme === opt.key ||
hovered === opt.key
? 'text-white'
- : 'text-[#3D4852]'
+ : 'text-[#909090]'
}`}
/>
{opt.label}
- {opt.key !== 'tritanopia' && (
-
- )}
);
})}