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
@@ -11,7 +11,7 @@ export default function TabSwitch({ tabs, currentTab, setCurrentTab }: { tabs: s
<div className="z-50 flex flex-col items-start rounded-[50px]">
<div
className={cn("flex items-center gap-1 rounded-[50px] bg-stone-100 p-[3px] dark:bg-stone-800", {
"bg-stone-100/50 dark:bg-stone-800/50": customBackgroundImage,
"bg-stone-100/80 dark:bg-stone-800/80": customBackgroundImage,
})}
>
{tabs.map((tab: string) => (