refactor: 暗黑模式自定义样式统一

Former-commit-id: 83dc3250edd859af22c13cf12835327c71709f55
This commit is contained in:
haoxr
2023-01-18 14:07:21 +08:00
parent e4fd0f8600
commit 498298ef66
12 changed files with 43 additions and 94 deletions

View File

@@ -1,16 +0,0 @@
:root {
// 这里可以设置你自定义的颜色变量
// 这个是element主要按钮:active的颜色当主题更改后此变量的值也随之更改
--el-color-primary-dark: #0d84ff;
}
// 覆盖 element-plus 的样式
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
font-weight: 400 !important;
}
// 选中行背景色值
.el-table__body tr.current-row td {
background-color: #e1f3d8b5 !important;
}

View File

@@ -20,4 +20,5 @@ svg {
border-radius: var(--el-card-border-radius);
border: 1px solid var(--el-border-color-light);
box-shadow: var(--el-box-shadow-light);
}
background-color: var(--el-bg-color-overlay);
}

View File

@@ -1,4 +1,3 @@
@import './element.scss';
@import './sidebar.scss';
@import './tailwind.scss';
@import './global.scss';

View File

@@ -222,4 +222,4 @@
border-radius: 20px;
}
}
}
}