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 {
38 const arvadosPurple = '#361336';
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"],
58 purple: arvadosPurple,
65 fontSize: '0.8125rem',
70 backgroundColor: arvadosPurple,
78 backgroundColor: arvadosPurple,
107 alignItems: 'center',
119 MuiExpansionPanelDetails: {
122 paddingBottom: '4px',
125 MuiExpansionPanelSummary: {
143 fontSize: '0.875rem',
147 borderBottomColor: arvadosPurple,
149 '&:hover:not($disabled):not($focused):not($error):before': {
150 borderBottom: '1px solid inherit',
156 fontSize: '0.875rem',
158 '&$focused:not($error)': {
159 color: arvadosPurple,
167 color: arvadosPurple,
184 contrastText: '#fff',
189 export const CustomTheme = createMuiTheme(themeOptions);