feat: 暗黑模式临时提交

Former-commit-id: 8653f21636d0c32f48caae65a52aca98cbef8710
This commit is contained in:
haoxr
2023-01-16 00:48:55 +08:00
parent af4fd8cb6a
commit 50cc85bad3
15 changed files with 281 additions and 271 deletions

11
src/styles/dark.scss Normal file
View File

@@ -0,0 +1,11 @@
// only scss variables
$--colors: (
"primary": (
"base": #589ef8,
),
);
@forward "element-plus/theme-chalk/src/dark/var.scss" with (
$colors: $--colors
);

View File

@@ -10,12 +10,6 @@
font-weight: 400 !important;
}
.el-upload__input {
display: none;
}
// 选中行背景色值
.el-table__body tr.current-row td {
background-color: #e1f3d8b5 !important;

View File

@@ -2,10 +2,8 @@
@import 'src/styles/element-plus';
@import './sidebar.scss';
@import './tailwind.scss';
@import './reset.scss';
html,body,#app{
height: 100%;
}
// main-container global css
.app-container {
@@ -20,6 +18,3 @@ html,body,#app{
box-shadow: 1px 1px 1px #eee;
}
svg{
display: inline-block;
}

4
src/styles/reset.scss Normal file
View File

@@ -0,0 +1,4 @@
svg{
display: inline-block;
}