新增侧边栏背景设置

This commit is contained in:
不做码农
2022-05-21 08:12:23 +08:00
parent 630960bf0c
commit 7086c5c336
3 changed files with 23 additions and 17 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
#app {
.layout-sidebar__container {
transition: width 0.28s ease;
// background-color: var(--base-menu-background);
background-color: var(--base-menu-background);
height: 100%;
position: relative;
font-size: 0px;
+5 -8
View File
@@ -34,20 +34,17 @@ $panGreen: #30b08f;
}
/***深色主题颜色配置***/
[data-theme='theme-dark'] {
// --base-menu-background: #304156;
// --base-logo-title-color: #ffffff;
// --base-topBar-background: #ffffff;
--base-menu-background: #304156;
--base-logo-title-color: #ffffff;
// // el-ement ui 设置
// --el-fill-color-blank: #304156;
// --el-text-color-primary: #bfcbd9;
--el-text-color-primary: #e5eaf3;
}
html.dark {
/* custom dark bg color */
// --el-bg-color: #626aef;
// --el-bg-color: #141414;
--base-color-white: #ffffff;
--base-text-color-rgba: #fff;
--base-menu-background: var(--el-bg-color);
--base-text-color-rgba: #ffffff;
}
html.cafe {
filter: sepia(0.9) hue-rotate(315deg) brightness(0.9);