diff --git a/frontend/src/components/ConfigureWorkflow.jsx b/frontend/src/components/ConfigureWorkflow.jsx index 7e9701ed..eaf57d17 100755 --- a/frontend/src/components/ConfigureWorkflow.jsx +++ b/frontend/src/components/ConfigureWorkflow.jsx @@ -618,10 +618,10 @@ const ConfigureWorkflow = (props) => { /> */} {action.must_authenticate ? - { */} { diff --git a/frontend/src/theme.jsx b/frontend/src/theme.jsx index e871ebbe..25b97281 100644 --- a/frontend/src/theme.jsx +++ b/frontend/src/theme.jsx @@ -1,14 +1,17 @@ import React from "react"; import { createTheme, adaptV4Theme } from "@mui/material/styles"; -const theme = createTheme(adaptV4Theme({ +//const theme = createTheme(adaptV4Theme({ +const theme = createTheme({ palette: { + main: "#F86743", primary: { main: "#F86743", contrastText: "#ffffff", }, secondary: { main: "#e8eaf6", + contrastText: "#000000", }, text: { secondary: "rgba(255,255,255,0.7)", @@ -85,6 +88,6 @@ const theme = createTheme(adaptV4Theme({ }, }, }, -})); +}); export default theme; diff --git a/frontend/src/views/AngularWorkflow.jsx b/frontend/src/views/AngularWorkflow.jsx index 3b8bf509..a533f10c 100755 --- a/frontend/src/views/AngularWorkflow.jsx +++ b/frontend/src/views/AngularWorkflow.jsx @@ -8,7 +8,6 @@ import { useInterval } from "react-powerhooks"; import { v4 as uuidv4 } from "uuid"; import { useNavigate, Link, useParams } from "react-router-dom"; -// import { Prompt } from "react-router"; // FIXME import { useBeforeunload } from "react-beforeunload"; import ReactJson from "react-json-view"; import { NestedMenuItem } from "mui-nested-menu" @@ -68,11 +67,8 @@ import { ListItemAvatar, Badge, Autocomplete, -} from "@mui/material"; - -import { AvatarGroup, -} from "@mui/material" +} from "@mui/material"; import { Folder as FolderIcon, @@ -357,34 +353,6 @@ export function removeParam(key, sourceURL) { return rtn; } -/* -const useStyles = makeStyles({ - notchedOutline: { - borderColor: "#f85a3e !important", - }, - root: { - "& .MuiAutocomplete-listbox": { - border: "2px solid #f85a3e", - color: "white", - fontSize: 18, - "& li:nth-child(even)": { - backgroundColor: "#CCC", - }, - "& li:nth-child(odd)": { - backgroundColor: "#FFF", - }, - }, - }, - inputRoot: { - color: "white", - // This matches the specificity of the default styles at https://github.com/mui-org/material-ui/blob/v4.11.3/packages/material-ui-lab/src/Autocomplete/Autocomplete.js#L90 - "&:hover .MuiOutlinedInput-notchedOutline": { - borderColor: "#f86a3e", - }, - }, -}); -*/ - const splitter = "|~|"; const svgSize = 24; //const referenceUrl = "https://shuffler.io/functions/webhooks/" @@ -16457,9 +16425,6 @@ const AngularWorkflow = (defaultprops) => { return ( - {/* Removed due to missing react router features - - */} {loadedCheck} );