Enable useNextVariants and replace depracated typography variants
[arvados-workbench2.git] / src / common / custom-theme.ts
index f7559eed08050876519c215745d45e447d9cb0b0..0faf781d6d27edbcb8b09db7496902927ffb8feb 100644 (file)
@@ -39,6 +39,9 @@ const grey900 = grey["900"];
 const rocheBlue = '#06C';
 
 export const themeOptions: ArvadosThemeOptions = {
+    typography: {
+        useNextVariants: true,
+    },
     customs: {
         colors: {
             green700: green["700"],
@@ -148,7 +151,7 @@ export const themeOptions: ArvadosThemeOptions = {
             dark: teal.A400,
             contrastText: '#fff'
         }
-    }
+    },
 };
 
 export const CustomTheme = createMuiTheme(themeOptions);
\ No newline at end of file