feat(theme/input): [input] smb theme (#1463)

This commit is contained in:
yoyo 2024-03-05 17:42:00 +08:00 committed by GitHub
parent e48aacede9
commit cf8905feb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View File

@ -230,6 +230,7 @@
.@{textarea-prefix-cls}__inner:focus {
border-color: var(--ti-form-item-error-border-color);
background-color: var(--ti-form-item-error-bg-color);
--ti-textarea-bg-color: var(--ti-form-item-error-bg-color);
}
.@{input-group-prefix-cls}__append,

View File

@ -16,6 +16,6 @@ export const tinyInputSmbTheme = {
'ti-input-suffix-icon-height': 'var(--ti-common-font-size-2)',
'ti-input-icon-close-text-color': 'var(--ti-base-color-common-2)',
'ti-input-icon-font-size': 'var(--ti-common-font-size-2)',
'ti-input-font-size': 'var(--ti-common-font-size-2)',
'ti-input-font-size': 'var(--ti-common-font-size-1)',
'ti-input-placeholder-color': 'var(--ti-base-color-common-2)'
}

View File

@ -4,10 +4,10 @@ export const tinyTextareaSmbTheme = {
'ti-textarea-padding-horizontal': 'var(--ti-common-space-3x)',
'ti-textarea-padding-right': 'var(--ti-common-space-base)',
'ti-textarea-active-border-color': 'var(--ti-common-color-line-active)',
'ti-textarea-count-width': 'calc(100% - 16px)',
'ti-textarea-count-bottom': '0',
'ti-textarea-inner-width': 'calc(100% - 4px)',
'ti-textarea-count-right': '12px',
'ti-textarea-count-width': 'calc(100% - 17px)',
'ti-textarea-count-bottom': '1px',
'ti-textarea-inner-width': '100%',
'ti-textarea-count-right': 'var(--ti-common-font-size-2)',
'ti-textarea-padding-vertical': 'var(--ti-common-space-2x)',
'ti-textarea-count-border-radius': 'var(--ti-common-border-radius-3)',
'ti-textarea-count-text-length-color': 'var(--ti-common-color-text-primary)',