Skip to content

Commit 124e50a

Browse files
authored
fix(cascader): fix active-node 's color and font-weight (#2361)
1 parent 8db6ce4 commit 124e50a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/theme/src/cascader-node/vars.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// 下拉列表子项选中后悬浮时的背景色
2121
--tv-CascaderNode-selectable-hover-bg-color: var(--tv-color-bg, #f5f5f5);
2222
// 下拉列表子项选中时的文本色
23-
--tv-CascaderNode-selectable-text-color: var(--tv-color-text, #191919);
23+
--tv-CascaderNode-selectable-text-color: var(--tv-color-text-active, #1476ff);
2424
// 下拉列表子项禁用状态时的文本色
2525
--tv-CascaderNode-disabled-text-color: var(--tv-color-text-disabled, #c2c2c2);
2626
// 下拉列表子项禁用状态时的背景色
@@ -48,5 +48,5 @@
4848
// 下拉列表子项最大宽度
4949
--tv-CascaderNode-label-max-width: 107px;
5050
// 下拉列表子项高亮时字重
51-
--tv-CascaderNode-active-font-weight: var(--tv-font-weight-regular, 400);
51+
--tv-CascaderNode-active-font-weight: var(--tv-font-weight-bold, 600);
5252
}

0 commit comments

Comments
 (0)