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 purple from '@material-ui/core/colors/purple';
8 import blue from '@material-ui/core/colors/blue';
9 import grey from '@material-ui/core/colors/grey';
10 import green from '@material-ui/core/colors/green';
11 import yellow from '@material-ui/core/colors/yellow';
12 import red from '@material-ui/core/colors/red';
13 import teal from '@material-ui/core/colors/teal';
15 export interface ArvadosThemeOptions extends ThemeOptions {
19 export interface ArvadosTheme extends Theme {
33 const arvadosPurple = '#361336';
34 const purple800 = purple["800"];
35 const grey500 = grey["500"];
36 const grey600 = grey["600"];
37 const grey700 = grey["700"];
38 const grey900 = grey["900"];
39 const rocheBlue = '#06C';
41 export const themeOptions: ArvadosThemeOptions = {
43 useNextVariants: true,
47 green700: green["700"],
48 yellow700: yellow["700"],
62 backgroundColor: arvadosPurple
70 backgroundColor: arvadosPurple
111 MuiExpansionPanelDetails: {
114 paddingBottom: '4px',
117 MuiExpansionPanelSummary: {
139 borderBottomColor: arvadosPurple
141 '&:hover:not($disabled):not($focused):not($error):before': {
142 borderBottom: '1px solid inherit'
148 fontSize: '0.875rem',
150 "&$focused:not($error)": {
181 export const CustomTheme = createMuiTheme(themeOptions);