Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/yoga/src/Checkbox/CheckboxSwitch.theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const CheckboxSwitch = ({
backgroundColor: colors.primary,
},
disabled: {
backgroundColor: colors.elements.backgroundAndDisabled,
backgroundColor: colors.steady,
},
},
thumb: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ exports[`<Checkbox /> <Checkbox.Switch /> Snapshots should match snapshot with d
disabled={true}
style={
{
"backgroundColor": "#F5F5FA",
"backgroundColor": "#8F8F8F",
"borderRadius": 9999,
"display": "flex",
"height": 24,
Expand Down Expand Up @@ -257,7 +257,7 @@ exports[`<Checkbox /> <Checkbox.Switch /> Snapshots should match snapshot with d
disabled={true}
style={
{
"backgroundColor": "#F5F5FA",
"backgroundColor": "#8F8F8F",
"borderRadius": 9999,
"display": "flex",
"height": 24,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ exports[`<Checkbox /> <Checkbox.Switch /> Snapshots should match snapshot with d
transition-property: background-color;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
background-color: #F5F5FA;
background-color: #8F8F8F;
cursor: not-allowed;
}

Expand Down Expand Up @@ -334,7 +334,7 @@ exports[`<Checkbox /> <Checkbox.Switch /> Snapshots should match snapshot with d
transition-property: background-color;
-webkit-transition-duration: 300ms;
transition-duration: 300ms;
background-color: #F5F5FA;
background-color: #8F8F8F;
cursor: not-allowed;
}

Expand Down