mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +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:
@@ -499,7 +499,7 @@ export default function TelegramLoginButton({ referralCode }: TelegramLoginButto
|
||||
</>
|
||||
) : deepLinkError ? (
|
||||
<div className="flex flex-col items-center space-y-2">
|
||||
<p className="text-xs text-red-500">{deepLinkError}</p>
|
||||
<p className="text-xs text-error-500">{deepLinkError}</p>
|
||||
<button
|
||||
type="button"
|
||||
onClick={startDeepLinkAuth}
|
||||
@@ -542,7 +542,7 @@ export default function TelegramLoginButton({ referralCode }: TelegramLoginButto
|
||||
</svg>
|
||||
{oidcLoading ? t('common.loading') : t('auth.loginWithTelegram')}
|
||||
</button>
|
||||
{oidcError && <p className="text-xs text-red-500">{oidcError}</p>}
|
||||
{oidcError && <p className="text-xs text-error-500">{oidcError}</p>}
|
||||
</div>
|
||||
) : (
|
||||
<div ref={containerRef} className="flex justify-center" />
|
||||
|
||||
Reference in New Issue
Block a user