fix: opacity on dark mode

This commit is contained in:
hamster1963
2024-12-20 23:32:52 +08:00
parent 799a16f42a
commit b2998752a6
13 changed files with 27 additions and 27 deletions

View File

@@ -28,7 +28,7 @@ export function ModeToggle() {
variant="outline"
size="sm"
className={cn("rounded-full px-[9px] bg-white dark:bg-black", {
"bg-white/80 dark:bg-black/80": customBackgroundImage,
"bg-white/70 dark:bg-black/70": customBackgroundImage,
})}
>
<Sun className="h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />