diff --git a/scss/_variables.scss b/scss/_variables.scss index 99a5179a8119..acea370fb23e 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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; diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index cea803de3380..9fe889cf5623 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -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; }