Skip to content

Commit

Permalink
Merge pull request #182 from pavinduLakshan/switch_component
Browse files Browse the repository at this point in the history
fix(react): add default styles for switch component
  • Loading branch information
pavinduLakshan authored Nov 2, 2023
2 parents 2c9070c + aa54043 commit 2735d0e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/react/src/components/Switch/switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,13 @@

.oxygen-switch {
/* Add styles */
.MuiSwitch-thumb {
color: lightgray;
}

.Mui-checked {
.MuiSwitch-thumb {
color: var(--oxygen-palette-primary-main);
}
}
}

0 comments on commit 2735d0e

Please sign in to comment.