Skip to content

Commit

Permalink
fixbug: 修改暗黑主题问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Jan 19, 2022
1 parent 1309068 commit 60c36cf
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/styles/el-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
--el-text-color-placeholder: #{$text-color-placeholder};
--el-input-bg-color: #{$main-bg-color};
--el-disabled-bg-color: #{$main-bg-color};
--el-fill-base: #{$main-bg-color};
--el-bg-color: #{$sub-main-bg-content};
// --el-disabled-border-color: #{$text-color-placeholder};
}

Expand All @@ -31,6 +33,10 @@
--el-scrollbar-bg-color: #{$main-bg-color};
}

.el-range-input {
background-color: #{$main-bg-color};
}

// 时间选择器
.el-date-range-picker {
--el-datepicker-inner-border-color: #{$text-color-placeholder};
Expand All @@ -48,10 +54,14 @@
.el-select__popper.el-popper {
background-color: #{$main-bg-color};
}
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
background-color: #{$sub-main-bg-content};

.el-dropdown-menu {
background-color: #{$main-bg-color};
}
// .el-select-dropdown__item.hover,
// .el-select-dropdown__item:hover {
// background-color: #{$sub-main-bg-content};
// }
.el-popper.is-light .el-popper__arrow::before {
background-color: #{$main-bg-color};
}
Expand Down

0 comments on commit 60c36cf

Please sign in to comment.