Skip to content

Commit 2b249b8

Browse files
committed
feat(checkbox): add helper and error text styles
1 parent 207357d commit 2b249b8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,21 @@ input {
108108
fill: var(--checkmark-color);
109109
}
110110

111+
// Checkbox Hint Text
112+
// ----------------------------------------------------------------
113+
114+
.checkbox-bottom {
115+
@include globals.typography(globals.$ion-body-md-regular);
116+
}
117+
118+
.checkbox-bottom .error-text {
119+
color: globals.$ion-semantics-danger-800;
120+
}
121+
122+
.checkbox-bottom .helper-text {
123+
color: globals.$ion-primitives-neutral-800;
124+
}
125+
111126
// Label Placement - Start
112127
// ----------------------------------------------------------------
113128

0 commit comments

Comments
 (0)