fix(input): error & warning border color in dark theme

This commit is contained in:
07akioni 2020-11-15 23:41:43 +08:00
parent e191950006
commit 5f2903f18b

View File

@ -48,14 +48,14 @@ export default create({
boxShadowFocus: `0 0 8px 0 ${changeColor(primaryColor, { alpha: 0.3 })}`,
boxShadowDisabled: 'inset 0 0 0 1px transparent',
// warning
borderColorWarning: 'transparent',
borderColorWarning: warningColor,
borderColorHoverWarning: warningColorHover,
colorFocusWarning: changeColor(warningColor, { alpha: 0.1 }),
borderColorFocusWarning: warningColorHover,
boxShadowFocusWarning: `0 0 8px 0 ${changeColor(warningColor, { alpha: 0.3 })}`,
caretColorWarning: warningColor,
// error
borderColorError: 'transparent',
borderColorError: errorColor,
borderColorHoverError: errorColorHover,
colorFocusError: changeColor(errorColor, { alpha: 0.1 }),
borderColorFocusError: errorColorHover,