diff --git a/frontend/src/routes/sponsor/register/stepRegistration.tsx b/frontend/src/routes/sponsor/register/stepRegistration.tsx index 7e965b8e8532c0a53c36ff8d30ba153093156d37..49006235a9cf8574f741ca6773f851fd11f3ce16 100644 --- a/frontend/src/routes/sponsor/register/stepRegistration.tsx +++ b/frontend/src/routes/sponsor/register/stepRegistration.tsx @@ -198,6 +198,7 @@ export default function StepRegistration() { {activeStep === Steps.RegisterStep && ( <Button data-testid="button-next" + variant="contained" color="secondary" sx={{ mr: 1 }} onClick={handleNext} @@ -210,6 +211,7 @@ export default function StepRegistration() { <> <Button onClick={handleBack} + variant="contained" color="secondary" disabled={submitState === SubmitState.SubmitSuccess} sx={{ mr: 1 }} @@ -219,6 +221,7 @@ export default function StepRegistration() { <Button onClick={registerGuest} + variant="contained" color="secondary" disabled={submitState === SubmitState.SubmitSuccess} sx={{ mr: 1 }} @@ -230,6 +233,9 @@ export default function StepRegistration() { {activeStep !== Steps.SuccessStep && ( <Button + sx={{ + color: (theme) => theme.greg.wizardButtonColor, + }} onClick={handleCancel} color="secondary" disabled={submitState === SubmitState.SubmitSuccess} diff --git a/frontend/src/routes/sponsor/register/stepSubmitSuccess.tsx b/frontend/src/routes/sponsor/register/stepSubmitSuccess.tsx index b4d12a1cf4183080408f66f06ecc7dc0a0ac8dbb..f1e35d42563611a20ffbd8c969c78d03cf72ac90 100644 --- a/frontend/src/routes/sponsor/register/stepSubmitSuccess.tsx +++ b/frontend/src/routes/sponsor/register/stepSubmitSuccess.tsx @@ -26,6 +26,7 @@ const StepSubmitSuccess = () => { </Box> <Button + variant="contained" color="secondary" sx={{ marginTop: '2rem', diff --git a/frontend/src/themes/index.ts b/frontend/src/themes/index.ts index ba7369c063672e70170bc952960aba05e7b1ca5d..8434b7dbd3458385d032ce341fe3156c31a68d5a 100644 --- a/frontend/src/themes/index.ts +++ b/frontend/src/themes/index.ts @@ -15,6 +15,7 @@ declare module '@mui/material/styles' { deactivatedColor: string textWhite: string footerLinkBgColor: string + wizardButtonColor: string } } @@ -26,6 +27,7 @@ declare module '@mui/material/styles' { deactivatedColor?: string textWhite?: string footerLinkBgColor?: string + wizardButtonColor?: string } } } diff --git a/frontend/src/themes/uib.ts b/frontend/src/themes/uib.ts index 518a4535a8c319fd1683f86ab9cf68e5dfbd6d9e..501e9cab858c7cddee314af9774657efa139a053 100644 --- a/frontend/src/themes/uib.ts +++ b/frontend/src/themes/uib.ts @@ -6,6 +6,7 @@ import { ThemeOptions } from '@mui/material' const uibTheme: ThemeOptions = { greg: { footerLinkBgColor: '#383838', + wizardButtonColor: 'black', }, typography: { fontFamily: ['Open Sans', 'Roboto'].join(','), @@ -16,9 +17,7 @@ const uibTheme: ThemeOptions = { light: '#ff6c6a', }, secondary: { - main: '#63b5cc', - dark: '#4ea0b7', - light: '#7ed0e7', + main: '#4ea0b7', }, }, } diff --git a/frontend/src/themes/uio.ts b/frontend/src/themes/uio.ts index 89be1f7c1cf7c11b6a48f9e0f40238e03d78526c..bb39aecda7c798e9870d7e24c4d4e547a6965fb6 100644 --- a/frontend/src/themes/uio.ts +++ b/frontend/src/themes/uio.ts @@ -3,6 +3,7 @@ import { ThemeOptions } from '@mui/material' const uioTheme: ThemeOptions = { greg: { footerLinkBgColor: '#202020', + wizardButtonColor: 'black', }, palette: { primary: {