diff --git a/packages/vkui/src/components/FormField/FormField.module.css b/packages/vkui/src/components/FormField/FormField.module.css index 566a419732..939318ba97 100644 --- a/packages/vkui/src/components/FormField/FormField.module.css +++ b/packages/vkui/src/components/FormField/FormField.module.css @@ -135,7 +135,7 @@ */ /* stylelint-disable-next-line selector-pseudo-class-disallowed-list */ :global(.vkuiInternalFormItem--status-error) .FormField--mode-default .FormField__border, -.FormField--status-error .FormField--mode-default .FormField__border { +.FormField--status-error.FormField--mode-default .FormField__border { border-color: var(--vkui--color_stroke_negative); z-index: var(--vkui_internal--z_index_form_field_status); } @@ -149,7 +149,7 @@ /* increase specificity to cover --mode-default case */ /* stylelint-disable-next-line selector-pseudo-class-disallowed-list */ :global(.vkuiInternalFormItem--status-valid) .FormField--mode-default .FormField__border, -.FormField--status-valid .FormField--mode-default .FormField__border { +.FormField--status-valid.FormField--mode-default .FormField__border { border-color: var(--vkui--color_stroke_positive); z-index: var(--vkui_internal--z_index_form_field_status); }