- 硬编码颜色修复: 替换30+个硬编码rgba值为CSS变量 - 颜色变量优化: 从16个减少到10个变量 (减少37.5%) - 代码清理: 删除注释代码残留和未使用变量 - 系统优化: 建立清晰的透明度层级 (0.05/0.1/0.15/0.2/0.3/0.4) 技术改进: * 删除2个未使用的error颜色变量 * 合并2个重复的shadow变量指向已有primary变量 * 合并2个相近的白色透明度变量 * 消除硬编码,提升主题系统可维护性 影响文件: - theme.css: 重构颜色变量系统 - LoginView.vue: 更新硬编码颜色和清理注释 - DashboardView.vue: 更新硬编码颜色和清理注释 - AppHeader.vue: 更新硬编码颜色和清理注释 - CLAUDE.md: 更新项目文档记录 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .claude | ||
| .vscode | ||
| config | ||
| docs | ||
| public | ||
| src | ||
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| jsconfig.json | ||
| package-lock.json | ||
| package.json | ||
.
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Lint with ESLint
npm run lint