Skip to content

Commit cd7c150

Browse files
committed
added styles for valid and invalid
1 parent 153a85e commit cd7c150

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

core/src/components/select/select.ionic.outline.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,12 @@
6161
:host(.ion-focused.select-fill-outline:not(.ion-invalid):not(.ion-valid)) {
6262
--border-width: #{globals.$ion-border-size-050};
6363
}
64+
65+
/**
66+
* If the select has a validity state, the
67+
* border should reflect that as a color.
68+
*/
69+
:host(.has-focus.select-fill-outline.ion-valid),
70+
:host(.select-fill-outline.ion-touched.ion-invalid) {
71+
--border-color: var(--highlight-color);
72+
}

0 commit comments

Comments
 (0)