|
@@ -75,6 +75,12 @@
|
|
<el-color-picker v-model="getThemeConfig.menuBarActiveColor" show-alpha @change="onBgColorPickerChange('menuBarActiveColor')" />
|
|
<el-color-picker v-model="getThemeConfig.menuBarActiveColor" show-alpha @change="onBgColorPickerChange('menuBarActiveColor')" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="layout-breadcrumb-seting-bar-flex">
|
|
|
|
+ <div class="layout-breadcrumb-seting-bar-flex-label">菜单高亮字体颜色</div>
|
|
|
|
+ <div class="layout-breadcrumb-seting-bar-flex-value">
|
|
|
|
+ <el-color-picker v-model="getThemeConfig.menuBarActiveFontColor" @change="onBgColorPickerChange('menuBarActiveFontColor')" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div class="layout-breadcrumb-seting-bar-flex mt14">
|
|
<div class="layout-breadcrumb-seting-bar-flex mt14">
|
|
<div class="layout-breadcrumb-seting-bar-flex-label">{{ $t('layout.twoIsMenuBarColorGradual') }}</div>
|
|
<div class="layout-breadcrumb-seting-bar-flex-label">{{ $t('layout.twoIsMenuBarColorGradual') }}</div>
|
|
<div class="layout-breadcrumb-seting-bar-flex-value">
|
|
<div class="layout-breadcrumb-seting-bar-flex-value">
|
|
@@ -469,6 +475,12 @@ const onBgColorPickerChange = (bg: string) => {
|
|
if (bg === 'menuBar') {
|
|
if (bg === 'menuBar') {
|
|
document.documentElement.style.setProperty(`--next-bg-menuBar-light-1`, getLightColor(getThemeConfig.value.menuBar, 0.05));
|
|
document.documentElement.style.setProperty(`--next-bg-menuBar-light-1`, getLightColor(getThemeConfig.value.menuBar, 0.05));
|
|
}
|
|
}
|
|
|
|
+ if (bg === 'menuBarActiveFontColor') {
|
|
|
|
+ document.documentElement.style.setProperty(`--menu-bar-active-font-color`, themeConfig.value.menuBarActiveFontColor);
|
|
|
|
+ }
|
|
|
|
+ if (bg === 'menuBarActiveColor') {
|
|
|
|
+ document.documentElement.style.setProperty(`--menu-bar-active-color`, themeConfig.value.menuBarActiveColor);
|
|
|
|
+ }
|
|
onTopBarGradualChange();
|
|
onTopBarGradualChange();
|
|
onMenuBarGradualChange();
|
|
onMenuBarGradualChange();
|
|
onColumnsMenuBarGradualChange();
|
|
onColumnsMenuBarGradualChange();
|