feat(ui): unify link/address styles and set primary header color

- Links use primary color; removed leading icon
- Show API address when website is missing; use secondary text color, non-monospace
- Parse base_url from Codex TOML; change fallback copy to "未配置官网地址"
- Use primary color for the top-left header title
- Clean up unused imports

Affected files:
- src/components/ProviderList.tsx
- src/App.tsx
This commit is contained in:
Jason
2025-09-06 23:57:10 +08:00
parent 7346fcde2c
commit 48bd37a74b
2 changed files with 16 additions and 18 deletions

View File

@@ -218,7 +218,7 @@ function App() {
{/* Linear 风格的顶部导航 */}
<header className="bg-white border-b border-[var(--color-border)] px-6 py-4">
<div className="flex items-center justify-between">
<h1 className="text-xl font-semibold text-[var(--color-text-primary)]">
<h1 className="text-xl font-semibold text-[var(--color-primary)]">
CC Switch
</h1>