Skip to content

Commit a04bf45

Browse files
committed
feat(checkbox): [checkbox] Revise inspection comments
1 parent 15d3247 commit a04bf45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/theme/src/checkbox/index.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
&__input {
153153
.@{checkbox-prefix-cls}__inner{
154154
svg {
155-
font-size: var(--tv-Checkbox-svg-size);
155+
font-size: var(--tv-Checkbox-icon-size);
156156
}
157157
.icon-checked-sur,.icon-halfselect {
158158
path:first-child {

packages/theme/src/checkbox/vars.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
.inject-Checkbox-vars() {
1414
// 复选框内部svg尺寸
15-
--tv-Checkbox-svg-size: var(--tv-icon-size);
15+
--tv-Checkbox-icon-size: var(--tv-icon-size);
1616
// 默认复选框未选中禁用背景色
1717
--tv-Checkbox-bg-color-disabled: var(--tv-color-bg-disabled);
1818
// 默认复选框文本色

0 commit comments

Comments
 (0)