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 {
37 const arvadosPurple = '#361336';
38 const grey500 = grey['500'];
39 const grey600 = grey['600'];
40 const grey700 = grey['700'];
41 const grey900 = grey['900'];
43 export const themeOptions: ArvadosThemeOptions = {
45 useNextVariants: true,
49 green700: green['700'],
50 yellow100: yellow['100'],
51 yellow700: yellow['700'],
52 yellow900: yellow['900'],
57 purple: arvadosPurple,
64 fontSize: '0.8125rem',
69 backgroundColor: arvadosPurple,
77 backgroundColor: arvadosPurple,
106 alignItems: 'center',
118 MuiExpansionPanelDetails: {
121 paddingBottom: '4px',
124 MuiExpansionPanelSummary: {
142 fontSize: '0.875rem',
146 borderBottomColor: arvadosPurple,
148 '&:hover:not($disabled):not($focused):not($error):before': {
149 borderBottom: '1px solid inherit',
155 fontSize: '0.875rem',
157 '&$focused:not($error)': {
158 color: arvadosPurple,
166 color: arvadosPurple,
183 contrastText: '#fff',
188 export const CustomTheme = createMuiTheme(themeOptions);