order
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user