X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7df4149100f41cc8d4a5438630ba95a1d72409a1..7ae86efd9905582df4191910528c3803a68ba81b:/src/common/custom-theme.ts diff --git a/src/common/custom-theme.ts b/src/common/custom-theme.ts index c85acd9089..e5d2e5e78c 100644 --- a/src/common/custom-theme.ts +++ b/src/common/custom-theme.ts @@ -16,11 +16,17 @@ interface ArvadosThemeOptions extends ThemeOptions { } export interface ArvadosTheme extends Theme { - customs: any; + customs: { + colors: Colors + }; +} + +interface Colors { + green700: string; + yellow700: string; } const red900 = red["900"]; -const yellow700 = yellow["700"]; const purple800 = purple["800"]; const grey200 = grey["200"]; const grey300 = grey["300"]; @@ -32,7 +38,8 @@ const grey900 = grey["900"]; const themeOptions: ArvadosThemeOptions = { customs: { colors: { - green700: green["700"] + green700: green["700"], + yellow700: yellow["700"] } }, overrides: { @@ -74,6 +81,21 @@ const themeOptions: ArvadosThemeOptions = { root: { fontSize: '1.25rem' } + }, + MuiCardHeader: { + avatar: { + display: 'flex', + alignItems: 'center' + }, + title: { + color: grey700, + fontSize: '1.25rem' + } + }, + MuiMenuItem: { + root: { + padding: '8px 16px' + } } }, mixins: {