mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 17:54:15 +08:00
style(layout): 数据源状态卡图标 Key → Database
侧栏「TickFlow Expert」数据源徽标左侧的钥匙图标改为数据库图标, 与「数据源」语义一致(点击跳转数据源设置)。Key 导入随之移除。 验证: tsc 通过; 浏览器实测渲染为 lucide-database。
This commit is contained in:
@@ -28,7 +28,6 @@ import {
|
||||
Pickaxe,
|
||||
FileText,
|
||||
Settings,
|
||||
Key,
|
||||
Database,
|
||||
Loader2,
|
||||
LayoutDashboard,
|
||||
@@ -229,7 +228,7 @@ function TierBadge({ label, hasKey, providerName, isTickflow }: { label: string;
|
||||
className="pointer-events-none absolute inset-y-1.5 left-0 w-[2px] rounded-full bg-accent/50 transition-colors group-hover:bg-accent"
|
||||
style={base === 'expert' ? { background: 'linear-gradient(180deg, #60a5fa, #c084fc, #fbbf24)' } : undefined}
|
||||
/>
|
||||
<Key className="h-3.5 w-3.5 shrink-0 text-muted group-hover:text-accent transition-colors" />
|
||||
<Database className="h-3.5 w-3.5 shrink-0 text-muted group-hover:text-accent transition-colors" />
|
||||
<span className="min-w-0 truncate text-[11px] font-medium text-secondary group-hover:text-foreground transition-colors">
|
||||
{providerName || '数据源'}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user