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 {
40 const arvadosPurple = '#361336';
41 const grey500 = grey["500"];
42 const grey600 = grey["600"];
43 const grey700 = grey["700"];
44 const grey900 = grey["900"];
46 export const themeOptions: ArvadosThemeOptions = {
48 useNextVariants: true,
52 green700: green["700"],
53 green800: green["800"],
54 yellow100: yellow["100"],
55 yellow700: yellow["700"],
56 yellow900: yellow["900"],
62 purple: arvadosPurple,
74 backgroundColor: arvadosPurple
82 backgroundColor: arvadosPurple
123 MuiExpansionPanelDetails: {
126 paddingBottom: '4px',
129 MuiExpansionPanelSummary: {
151 borderBottomColor: arvadosPurple
153 '&:hover:not($disabled):not($focused):not($error):before': {
154 borderBottom: '1px solid inherit'
160 fontSize: '0.875rem',
162 "&$focused:not($error)": {
193 export const CustomTheme = createMuiTheme(themeOptions);