feat: 暗黑模式临时提交
Former-commit-id: 8653f21636d0c32f48caae65a52aca98cbef8710
This commit is contained in:
11
src/styles/dark.scss
Normal file
11
src/styles/dark.scss
Normal file
@@ -0,0 +1,11 @@
|
||||
// only scss variables
|
||||
|
||||
$--colors: (
|
||||
"primary": (
|
||||
"base": #589ef8,
|
||||
),
|
||||
);
|
||||
|
||||
@forward "element-plus/theme-chalk/src/dark/var.scss" with (
|
||||
$colors: $--colors
|
||||
);
|
||||
@@ -10,12 +10,6 @@
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
|
||||
|
||||
.el-upload__input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
// 选中行背景色值
|
||||
.el-table__body tr.current-row td {
|
||||
background-color: #e1f3d8b5 !important;
|
||||
|
||||
@@ -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
4
src/styles/reset.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
svg{
|
||||
display: inline-block;
|
||||
}
|
||||
Reference in New Issue
Block a user