style: CustomBackgroundImage

This commit is contained in:
hamster1963
2024-12-20 01:21:34 +08:00
parent 3c7640cc82
commit 3633664345
11 changed files with 27 additions and 19 deletions
+1 -1
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/50 dark:bg-black/50": customBackgroundImage,
"bg-white/80 dark:bg-black/80": customBackgroundImage,
})}
>
<Sun className="h-4 w-4 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />