fix: post Dark mode fixes
This commit is contained in:
@@ -28,7 +28,7 @@ export const GlassCard: React.FC<GlassCardProps> = ({
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
'rounded-3xl border border-slate-200/70 bg-white/80 shadow-sm backdrop-blur',
|
||||
'rounded-3xl border border-slate-200/70 dark:border-slate-700/70 bg-white/80 dark:bg-nero/80 shadow-sm backdrop-blur',
|
||||
paddings[padding],
|
||||
onClick && 'cursor-pointer hover:shadow-xl hover:-translate-y-0.5 transition',
|
||||
className
|
||||
|
||||
@@ -15,7 +15,7 @@ export const MobileContainer: React.FC<MobileContainerProps> = ({
|
||||
}) => {
|
||||
return (
|
||||
<div className="w-full min-h-screen bg-gradient-to-br from-slate-50 via-white to-rose-50 dark:from-paper dark:via-nero dark:to-paper flex items-start justify-center p-4 md:py-6">
|
||||
<div className={`w-full max-w-[380px] min-h-screen md:min-h-[600px] md:rounded-[32px] shadow-2xl flex flex-col border-0 md:border border-slate-200/70 bg-white/90 md:bg-white/70 backdrop-blur-xl ${className}`}>
|
||||
<div className={`w-full max-w-[380px] min-h-screen md:min-h-[600px] md:rounded-[32px] shadow-2xl flex flex-col border-0 md:border border-slate-200/70 dark:border-slate-700/70 bg-white/90 dark:bg-nero/90 md:bg-white/70 md:dark:bg-nero/70 backdrop-blur-xl ${className}`}>
|
||||
{children}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -29,7 +29,7 @@ export const MobilePill: React.FC<MobilePillProps> = ({
|
||||
"group h-11 rounded-2xl text-sm font-medium border transition flex items-center justify-center gap-2 backdrop-blur",
|
||||
active
|
||||
? "text-white border-transparent shadow-lg bg-gradient-moto"
|
||||
: "bg-white/80 text-slate-800 border-slate-200 hover:bg-slate-50",
|
||||
: "bg-white/80 dark:bg-nero/80 text-slate-800 dark:text-avus border-slate-200 dark:border-slate-700 hover:bg-slate-50 dark:hover:bg-inactive",
|
||||
className
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user