X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/b1f6165cbc3db9a248fa06542dffa93814c9dbe2..4b961d16b8f8ef8afbd13697a79fe4684acd0416:/src/common/custom-theme.ts diff --git a/src/common/custom-theme.ts b/src/common/custom-theme.ts index 3d56f78b..0faf781d 100644 --- a/src/common/custom-theme.ts +++ b/src/common/custom-theme.ts @@ -27,8 +27,7 @@ interface Colors { yellow700: string; red900: string; blue500: string; - grey500: string; - grey700: string; + purple: string; } const arvadosPurple = '#361336'; @@ -40,14 +39,16 @@ const grey900 = grey["900"]; const rocheBlue = '#06C'; export const themeOptions: ArvadosThemeOptions = { + typography: { + useNextVariants: true, + }, customs: { colors: { green700: green["700"], yellow700: yellow["700"], red900: red['900'], blue500: blue['500'], - grey500, - grey700 + purple: arvadosPurple } }, overrides: { @@ -127,6 +128,16 @@ export const themeOptions: ArvadosThemeOptions = { color: arvadosPurple } } + }, + MuiStepIcon: { + root: { + '&$active': { + color: arvadosPurple + }, + '&$completed': { + color: 'inherited' + }, + } } }, mixins: { @@ -137,10 +148,10 @@ export const themeOptions: ArvadosThemeOptions = { palette: { primary: { main: teal.A700, - dark: blue.A100, + dark: teal.A400, contrastText: '#fff' } - } + }, }; export const CustomTheme = createMuiTheme(themeOptions); \ No newline at end of file