From b06c16f9f1208575d526fae4d075fcd795637761 Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Mon, 19 Aug 2024 15:07:47 -0400 Subject: [PATCH] #110 Toggle switch color --- react/src/PluginControl.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react/src/PluginControl.tsx b/react/src/PluginControl.tsx index 887a5da..da24e27 100644 --- a/react/src/PluginControl.tsx +++ b/react/src/PluginControl.tsx @@ -62,7 +62,7 @@ const styles = (theme: Theme) => createStyles({ transition: theme.transitions.create(['opacity', 'background-color'], { duration: theme.transitions.duration.shortest }), - backgroundColor: theme.palette.secondary.main, + backgroundColor: theme.palette.primary.main, opacity: theme.palette.mode === 'light' ? 0.38 : 0.3 }, displayValue: { @@ -542,7 +542,7 @@ const PluginControl = classes={{ track: this.props.classes.switchTrack }} - style={{ color: this.props.theme.palette.secondary.main }} + style={{ color: this.props.theme.palette.primary.main }} /> ); } else {