Skip to content

Commit

Permalink
fix(cascader): fix active-node 's color and font-weight (#2361)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjunjian authored Oct 23, 2024
1 parent 8db6ce4 commit 124e50a
Showing 1 changed file with 2 additions and 2 deletions.
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);
}

0 comments on commit 124e50a

Please sign in to comment.