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';
14 interface ArvadosThemeOptions extends ThemeOptions {
18 export interface ArvadosTheme extends Theme {
29 const red900 = red["900"];
30 const purple800 = purple["800"];
31 const grey200 = grey["200"];
32 const grey300 = grey["300"];
33 const grey500 = grey["500"];
34 const grey600 = grey["600"];
35 const grey700 = grey["700"];
36 const grey900 = grey["900"];
37 const rocheBlue = '#06C';
39 const themeOptions: ArvadosThemeOptions = {
42 green700: green["700"],
43 yellow700: yellow["700"]
54 backgroundColor: purple800
62 backgroundColor: purple800
107 borderBottomColor: purple800
109 '&:hover:not($disabled):not($focused):not($error):before': {
110 borderBottom: '1px solid inherit'
119 "&$focused:not($error)": {
138 export const CustomTheme = createMuiTheme(themeOptions);