Skip to content

Commit 31150ea

Browse files
YunaiVgitee-org
authored andcommitted
!512 【优化】规范style位置
Merge pull request !512 from 半栈幼儿员/hotfix/login
2 parents 800ebf1 + 8283c5d commit 31150ea

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

src/styles/theme.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,3 @@
44
// .dark .dark\:text-color {
55
// color: rgba(255, 255, 255, var(--dark-text-color));
66
// }
7-
8-
// 登录页
9-
.dark .login-form {
10-
.el-divider__text {
11-
background-color: var(--login-bg-color);
12-
}
13-
14-
.el-card {
15-
background-color: var(--login-bg-color);
16-
}
17-
}

src/views/Login/Login.vue

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,15 @@ $prefix-cls: #{$namespace}-login;
104104
}
105105
}
106106
</style>
107+
108+
<style lang="scss">
109+
.dark .login-form {
110+
.el-divider__text {
111+
background-color: var(--login-bg-color);
112+
}
113+
114+
.el-card {
115+
background-color: var(--login-bg-color);
116+
}
117+
}
118+
</style>

0 commit comments

Comments
 (0)