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

@@ -17,7 +17,7 @@ export default function GroupSwitch({
<div className="scrollbar-hidden z-50 flex flex-col items-start overflow-x-scroll 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) => (