nantes: use custom style for field on error (#75382)

This commit is contained in:
Thomas Jund 2023-04-06 15:55:36 +02:00 committed by Frédéric Péters
parent 0faa09fada
commit 854388dcda
2 changed files with 7 additions and 3 deletions

View File

@ -560,9 +560,11 @@ label {
font-weight: 600;
}
.widget .error {
font-weight: normal;
color: $red-dark;
@if ($field-on-error-style == custom) {
.widget .error {
font-weight: normal;
color: $red-dark;
}
}

View File

@ -112,6 +112,8 @@ $cancel-button-style: '%inverted-button';
$buttons-order: cancel (grow), previous, submit;
$form-accent-color: $primary-color;
$error-color: $red-dark;
$field-on-error-style: custom;
$widget-unique-checkbox-position: left;
$widget-background: white;
$widget-border-radius: $radius-l;