RPM/TPM 卡片样式统一:移除蓝色字体与 monospace,与其他统计卡片保持一致
This commit is contained in:
parent
01900f1a3a
commit
42070a5300
|
|
@ -515,25 +515,21 @@ const RechargeCard = ({
|
||||||
className={`h-3.5 w-3.5 ${
|
className={`h-3.5 w-3.5 ${
|
||||||
card.highlight
|
card.highlight
|
||||||
? 'text-emerald-500 dark:text-emerald-400'
|
? 'text-emerald-500 dark:text-emerald-400'
|
||||||
: card.live
|
: 'text-slate-400 dark:text-white/40'
|
||||||
? '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'>
|
<span className='text-xs font-medium text-slate-400 dark:text-white/40'>
|
||||||
{card.label}
|
{card.label}
|
||||||
{card.live && (
|
{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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
className={`mt-2 font-mono text-2xl font-bold tabular-nums ${
|
className={`mt-2 text-2xl font-bold ${
|
||||||
card.highlight
|
card.highlight
|
||||||
? 'text-emerald-600 dark:text-emerald-400'
|
? 'text-emerald-600 dark:text-emerald-400'
|
||||||
: card.live
|
: 'text-slate-900 dark:text-white'
|
||||||
? 'text-blue-600 dark:text-blue-400'
|
|
||||||
: 'text-slate-900 dark:text-white'
|
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{statusLoading && !card.live ? (
|
{statusLoading && !card.live ? (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue