Skip to content

Commit a3cf330

Browse files
authored
Merge pull request #710 from SUI-Components/feature/form-builder--switch--remove-color-prop
feat(components/form/builder): modify switch component color prop
2 parents 840123b + 536d073 commit a3cf330

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • components/form/builder/src/Switch

components/form/builder/src/Switch/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Switch = ({switchField, tabIndex, onChange, errors, alerts, renderer}) =>
2828
: ''
2929

3030
const switchProps = {
31-
color: atomSwitchColors.NEUTRAL,
31+
color: atomSwitchColors.PRIMARY,
3232
design: atomSwitchDesigns.SINGLE,
3333
defaultChecked: switched,
3434
label: switchField.label,

0 commit comments

Comments
 (0)