浏览代码

TODO プロジェックカラー対応

liuxf 5 月之前
父节点
当前提交
5b6c4911d4

+ 6 - 0
src/assets/styles/index.scss

@@ -107,7 +107,13 @@ div:focus {
     height: 0;
   }
 }
+.el-menu {
+  background-color: #FF0066 !important;
+}
+.el-menu-item.is-active {
+  color: #FFFFFF !important;
 
+}
 aside {
   background: #eef1f6;
   padding: 8px 24px;

+ 2 - 2
src/assets/styles/variables.module.scss

@@ -9,9 +9,9 @@ $yellow: #FEC171;
 $panGreen: #30B08F;
 
 // デフォルトテーマ変数
-$menuText: #bfcbd9;
+$menuText: #FFFFFF;
 $menuActiveText: #FFFFFF;
-$menuBg: #004CA0;
+$menuBg: #FF0066;
 $menuHover: #FFFFFF;
 
 // 軽色テーマtheme-light

+ 2 - 2
src/layout/components/TagsView/index.vue

@@ -290,9 +290,9 @@ function handleScroll() {
       }
       /*TODO tag标题的字体颜色修正为白色*/
       &.active {
-        background-color: #004CA0;
+        background-color: #FF0066;
         color: #FFFFFF;
-        border-color: #004CA0;
+        border-color: #FF0066;
 
         &::before {
           content: '';

+ 1 - 1
src/store/modules/settings.js

@@ -10,7 +10,7 @@ const useSettingsStore = defineStore(
     {
         state: () => ({
             title: '',
-            theme: storageSetting.theme || '#fdd000',
+            theme: storageSetting.theme || '#FF0066',
             sideTheme: storageSetting.sideTheme || sideTheme,
             showSettings: showSettings,
             topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,