refactor(ui): HeroProductVisual 硬编码 bg-white token 化(bg-bg-primary)
- 消除暗黑模式 token 反色时的冲突隐患(浅色下视觉零变化,22 passed 确认)
This commit is contained in:
@@ -50,7 +50,7 @@ export function HeroProductVisual({ className }: { className?: string }) {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 趋势图:品牌色曲线 + 渐变填充 */}
|
{/* 趋势图:品牌色曲线 + 渐变填充 */}
|
||||||
<div className="mt-3 border border-border-primary bg-white p-4">
|
<div className="mt-3 border border-border-primary bg-bg-primary p-4">
|
||||||
<div className="mb-3 flex items-center justify-between">
|
<div className="mb-3 flex items-center justify-between">
|
||||||
<span className="text-xs font-semibold text-ink">数据增长趋势</span>
|
<span className="text-xs font-semibold text-ink">数据增长趋势</span>
|
||||||
<span className="text-[10px] text-text-muted">示例数据 · 近 12 个月</span>
|
<span className="text-[10px] text-text-muted">示例数据 · 近 12 个月</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user