From 8970326414e77727fc6a3cb43ca82531359796f5 Mon Sep 17 00:00:00 2001 From: Leo <98382335+gaoziman@users.noreply.github.com> Date: Sun, 6 Jul 2025 22:42:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(theme):=20=E6=9B=B4=E6=96=B0=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=BB=E9=A2=98=E8=89=B2=E4=B8=BA=E7=B4=AB=E8=89=B2?= =?UTF-8?q?=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将默认主题色从绿色 #18a058 更改为紫色 #4834D4 - 同步更新 hover 和 pressed 状态的衍生颜色 - 确保主题色在整个应用中保持一致性 --- src/store/app/index.ts | 2 +- src/store/app/theme.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/store/app/index.ts b/src/store/app/index.ts index 856ae6c..64ab5b5 100644 --- a/src/store/app/index.ts +++ b/src/store/app/index.ts @@ -55,7 +55,7 @@ export const useAppStore = defineStore('app-store', { // 重置所有设置 resetAlltheme() { this.theme = themeConfig - this.primaryColor = '#18a058' + this.primaryColor = '#4834D4' this.collapsed = false this.grayMode = false this.colorWeak = false diff --git a/src/store/app/theme.json b/src/store/app/theme.json index 06b7d75..bce48db 100644 --- a/src/store/app/theme.json +++ b/src/store/app/theme.json @@ -1,9 +1,9 @@ { "common": { - "primaryColor": "#18a058", - "primaryColorHover": "#36ad6a", - "primaryColorPressed": "#0c7a43", - "primaryColorSuppl": "#36ad6a", + "primaryColor": "#4834D4", + "primaryColorHover": "#5b49d8", + "primaryColorPressed": "#3d2ac5", + "primaryColorSuppl": "#5b49d8", "infoColor": "#2080f0", "infoColorHover": "#4098fc", "infoColorPressed": "#1060c9",