X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f724a564f37f4e2d48c2c1b929d739d821df48fe..fc3d9ac09fbb1cdc4fb4b00f2f704795ad365110:/src/common/custom-theme.ts diff --git a/src/common/custom-theme.ts b/src/common/custom-theme.ts index ecad39134d..c4d3dbc358 100644 --- a/src/common/custom-theme.ts +++ b/src/common/custom-theme.ts @@ -11,7 +11,7 @@ import green from '@material-ui/core/colors/green'; import yellow from '@material-ui/core/colors/yellow'; import red from '@material-ui/core/colors/red'; -interface ArvadosThemeOptions extends ThemeOptions { +export interface ArvadosThemeOptions extends ThemeOptions { customs: any; } @@ -24,6 +24,9 @@ export interface ArvadosTheme extends Theme { interface Colors { green700: string; yellow700: string; + red900: string; + blue500: string; + grey500: string; } const red900 = red["900"]; @@ -34,12 +37,16 @@ const grey500 = grey["500"]; const grey600 = grey["600"]; const grey700 = grey["700"]; const grey900 = grey["900"]; +const rocheBlue = '#06C'; -const themeOptions: ArvadosThemeOptions = { +export const themeOptions: ArvadosThemeOptions = { customs: { colors: { green700: green["700"], - yellow700: yellow["700"] + yellow700: yellow["700"], + red900: red['900'], + blue500: blue['500'], + grey500, } }, overrides: { @@ -98,6 +105,9 @@ const themeOptions: ArvadosThemeOptions = { } }, MuiInput: { + root: { + fontSize: '0.875rem' + }, underline: { '&:after': { borderBottomColor: purple800 @@ -108,6 +118,9 @@ const themeOptions: ArvadosThemeOptions = { } }, MuiFormLabel: { + root: { + fontSize: '0.875rem' + }, focused: { "&$focused:not($error)": { color: purple800 @@ -122,7 +135,7 @@ const themeOptions: ArvadosThemeOptions = { }, palette: { primary: { - main: '#06C', + main: rocheBlue, dark: blue.A100 } }