Merge branch 'master' into 14644-nanh-nanm-in-subprocess-view
[arvados-workbench2.git] / src / common / custom-theme.ts
index ff0eb5e34ce7449f672464485b5879cc98f5d382..0faf781d6d27edbcb8b09db7496902927ffb8feb 100644 (file)
@@ -27,6 +27,7 @@ interface Colors {
     yellow700: string;
     red900: string;
     blue500: string;
+    purple: string;
 }
 
 const arvadosPurple = '#361336';
@@ -38,12 +39,16 @@ const grey900 = grey["900"];
 const rocheBlue = '#06C';
 
 export const themeOptions: ArvadosThemeOptions = {
+    typography: {
+        useNextVariants: true,
+    },
     customs: {
         colors: {
             green700: green["700"],
             yellow700: yellow["700"],
             red900: red['900'],
             blue500: blue['500'],
+            purple: arvadosPurple
         }
     },
     overrides: {
@@ -123,6 +128,16 @@ export const themeOptions: ArvadosThemeOptions = {
                     color: arvadosPurple
                 }
             }
+        },
+        MuiStepIcon: {
+            root: {
+                '&$active': {
+                    color: arvadosPurple
+                },
+                '&$completed': {
+                    color: 'inherited'
+                },
+            }
         }
     },
     mixins: {
@@ -133,10 +148,10 @@ export const themeOptions: ArvadosThemeOptions = {
     palette: {
         primary: {
             main: teal.A700,
-            dark: blue.A100,
+            dark: teal.A400,
             contrastText: '#fff'
         }
-    }
+    },
 };
 
 export const CustomTheme = createMuiTheme(themeOptions);
\ No newline at end of file