mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +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 })}`,
|
boxShadowFocus: `0 0 8px 0 ${changeColor(primaryColor, { alpha: 0.3 })}`,
|
||||||
boxShadowDisabled: 'inset 0 0 0 1px transparent',
|
boxShadowDisabled: 'inset 0 0 0 1px transparent',
|
||||||
// warning
|
// warning
|
||||||
borderColorWarning: 'transparent',
|
borderColorWarning: warningColor,
|
||||||
borderColorHoverWarning: warningColorHover,
|
borderColorHoverWarning: warningColorHover,
|
||||||
colorFocusWarning: changeColor(warningColor, { alpha: 0.1 }),
|
colorFocusWarning: changeColor(warningColor, { alpha: 0.1 }),
|
||||||
borderColorFocusWarning: warningColorHover,
|
borderColorFocusWarning: warningColorHover,
|
||||||
boxShadowFocusWarning: `0 0 8px 0 ${changeColor(warningColor, { alpha: 0.3 })}`,
|
boxShadowFocusWarning: `0 0 8px 0 ${changeColor(warningColor, { alpha: 0.3 })}`,
|
||||||
caretColorWarning: warningColor,
|
caretColorWarning: warningColor,
|
||||||
// error
|
// error
|
||||||
borderColorError: 'transparent',
|
borderColorError: errorColor,
|
||||||
borderColorHoverError: errorColorHover,
|
borderColorHoverError: errorColorHover,
|
||||||
colorFocusError: changeColor(errorColor, { alpha: 0.1 }),
|
colorFocusError: changeColor(errorColor, { alpha: 0.1 }),
|
||||||
borderColorFocusError: errorColorHover,
|
borderColorFocusError: errorColorHover,
|
||||||
|
Loading…
Reference in New Issue
Block a user