Skip to content

Commit 55e12c3

Browse files
committed
fix(input): remove unused border-radius variable from documentation and styles
1 parent d104db4 commit 55e12c3

File tree

3 files changed

+25
-27
lines changed

3 files changed

+25
-27
lines changed

src/input/README.en-US.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ Name | Default Value | Description
8888
--td-input-bg-color | @bg-color-container | -
8989
--td-input-border-color | @component-stroke | -
9090
--td-input-border-left-space | 32rpx | -
91-
--td-input-border-radius | @radius-default | -
9291
--td-input-border-right-space | 0 | -
9392
--td-input-default-text-color | @text-color-primary | -
9493
--td-input-default-tips-color | @text-color-placeholder | -

src/input/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -161,29 +161,29 @@ t-class-tips | 提示样式类
161161
### CSS Variables
162162

163163
组件提供了下列 CSS 变量,可用于自定义样式。
164-
名称 | 默认值 | 描述
164+
165+
名称 | 默认值 | 描述
165166
-- | -- | --
166-
--td-input-align-items | center | -
167-
--td-input-bg-color | @bg-color-container | -
168-
--td-input-border-color | @component-stroke | -
169-
--td-input-border-left-space | 32rpx | -
170-
--td-input-border-radius | @radius-default | -
171-
--td-input-border-right-space | 0 | -
172-
--td-input-default-text-color | @text-color-primary | -
173-
--td-input-default-tips-color | @text-color-placeholder | -
174-
--td-input-disabled-text-color | @text-color-disabled | -
175-
--td-input-error-text-color | @error-color | -
176-
--td-input-error-tips-color | @error-color | -
177-
--td-input-label-max-width | 5em | -
178-
--td-input-label-min-width | 2em | -
179-
--td-input-label-text-color | @text-color-primary | -
180-
--td-input-placeholder-text-color | @text-color-placeholder | -
181-
--td-input-placeholder-text-font-size | @font-size-m | -
182-
--td-input-prefix-icon-color | @text-color-primary | -
183-
--td-input-success-text-color | @success-color | -
184-
--td-input-success-tips-color | @success-color | -
185-
--td-input-suffix-icon-color | @text-color-placeholder | -
186-
--td-input-suffix-text-color | @text-color-primary | -
187-
--td-input-vertical-padding | 32rpx | -
188-
--td-input-warning-text-color | @warning-color | -
189-
--td-input-warning-tips-color | @warning-color | -
167+
--td-input-align-items | center | -
168+
--td-input-bg-color | @bg-color-container | -
169+
--td-input-border-color | @component-stroke | -
170+
--td-input-border-left-space | 32rpx | -
171+
--td-input-border-right-space | 0 | -
172+
--td-input-default-text-color | @text-color-primary | -
173+
--td-input-default-tips-color | @text-color-placeholder | -
174+
--td-input-disabled-text-color | @text-color-disabled | -
175+
--td-input-error-text-color | @error-color | -
176+
--td-input-error-tips-color | @error-color | -
177+
--td-input-label-max-width | 5em | -
178+
--td-input-label-min-width | 2em | -
179+
--td-input-label-text-color | @text-color-primary | -
180+
--td-input-placeholder-text-color | @text-color-placeholder | -
181+
--td-input-placeholder-text-font-size | @font-size-m | -
182+
--td-input-prefix-icon-color | @text-color-primary | -
183+
--td-input-success-text-color | @success-color | -
184+
--td-input-success-tips-color | @success-color | -
185+
--td-input-suffix-icon-color | @text-color-placeholder | -
186+
--td-input-suffix-text-color | @text-color-primary | -
187+
--td-input-vertical-padding | 32rpx | -
188+
--td-input-warning-text-color | @warning-color | -
189+
--td-input-warning-tips-color | @warning-color | -

src/input/input.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
@input-label-max-width: var(--td-input-label-max-width, 5em);
2626
@input-suffix-text-color: var(--td-input-suffix-text-color, @text-color-primary); // 后置图标前的后置内容文本颜色
2727
@input-disabled-text-color: var(--td-input-disabled-text-color, @text-color-disabled); // 输入框禁用态文本颜色
28-
@input-border-radius: var(--td-input-border-radius, @radius-default); // 边框圆角大小
2928

3029
@input-align-items: var(--td-input-align-items, center); // 内容对齐方式
3130

0 commit comments

Comments
 (0)