TuringToken/web
xiezhouwei d455641b86 fix: 评测页面浅色模式样式异常 - 切换为 shadcn/ui 主题变量系统
根因:Benchmarks 页面所有 Tailwind 样式使用硬编码暗色类
(bg-gray-950/text-white/bg-white/5/border-white/10 等),
导致浅色模式下显示为深色背景+白字,完全不可见。

修改:将所有 hardcoded dark-mode 类替换为 shadcn/ui CSS 变量类:
- bg-gray-950 → bg-background
- text-white/text-gray-* → text-foreground/text-muted-foreground
- border-white/* → border-border
- bg-white/* → bg-muted/* 和 bg-primary/*
- 卡片:添加上下模式 gradient(light:from-purple-50 dark:from-purple-950/40)
- 筛选/搜索/进度条/标签等全部适配 dual-theme
- 额外优化:分类图标更新、加载动画主题化
2026-06-17 11:39:59 +08:00
..
public Initial commit 2026-06-03 10:01:10 +08:00
src fix: 评测页面浅色模式样式异常 - 切换为 shadcn/ui 主题变量系统 2026-06-17 11:39:59 +08:00
.eslintrc.cjs Initial commit 2026-06-03 10:01:10 +08:00
.gitignore Initial commit 2026-06-03 10:01:10 +08:00
.prettierrc.mjs Initial commit 2026-06-03 10:01:10 +08:00
bun.lock Initial commit 2026-06-03 10:01:10 +08:00
i18next.config.js Initial commit 2026-06-03 10:01:10 +08:00
index.html fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
jsconfig.json Initial commit 2026-06-03 10:01:10 +08:00
package.json fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
pnpm-lock.yaml fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
pnpm-workspace.yaml fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
postcss.config.js Initial commit 2026-06-03 10:01:10 +08:00
tailwind.config.js fix: 首页导航栏样式对齐 tokendance.space + 主题切换修复 2026-06-17 10:23:39 +08:00
vercel.json Initial commit 2026-06-03 10:01:10 +08:00
vite.config.js.timestamp-1775640150570-3760be0bbdc73.mjs Initial commit 2026-06-03 10:01:10 +08:00