Go to file
sladro 865091b912 refactor: 编码规范深度检查与CSS颜色变量系统优化
- 硬编码颜色修复: 替换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>
2025-09-16 11:45:43 +08:00
.claude Fix CAD configuration and restore to 6 software 2025-09-16 10:52:20 +08:00
.vscode initial commit 2025-09-15 16:17:05 +08:00
config Fix CAD configuration and restore to 6 software 2025-09-16 10:52:20 +08:00
docs Fix CAD configuration and restore to 6 software 2025-09-16 10:52:20 +08:00
public Add CSS theme system 2025-09-15 17:38:13 +08:00
src refactor: 编码规范深度检查与CSS颜色变量系统优化 2025-09-16 11:45:43 +08:00
.editorconfig initial commit 2025-09-15 16:17:05 +08:00
.gitattributes initial commit 2025-09-15 16:17:05 +08:00
.gitignore initial commit 2025-09-15 16:17:05 +08:00
CLAUDE.md refactor: 编码规范深度检查与CSS颜色变量系统优化 2025-09-16 11:45:43 +08:00
index.html Add CSS theme system 2025-09-15 17:38:13 +08:00
jsconfig.json initial commit 2025-09-15 16:17:05 +08:00
package-lock.json initial commit 2025-09-15 16:17:05 +08:00
package.json Fix CAD configuration and restore to 6 software 2025-09-16 10:52:20 +08:00

.

This template should help get you started developing with Vue 3 in Vite.

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