From e8caaee04fdb261d13c9972a37bdc1451a5d05b2 Mon Sep 17 00:00:00 2001 From: sparksfly Date: Fri, 14 Aug 2026 00:07:31 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E9=87=8D=E6=9E=84=E5=85=A8=E7=AB=99?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E9=85=8D=E8=89=B2=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E4=B8=BA=E6=9A=96=E6=A3=95=E6=B5=85=E8=89=B2=E8=B0=83=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重构全局CSS变量与组件样式,将深色主题替换为暖棕浅色系主题: 1. 更新全局CSS变量,替换背景、文字、边框、主题色等基础配色 2. 调整所有页面和组件的hover、选中、背景色样式,适配新主题色 3. 移除naive-ui的darkTheme引入,修改主题覆盖配置为新的暖棕配色方案 4. 统一替换原紫色主题为#b4532a暖棕主题色 --- .trae/rules/git-commit-message.md | 20 ++++++++++++ src/App.vue | 47 ++++++++++++++--------------- src/components/FullscreenPlayer.vue | 22 +++++++------- src/components/MusicCard.vue | 12 ++++---- src/components/PlayerBar.vue | 18 +++++------ src/components/QrLogin.vue | 4 +-- src/components/SongTable.vue | 8 ++--- src/layouts/MainLayout.vue | 18 +++++------ src/styles/global.css | 26 ++++++++-------- src/views/DiscoverView.vue | 12 ++++---- src/views/PlaylistDetailView.vue | 10 +++--- src/views/RankingView.vue | 18 +++++------ src/views/SearchView.vue | 2 +- src/views/SettingsView.vue | 14 ++++----- 14 files changed, 125 insertions(+), 106 deletions(-) create mode 100644 .trae/rules/git-commit-message.md diff --git a/.trae/rules/git-commit-message.md b/.trae/rules/git-commit-message.md new file mode 100644 index 0000000..3e04d2f --- /dev/null +++ b/.trae/rules/git-commit-message.md @@ -0,0 +1,20 @@ +--- +alwaysApply: true +scene: git_message +language: zh-CN +--- + +## Git Commit Message Rules + +### Language Requirement +- All generated commit messages **MUST BE in Chinese (中文)**. +- Do NOT use English for commit messages. + +### Format Requirement +- First line: Short description (under 50 characters) +- Empty line +- Body (optional): Detailed description of changes and reasons + +### Content Requirement +- Clearly describe "What was changed" and "Why it was changed" +- Keep it concise and accurate diff --git a/src/App.vue b/src/App.vue index 95244c2..e0d0447 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@