mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
refactor(theming): replace green-* / emerald-* with success-* tokens
Sweep: text/bg/border/ring/from/to/via/fill/stroke/shadow-{green,emerald}-N → success-N
(all were semantic success/active/paid states).
This commit is contained in:
@@ -42,7 +42,7 @@ function StatusBadge({
|
||||
}
|
||||
|
||||
const color = isActive
|
||||
? 'bg-emerald-400/15 text-emerald-400 border-emerald-400/20'
|
||||
? 'bg-success-400/15 text-success-400 border-success-400/20'
|
||||
: isLimited
|
||||
? 'bg-amber-400/15 text-amber-400 border-amber-400/20'
|
||||
: 'bg-error-400/15 text-error-400 border-error-400/20';
|
||||
@@ -100,7 +100,7 @@ export default function SubscriptionListCard({
|
||||
? 'bg-error-400'
|
||||
: trafficPercent >= 70
|
||||
? 'bg-amber-400'
|
||||
: 'bg-emerald-400';
|
||||
: 'bg-success-400';
|
||||
|
||||
const isLimitedStatus = subscription.status === 'limited';
|
||||
|
||||
@@ -211,7 +211,7 @@ export default function SubscriptionListCard({
|
||||
: t('subscription.autopay', 'Автопродление');
|
||||
return (
|
||||
<span
|
||||
className={`flex items-center gap-1 ${enabled ? 'text-emerald-400/70' : 'text-error-400/50'}`}
|
||||
className={`flex items-center gap-1 ${enabled ? 'text-success-400/70' : 'text-error-400/50'}`}
|
||||
>
|
||||
<svg
|
||||
className="h-3 w-3"
|
||||
|
||||
Reference in New Issue
Block a user