Skip to content

Commit 2d57ae1

Browse files
committed
feat(time-select): [time-select] Adapt to the theme
1 parent 157952b commit 2d57ae1

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

packages/theme/src/time-select/index.less

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,12 @@
3838

3939
&.selected:not(.disabled) {
4040
color: var(--tv-TimeSelect-item-selected-text-color);
41-
background-color: var(--tv-TimeSelect-item-select-hover-bg-color);
4241
}
4342

4443
&:not(.disabled):hover {
45-
color: var(--tv-TimeSelect-item-hover-text-color);
4644
background-color: var(--tv-TimeSelect-item-hover-bg-color);
4745
cursor: pointer;
4846
}
49-
&.selected:not(.disabled):hover {
50-
color: var(--tv-TimeSelect-item-selected-hover-text-color);
51-
background-color: var(--tv-TimeSelect-item-select-hover-bg-color);
52-
}
5347

5448
&.disabled {
5549
color: var(--tv-TimeSelect-item-disabled-text-color);

packages/theme/src/time-select/old-theme.less

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/theme/src/time-select/vars.less

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,8 @@
2121
--tv-TimeSelect-item-disabled-text-color: var(--tv-color-text-disabled);
2222
// 选项悬浮背景色
2323
--tv-TimeSelect-item-hover-bg-color: var(--tv-color-bg-hover);
24-
// 选项悬浮字体色
25-
--tv-TimeSelect-item-hover-text-color: var(--tv-color-text);
26-
// 选中项背景色
27-
--tv-TimeSelect-item-select-hover-bg-color: var(--tv-color-bg-active);
2824
// 选中项字体色
2925
--tv-TimeSelect-item-selected-text-color: var(--tv-color-text-active);
30-
// 选中项悬浮字体色
31-
--tv-TimeSelect-item-selected-hover-text-color: var(--tv-color-text-active);
3226
// 面板高度
3327
--tv-TimeSelect-content-padding-top: var(--tv-space-md);
3428
}

0 commit comments

Comments
 (0)