mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(input): error & warning border color in dark theme
This commit is contained in:
parent
e191950006
commit
5f2903f18b
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user