From 247000718deb96e66a85b39cdc6a3467ad19f19d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 24 Oct 2024 03:31:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E9=85=8D=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/loading/index.js | 2 +- web/settings/theme.json | 2 +- web/src/store/modules/theme/helpers.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/public/loading/index.js b/web/public/loading/index.js index 6c474ec1..2f35ef88 100644 --- a/web/public/loading/index.js +++ b/web/public/loading/index.js @@ -1,6 +1,6 @@ function addThemeColorCssVars() { const key = '__THEME_COLOR__' - const defaultColor = '#66CCFF' + const defaultColor = '#00BFFF' const themeColor = window.localStorage.getItem(key) || defaultColor const cssVars = `--primary-color: ${themeColor}` document.documentElement.style.cssText = cssVars diff --git a/web/settings/theme.json b/web/settings/theme.json index 2187b6a5..96fcc750 100644 --- a/web/settings/theme.json +++ b/web/settings/theme.json @@ -14,7 +14,7 @@ "visible": true, "height": 60 }, - "primaryColor": "#66CCFF", + "primaryColor": "#00BFFF", "otherColor": { "info": "#2080F0", "success": "#18A058", diff --git a/web/src/store/modules/theme/helpers.ts b/web/src/store/modules/theme/helpers.ts index 10e24aaf..1bfc476c 100644 --- a/web/src/store/modules/theme/helpers.ts +++ b/web/src/store/modules/theme/helpers.ts @@ -23,7 +23,7 @@ export function defaultSettings(): Theme.Setting { } const header = themeSetting.header || { visible: true, height: 60 } const tab = themeSetting.tab || { visible: true, height: 50 } - const primaryColor = themeSetting.primaryColor || '#66CCFF' + const primaryColor = themeSetting.primaryColor || '#00BFFF' const otherColor = themeSetting.otherColor || { info: '#0099ad', success: '#52c41a',