feat: When the Field status is Error, the border of the input class component is displayed in red (#268)

This commit is contained in:
luoxiaozero 2024-09-23 23:37:35 +08:00 committed by GitHub
parent c87b989c3c
commit 3545744335
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,6 +37,10 @@
color: var(--colorPaletteRedForeground1);
}
.thaw-field--error .thaw-spin-button:not(:focus-within),
.thaw-field--error .thaw-select__select:not(:focus-within),
.thaw-field--error .thaw-combobox:not(:focus-within),
.thaw-field--error .thaw-textarea:not(:focus-within),
.thaw-field--error .thaw-input:not(:focus-within) {
border-color: var(--colorPaletteRedBorder2);
}