Skip to content

Commit 281e20f

Browse files
author
xuqingkai
committed
fix: 🐛 修复Calendar等组件暗黑模式部分样式异常的问题
Closes: #388
1 parent 706d019 commit 281e20f

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

src/uni_modules/wot-design-uni/components/wd-calendar/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
background-color: $-dark-background2;
88
color: $-dark-color;
99
}
10+
11+
@include e(label) {
12+
color: $-dark-color;
13+
}
1014

1115
@include e(value) {
1216
color: $-dark-color;

src/uni_modules/wot-design-uni/components/wd-col-picker/index.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@
2525
}
2626
}
2727

28+
@include e(list-item) {
29+
30+
@include when(disabled) {
31+
color: $-dark-color3;
32+
}
33+
}
34+
35+
@include e(list-item-tip) {
36+
color: $-dark-color-gray;
37+
}
38+
2839
@include e(value) {
2940
color: $-dark-color;
3041

src/uni_modules/wot-design-uni/components/wd-datetime-picker/index.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
color: $-dark-color;
99
}
1010

11+
@include e(title) {
12+
color: $-dark-color;
13+
}
14+
1115
@include e(label) {
1216
color: $-dark-color;
1317
}

src/uni_modules/wot-design-uni/components/wd-picker/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
}
1111
}
1212

13+
@include e(title) {
14+
color: $-dark-color;
15+
}
1316

1417
@include e(label) {
1518
color: $-dark-color;

0 commit comments

Comments
 (0)