diff --git a/src/styles/theme/dark-blue/variables.scss b/src/styles/theme/dark-blue/variables.scss index a5d3f49..3b29ad7 100644 --- a/src/styles/theme/dark-blue/variables.scss +++ b/src/styles/theme/dark-blue/variables.scss @@ -5,7 +5,7 @@ $theme-name: "dark-blue"; // 主题背景颜色 $theme-bg-color: #021633; // active 状态下主题背景颜色 -$active-theme-bg-color: #01efb7bb; +$active-theme-bg-color: var(--el-color-primary); // 默认文字颜色 $font-color: #ffffffee; // active 状态下文字颜色 diff --git a/src/styles/theme/dark/variables.scss b/src/styles/theme/dark/variables.scss index bb8b305..f4d8918 100644 --- a/src/styles/theme/dark/variables.scss +++ b/src/styles/theme/dark/variables.scss @@ -5,7 +5,7 @@ $theme-name: "dark"; // 主题背景颜色 $theme-bg-color: #151515; // active 状态下主题背景颜色 -$active-theme-bg-color: #409eff; +$active-theme-bg-color: var(--el-color-primary); // 默认文字颜色 $font-color: #c0c4cc; // active 状态下文字颜色 diff --git a/src/styles/variables.css b/src/styles/variables.css index 81c5a53..3e8da36 100644 --- a/src/styles/variables.css +++ b/src/styles/variables.css @@ -11,7 +11,7 @@ --v3-sidebar-width: 220px; --v3-sidebar-hide-width: 58px; --v3-sidebar-menu-item-height: 60px; - --v3-sidebar-menu-tip-line-bg-color: #66b1ff; + --v3-sidebar-menu-tip-line-bg-color: var(--el-color-primary); --v3-sidebar-menu-bg-color: #001428; --v3-sidebar-menu-hover-bg-color: #ffffff10; --v3-sidebar-menu-text-color: #c0c4cc; @@ -23,10 +23,10 @@ --v3-tagsview-tag-text-color: #495060; --v3-tagsview-tag-active-text-color: #ffffff; --v3-tagsview-tag-bg-color: #ffffff; - --v3-tagsview-tag-active-bg-color: #409eff; + --v3-tagsview-tag-active-bg-color: var(--el-color-primary); --v3-tagsview-tag-border-radius: 2px; --v3-tagsview-tag-border-color: #d8dce5; - --v3-tagsview-tag-active-border-color: #409eff; + --v3-tagsview-tag-active-border-color: var(--el-color-primary); --v3-tagsview-tag-active-before-color: #ffffff; --v3-tagsview-tag-icon-hover-bg-color: #00000030; --v3-tagsview-tag-icon-hover-color: #ffffff;