Skip to content

Commit

Permalink
Adds variables for form validation messages (#24767)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgalante authored and XhmikosR committed Nov 15, 2017
1 parent 9a0bba9 commit 1ee9cb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions scss/_variables.scss
Expand Up @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions scss/mixins/_forms.scss
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1ee9cb0

Please sign in to comment.