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

View File

@@ -33,7 +33,7 @@ export function LanguageSwitcher() {
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,
})}
>
{localeItems.find((item) => item.code === locale)?.name}