Skip to content

Commit

Permalink
feat(date-picker): [date-picker] Fix style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Youyou-smiles committed Oct 25, 2024
1 parent f78f240 commit b8b608e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/theme/src/month-table/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,11 @@
.cell {
background-color: var(--tv-MonthTable-bg-color-disabled);
cursor: not-allowed;
color: var(--tv-MonthTable-bg-color-disabled);
color: var(--tv-MonthTable-cell-color-disabled);

&:hover {
cursor: not-allowed;
background-color: var(--tv-MonthTable-bg-color-disabled);
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions packages/theme/src/month-table/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

// 背景色(禁用)
--tv-MonthTable-bg-color-disabled: var(--tv-color-bg-disabled, #f0f0f0);
// 文字色(禁用)
--tv-MonthTable-cell-color-disabled: var(--tv-color-text-disabled, #c2c2c2);
// 背景色(悬浮)
--tv-MonthTable-bg-color-hover: var(--tv-color-bg-hover-1, #deecff);
// 背景色(高亮) 开始/结束如期高亮
Expand Down

0 comments on commit b8b608e

Please sign in to comment.