RPM/TPM 卡片样式统一:移除蓝色字体与 monospace,与其他统计卡片保持一致

This commit is contained in:
wangxiaoji 2026-07-01 16:07:24 +08:00
parent 01900f1a3a
commit 42070a5300
1 changed files with 4 additions and 8 deletions

View File

@ -515,24 +515,20 @@ const RechargeCard = ({
className={`h-3.5 w-3.5 ${
card.highlight
? 'text-emerald-500 dark:text-emerald-400'
: card.live
? 'text-blue-500 dark:text-blue-400'
: 'text-slate-400 dark:text-white/40'
}`}
/>
<span className='text-xs font-medium text-slate-400 dark:text-white/40'>
{card.label}
{card.live && (
<span className='ml-1 inline-block h-1.5 w-1.5 rounded-full bg-blue-500 animate-pulse' />
<span className='ml-1 inline-block h-1.5 w-1.5 rounded-full bg-emerald-500 animate-pulse' />
)}
</span>
</div>
<div
className={`mt-2 font-mono text-2xl font-bold tabular-nums ${
className={`mt-2 text-2xl font-bold ${
card.highlight
? 'text-emerald-600 dark:text-emerald-400'
: card.live
? 'text-blue-600 dark:text-blue-400'
: 'text-slate-900 dark:text-white'
}`}
>