Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cascader): [ cascader] fix active-node 's color and font-weight #2361

Merged
merged 1 commit into from
Oct 23, 2024
Merged
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
4 changes: 2 additions & 2 deletions packages/theme/src/cascader-node/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// 下拉列表子项选中后悬浮时的背景色
--tv-CascaderNode-selectable-hover-bg-color: var(--tv-color-bg, #f5f5f5);
// 下拉列表子项选中时的文本色
--tv-CascaderNode-selectable-text-color: var(--tv-color-text, #191919);
--tv-CascaderNode-selectable-text-color: var(--tv-color-text-active, #1476ff);
// 下拉列表子项禁用状态时的文本色
--tv-CascaderNode-disabled-text-color: var(--tv-color-text-disabled, #c2c2c2);
// 下拉列表子项禁用状态时的背景色
Expand Down Expand Up @@ -48,5 +48,5 @@
// 下拉列表子项最大宽度
--tv-CascaderNode-label-max-width: 107px;
// 下拉列表子项高亮时字重
--tv-CascaderNode-active-font-weight: var(--tv-font-weight-regular, 400);
--tv-CascaderNode-active-font-weight: var(--tv-font-weight-bold, 600);
}
Loading