This commit is contained in:
payacom
2026-09-01 13:51:50 +03:30
parent 1ba6646bf9
commit 76ef4e32a9
153 changed files with 10612 additions and 8768 deletions

View File

@@ -8,15 +8,19 @@ export const btnBase =
export const btnDefault = cn(
btnBase,
"rounded-3xl bg-white/90 px-4 text-foreground",
"rounded-2xl bg-white/90 px-4 text-foreground",
BTN_BORDER,
"hover:bg-white dark:bg-neutral-900/90 dark:hover:bg-neutral-900"
);
// عین Button.tsx اندروید: variant="primary" یه تینتِ کم‌رنگِ رنگِ اصلی (نه پرشدنِ
// توپر) با متن/بوردرِ رنگِ اصلیه، نه پس‌زمینه‌ی توپرِ صورتی + متنِ سفید — عمداً از
// کلاسِ مشترکِ btn-modern--primary استفاده نمی‌کنه چون اون کلاس رو چیپ‌های فیلتر/
// toggle هم استفاده می‌کنن که قرار نیست عوض بشن
export const btnPrimary = cn(
btnBase,
"btn-modern--primary rounded-3xl px-4 text-white",
BTN_BORDER
"rounded-2xl bg-[rgba(252,142,172,0.1)] px-4 text-[#FC8EAC] border-[#FC8EAC]",
"hover:bg-[rgba(252,142,172,0.16)]"
);
export const btnSecondary = cn(btnDefault, "font-medium text-foreground/90");