diff --git a/client/src/components/Projects/CsvModal.jsx b/client/src/components/Projects/CsvModal.jsx index e33df71e..2265b38e 100644 --- a/client/src/components/Projects/CsvModal.jsx +++ b/client/src/components/Projects/CsvModal.jsx @@ -165,7 +165,11 @@ const CsvModal = ({ {(project || projectCollection) && !loading && !csvData && ( - )} @@ -174,8 +178,8 @@ const CsvModal = ({ Close - {/* */} ); diff --git a/client/src/components/Projects/RenameSnapshotModal.jsx b/client/src/components/Projects/RenameSnapshotModal.jsx index 17817459..2f1dd0d6 100644 --- a/client/src/components/Projects/RenameSnapshotModal.jsx +++ b/client/src/components/Projects/RenameSnapshotModal.jsx @@ -11,10 +11,7 @@ const useStyles = createUseStyles(theme => ({ justifyContent: "center", margin: 0 }, - heading1: theme.typography.heading1, - buttonColor: { - backgroundColor: "#eaeff2" - } + heading1: theme.typography.heading1 })); export default function RenameSnapshotModal({ @@ -54,7 +51,7 @@ export default function RenameSnapshotModal({ @@ -62,6 +59,7 @@ export default function RenameSnapshotModal({ className={classes.buttonColor} onClick={() => onClose("ok", snapshotProjectName)} variant="contained" + color={"colorPrimary"} > Done diff --git a/client/src/components/Projects/ShareSnapshotModal.jsx b/client/src/components/Projects/ShareSnapshotModal.jsx index 46d856c3..96fd0833 100644 --- a/client/src/components/Projects/ShareSnapshotModal.jsx +++ b/client/src/components/Projects/ShareSnapshotModal.jsx @@ -3,7 +3,6 @@ import PropTypes from "prop-types"; import { createUseStyles, useTheme } from "react-jss"; import Button from "../Button/Button"; import ModalDialog from "../UI/AriaModal/ModalDialog"; -import clsx from "clsx"; import * as projectShareService from "../../services/projectShare.service"; const useStyles = createUseStyles(theme => ({ @@ -14,9 +13,6 @@ const useStyles = createUseStyles(theme => ({ }, heading1: theme.typography.heading1, heading2: theme.typography.heading2, - buttonColor: { - backgroundColor: theme.colors.secondary.lightGray - }, buttonDisabled: { cursor: "default" }, @@ -216,12 +212,13 @@ If you don't already have a [TDM Calculator](${tdmLink}) account, please set one style={{ justifyContent: "right" }} > @@ -308,11 +305,11 @@ If you don't already have a [TDM Calculator](${tdmLink}) account, please set one }} > @@ -363,6 +360,7 @@ If you don't already have a [TDM Calculator](${tdmLink}) account, please set one setPage(1); setSelectedEmail(""); }} + variant="outlined" > Cancel @@ -374,6 +372,7 @@ If you don't already have a [TDM Calculator](${tdmLink}) account, please set one setSelectedEmail(""); }} variant="contained" + color={"colorPrimary"} > Yes