1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { createMuiTheme } from '@material-ui/core/styles';
6 import { ThemeOptions, Theme } from '@material-ui/core/styles/createMuiTheme';
7 import blue from '@material-ui/core/colors/blue';
8 import grey from '@material-ui/core/colors/grey';
9 import green from '@material-ui/core/colors/green';
10 import yellow from '@material-ui/core/colors/yellow';
11 import red from '@material-ui/core/colors/red';
12 import teal from '@material-ui/core/colors/teal';
14 export interface ArvadosThemeOptions extends ThemeOptions {
18 export interface ArvadosTheme extends Theme {
32 const arvadosPurple = '#361336';
33 const grey600 = grey["600"];
34 const grey700 = grey["700"];
35 const grey900 = grey["900"];
37 export const themeOptions: ArvadosThemeOptions = {
39 useNextVariants: true,
43 green700: green["700"],
44 yellow700: yellow["700"],
58 backgroundColor: arvadosPurple
66 backgroundColor: arvadosPurple
107 MuiExpansionPanelDetails: {
110 paddingBottom: '4px',
113 MuiExpansionPanelSummary: {
135 borderBottomColor: arvadosPurple
137 '&:hover:not($disabled):not($focused):not($error):before': {
138 borderBottom: '1px solid inherit'
144 fontSize: '0.875rem',
146 "&$focused:not($error)": {
177 export const CustomTheme = createMuiTheme(themeOptions);