mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 10:27:49 +00:00
refactor(theming): replace red-* palette with semantic error-* tokens
Sweep 30 files: text/bg/border/ring/from/to/via/fill/stroke/shadow/divide/decoration/ outline/placeholder-red-N → -error-N. All red usages were semantically error/danger (no brand red), so tokens now flow through the design-system CSS variables and respond to palette overrides.
This commit is contained in:
@@ -195,7 +195,7 @@ export default function RenewSubscription() {
|
||||
</div>
|
||||
</div>
|
||||
{!canAfford && (
|
||||
<div className="mt-1 text-[11px] text-red-400">
|
||||
<div className="mt-1 text-[11px] text-error-400">
|
||||
{t(
|
||||
'subscription.insufficientBalanceAmount',
|
||||
'Недостаточно средств. Не хватает {{missing}}',
|
||||
@@ -216,7 +216,9 @@ export default function RenewSubscription() {
|
||||
|
||||
{/* Error */}
|
||||
{error && !missingAmount && (
|
||||
<div className="rounded-xl bg-red-400/10 p-3 text-center text-sm text-red-400">{error}</div>
|
||||
<div className="rounded-xl bg-error-400/10 p-3 text-center text-sm text-error-400">
|
||||
{error}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Renew button */}
|
||||
|
||||
Reference in New Issue
Block a user