Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/theme/src/time-select/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

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

&:not(.disabled):hover {
Expand Down
10 changes: 4 additions & 6 deletions packages/theme/src/time-select/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@
--tv-TimeSelect-item-font-size: var(--tv-font-size-default);
// 时间选择选项左右内边距
--tv-TimeSelect-item-padding-horizontal: var(--tv-space-xl);
// 时间选择选项悬浮背景色
--tv-TimeSelect-item-hover-bg-color: var(--tv-color-bg-hover);
// 时间选择选项禁用文本色
// 选项禁用文本色
--tv-TimeSelect-item-disabled-text-color: var(--tv-color-text-disabled);
// 时间选择选项悬浮背景色(选中项)
--tv-TimeSelect-item-select-hover-bg-color: var(--tv-color-bg-active);
// 时间选择选项字体色(选中项)
// 选项悬浮背景色
--tv-TimeSelect-item-hover-bg-color: var(--tv-color-bg-hover);
// 选中项字体色
--tv-TimeSelect-item-selected-text-color: var(--tv-color-text-active);
// 面板高度
--tv-TimeSelect-content-padding-top: var(--tv-space-md);
Expand Down
Loading