diff --git a/app/web/src/App.tsx b/app/web/src/App.tsx index 714c2d8..03dea9b 100644 --- a/app/web/src/App.tsx +++ b/app/web/src/App.tsx @@ -4,6 +4,8 @@ import GoTrue from 'gotrue-js' import { FatalErrorBoundary, RedwoodProvider } from '@redwoodjs/web' import { RedwoodApolloProvider } from '@redwoodjs/web/apollo' import FatalErrorPage from 'src/pages/FatalErrorPage' +import { createMuiTheme } from '@material-ui/core/styles'; +import { ThemeProvider } from '@material-ui/styles'; import ReactGA from 'react-ga' ReactGA.initialize(process.env.GOOGLE_ANALYTICS_ID) @@ -19,12 +21,25 @@ const goTrueClient = new GoTrue({ setCookie: true, }) +const theme = createMuiTheme({ + palette: { + type: 'dark', + primary: { + light: '#C99DFF', + main: '#A663FA', + dark: '#3B0480', + } + }, +}) + const App = () => ( - + + + diff --git a/app/web/src/components/InputTextForm/InputTextForm.tsx b/app/web/src/components/InputTextForm/InputTextForm.tsx index 05b54de..6f2c585 100644 --- a/app/web/src/components/InputTextForm/InputTextForm.tsx +++ b/app/web/src/components/InputTextForm/InputTextForm.tsx @@ -8,20 +8,15 @@ const InputText = ({ type = 'text', className, name, validation }) => { } = useFormContext() return ( <> -
+
-
{ } } return ( - -
+ +
{ const Field = ({ name, type = 'text', validation }) => ( <> - - {name}: + + {name} ( ) const HeroButton = ({ text }) => ( - - {text} + + {text} ) @@ -129,13 +137,14 @@ const SignInForm = ({ onSubmitSignIn }) => ( type="password" validation={{ required: true }} /> +
+ + forgot your password? +
- - forgot your password? -
@@ -174,22 +183,22 @@ const SignUpForm = ({ onSubmitSignUp, checkBox, setCheckBox, onClose }) => ( type="password" validation={{ required: true }} /> -
-
setCheckBox(!checkBox)} />{' '} - + +
- + Use of CadHub requires you to abide by our{' '} { return ( - - + + - -
    - {menuOptions.map(({ name, sub, ideType }) => ( + +

    New Project

    +
      + {menuOptions.map(({ name, sub, ideType, bgClasses, dotClasses }) => (
    • +
      {name}
      -
      {sub}
      +
      {sub}
    • ))} diff --git a/app/web/src/layouts/MainLayout/MainLayout.js b/app/web/src/layouts/MainLayout/MainLayout.js index 351b36d..edf5d30 100644 --- a/app/web/src/layouts/MainLayout/MainLayout.js +++ b/app/web/src/layouts/MainLayout/MainLayout.js @@ -125,7 +125,7 @@ const MainLayout = ({ children, shouldRemoveFooterInIde }) => {