Apply validation colors to correct icons

This commit is contained in:
luis cielak 2018-08-13 13:17:21 -04:00
parent 65207a480d
commit 23ae914211
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
$state-color: $color-green;
}
.icon {
.icon-validation {
@include icon-color($state-color);
}

View File

@ -16,7 +16,7 @@
{% endif %}
{% if field.errors %}
{{ Icon('alert') }}
{{ Icon('alert',classes="icon-validation") }}
{% endif %}
</legend>

View File

@ -10,7 +10,7 @@
<span class='usa-input__help'>{{ field.description | safe }}</span>
{% endif %}
{% if field.errors %} <span class="icon-validation">{{ Icon('alert') }}</span>{% endif %}
{% if field.errors %} {{ Icon('alert',classes="icon-validation") }} {% endif %}
</label>
{{ field(placeholder=placeholder) | safe }}