#110 Change on/off and toggle knob colors to primary color (purple-ish)

This commit is contained in:
Robin Davies
2024-08-19 13:57:46 -04:00
parent 322349d9bf
commit 1e42945d72
+2 -2
View File
@@ -525,7 +525,7 @@ const PluginControl =
if (control.isOnOffSwitch()) {
// normal gray unchecked state.
return (
<Switch checked={value !== 0} color="secondary"
<Switch checked={value !== 0} color="primary"
onChange={(event) => {
this.onCheckChanged(event.target.checked);
}}
@@ -535,7 +535,7 @@ const PluginControl =
if (control.isAbToggle()) {
// unchecked color is not gray.
return (
<Switch checked={value !== 0} color="secondary"
<Switch checked={value !== 0} color="primary"
onChange={(event) => {
this.onCheckChanged(event.target.checked);
}}