// FIXME Bootstrap 5.0.1 form-validation-state mixin needs an icon
// We should submit a PR to remove this requirement
$empty-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>");

// https://github.com/twbs/bootstrap/blob/v5.0.1/scss/_variables.scss#L884-L893
// https://github.com/twbs/bootstrap/blob/v5.0.1/scss/mixins/_forms.scss#L18
@include form-validation-state('info', $info, $empty-icon);
@include form-validation-state('warning', $warning, $empty-icon);
// The order matters: invalid should be the last to override the other CSS rules
@include form-validation-state('valid', $form-feedback-valid-color, $form-feedback-icon-valid);
@include form-validation-state(
  'invalid',
  $form-feedback-invalid-color,
  $form-feedback-icon-invalid
);
