Skip to content

Commit 99232bb

Browse files
committed
fix: add back removed code
1 parent 7d5dc47 commit 99232bb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/src/components/checkbox/checkbox.ionic.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,16 @@ input {
195195
background: var(--checkbox-background-checked);
196196
}
197197

198+
// Ionic Design Checkbox Invalid
199+
// --------------------------------------------------
200+
:host(.ion-invalid) {
201+
--focus-ring-color: #{globals.$ion-border-focus-error};
202+
203+
.native-wrapper {
204+
border-color: globals.$ion-semantics-danger-800;
205+
}
206+
}
207+
198208
// Checkbox overrides the disabled state mixin properties
199209
// to fix positioning issues, as the top and left properties
200210
// cause the overlay to start inside the border. We unset

0 commit comments

Comments
 (0)