style(screener): 分钟周期徽章换 sky 色系, 与 AI 来源徽章的紫色区分

This commit is contained in:
shy3130
2026-08-30 19:05:12 +08:00
parent 9593883c59
commit 68579f1b10
2 changed files with 3 additions and 3 deletions
@@ -128,7 +128,7 @@ export function StrategyCard({
<div className="flex items-center gap-1.5 max-w-full">
<span className={`text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 ${badgeCls}`}>{srcLabel}</span>
{timeframeBadge && (
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-purple-500/30 bg-purple-500/10 text-purple-400">{timeframeBadge}</span>
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-sky-500/30 bg-sky-500/10 text-sky-400">{timeframeBadge}</span>
)}
<span className="text-xs font-medium truncate text-foreground">{name}</span>
</div>
@@ -170,7 +170,7 @@ export function StrategyCard({
<div className="flex items-center gap-1.5 min-w-0">
<span className={`text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 ${badgeCls}`}>{srcLabel}</span>
{timeframeBadge && (
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-purple-500/30 bg-purple-500/10 text-purple-400">{timeframeBadge}</span>
<span className="text-[9px] px-1 py-px rounded border font-medium leading-tight shrink-0 border-sky-500/30 bg-sky-500/10 text-sky-400">{timeframeBadge}</span>
)}
<span className="text-xs font-medium truncate text-foreground">{name}</span>
{count != null && !loading && (
@@ -24,7 +24,7 @@ const SOURCE_LABEL: Record<string, string> = {
invalid: '失效',
}
const TF_BADGE_CLS = 'text-[8px] px-1 py-px rounded border leading-tight shrink-0 border-purple-500/30 bg-purple-500/10 text-purple-400'
const TF_BADGE_CLS = 'text-[8px] px-1 py-px rounded border leading-tight shrink-0 border-sky-500/30 bg-sky-500/10 text-sky-400'
type SourceTab = 'all' | 'builtin' | 'custom' | 'ai'