Skip to content
Snippets Groups Projects
Commit c337b158 authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-157: Updates to buttons to make them more like Figma design

parent a09d1c34
No related branches found
No related tags found
1 merge request!220GREG-157: Changing background colour of link section to create more contrast with text colour
Pipeline #105428 passed
......@@ -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}
......
......@@ -26,6 +26,7 @@ const StepSubmitSuccess = () => {
</Box>
<Button
variant="contained"
color="secondary"
sx={{
marginTop: '2rem',
......
......@@ -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
}
}
}
......
......@@ -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',
},
},
}
......
......@@ -3,6 +3,7 @@ import { ThemeOptions } from '@mui/material'
const uioTheme: ThemeOptions = {
greg: {
footerLinkBgColor: '#202020',
wizardButtonColor: 'black',
},
palette: {
primary: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment