Adds variables for form validation messages (#24767)

This commit is contained in:
Andres Galante 2017-11-14 22:32:08 -03:00 committed by XhmikosR
parent 9a0bba9afa
commit 1ee9cb04bd
2 changed files with 4 additions and 2 deletions

View File

@ -515,6 +515,8 @@ $custom-file-text: (
// Form validation
$form-feedback-margin-top: $form-text-margin-top !default;
$form-feedback-font-size: $small-font-size !default;
$form-feedback-valid-color: theme-color("success") !default;
$form-feedback-invalid-color: theme-color("danger") !default;

View File

@ -30,8 +30,8 @@
.#{$state}-feedback {
display: none;
margin-top: .25rem;
font-size: .875rem;
margin-top: $form-feedback-margin-top;
font-size: $form-feedback-font-size;
color: $color;
}