- {this.state.pitchInfo.name}
+ {this.state.pitchInfo.name}
- {this.state.pitchInfo.fractionText}
+ {this.state.pitchInfo.fractionText}
{ this.renderDial(this.state.pitchInfo) }
diff --git a/react/src/JackHostStatus.tsx b/react/src/JackHostStatus.tsx
index cf47973..dc831f0 100644
--- a/react/src/JackHostStatus.tsx
+++ b/react/src/JackHostStatus.tsx
@@ -22,7 +22,7 @@ import Typography from '@mui/material/Typography';
import isDarkMode from './DarkMode';
-const RED_COLOR = "#C00";
+const RED_COLOR = isDarkMode()? "#F88":"#C00";
const GREEN_COLOR = isDarkMode()? "rgba(255,255,255,0.7)": "#666";
diff --git a/react/src/PluginControl.tsx b/react/src/PluginControl.tsx
index c47a59f..6b4237c 100644
--- a/react/src/PluginControl.tsx
+++ b/react/src/PluginControl.tsx
@@ -72,7 +72,7 @@ const styles = (theme: Theme) => createStyles({
right: 0,
bottom: 4,
textAlign: "center",
- background: theme.palette.background.paper,
+ background: theme.mainBackground,
color: theme.palette.text.secondary,
// zIndex: -1,
}
diff --git a/react/src/PluginControlView.tsx b/react/src/PluginControlView.tsx
index 1763c84..3793ce1 100644
--- a/react/src/PluginControlView.tsx
+++ b/react/src/PluginControlView.tsx
@@ -39,7 +39,6 @@ import FilePropertyDialog from './FilePropertyDialog';
import JsonAtom from './JsonAtom';
import PluginOutputControl from './PluginOutputControl';
import Units from './Units';
-import isDarkMode from './DarkMode';
export const StandardItemSize = { width: 80, height: 110 };
@@ -79,7 +78,6 @@ let endPluginInfo: UiPlugin =
makeIoPluginInfo("Output", Pedalboard.END_PEDALBOARD_ITEM_URI);
-const darkBackgroundColor = "#181818";
const styles = (theme: Theme) => createStyles({
frame: {
@@ -99,7 +97,7 @@ const styles = (theme: Theme) => createStyles({
paddingRight: 4,
paddingBottom: 24,
left: 0,
- background: isDarkMode() ? darkBackgroundColor: theme.palette.background.default,
+ background: theme.mainBackground,
zIndex: 3
},
@@ -109,7 +107,7 @@ const styles = (theme: Theme) => createStyles({
marginRight: 22,
paddingLeft: 4,
paddingBottom: 24,
- background: isDarkMode() ? darkBackgroundColor: theme.palette.background.default,
+ background: theme.mainBackground,
zIndex: 3
},
@@ -119,7 +117,7 @@ const styles = (theme: Theme) => createStyles({
paddingRight: 22,
paddingLeft: 12,
paddingBottom: 24,
- background: isDarkMode() ? darkBackgroundColor: theme.palette.background.default,
+ background: theme.mainBackground,
zIndex: 3
},
@@ -191,7 +189,7 @@ const styles = (theme: Theme) => createStyles({
portGroupTitle: {
position: "absolute",
top: -15,
- background: isDarkMode() ? darkBackgroundColor: theme.palette.background.default,
+ background: theme.mainBackground,
textOverflow: "ellipsis",
minWidth: 0,
marginLeft: 20,
diff --git a/react/src/PluginInfoDialog.tsx b/react/src/PluginInfoDialog.tsx
index 338a98c..afe55b5 100644
--- a/react/src/PluginInfoDialog.tsx
+++ b/react/src/PluginInfoDialog.tsx
@@ -228,7 +228,7 @@ const PluginInfoDialog = withStyles(styles)((props: PluginInfoProps) => {
style={{ display: (props.plugin_uri !== "") ? "inline-flex" : "none" }}
onClick={handleClickOpen}
size="large">
-
+
{open && (