Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

Commit 694d34c

Browse files
github-actions[bot]Nathan Young
and
Nathan Young
authored
fix(FieldCheckbox): apply white background to unchecked checkbox
* fix(FieldCheckbox): apply white background to unchecked checkbox * apply white bg to invalid checkboxes * Update Checkbox.js Co-authored-by: Nathan Young <[email protected]>
1 parent 0c51a3b commit 694d34c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Components/FieldCheckbox/Components/Checkbox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Checkbox({
6565
const checkboxIconMarkup = () => {
6666
if (!toggle) {
6767
const iconProps = {
68-
classes: 'neutral-500 neutral-700-hover',
68+
classes: 'neutral-500 neutral-700-hover bg-white br1',
6969
name: 'checkbox',
7070
};
7171
if (isSelected && disabled) {
@@ -77,7 +77,7 @@ function Checkbox({
7777
iconProps.name = 'checkbox-checked';
7878
}
7979
if (isInvalid) {
80-
iconProps.classes = 'red';
80+
iconProps.classes = 'red bg-white br1';
8181
}
8282
const checkboxIconClasses = classNames(
8383
iconProps.classes,

0 commit comments

Comments
 (0)