17782: Fixes almost all tests (4 left) mostly by fixing namespace-type imports.
[arvados-workbench2.git] / src / views / process-log-panel / process-log-code-snippet.tsx
index d02fc02ce1431c74a2aefdaf4137991d0552ba61..d1756c77520695449cb4260163c5932428b7d938 100644 (file)
@@ -2,9 +2,9 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
 import { MuiThemeProvider, createMuiTheme, StyleRulesCallback, withStyles, WithStyles } from '@material-ui/core/styles';
-import { CodeSnippet } from '~/components/code-snippet/code-snippet';
+import { CodeSnippet } from 'components/code-snippet/code-snippet';
 import grey from '@material-ui/core/colors/grey';
 
 type CssRules = 'codeSnippet';
@@ -18,7 +18,7 @@ const styles: StyleRulesCallback<CssRules> = () => ({
 const theme = createMuiTheme({
     overrides: {
         MuiTypography: {
-            body1: {
+            body2: {
                 color: grey["200"]
             },
             root: {
@@ -27,7 +27,8 @@ const theme = createMuiTheme({
         }
     },
     typography: {
-        fontFamily: 'monospace'
+        fontFamily: 'monospace',
+        useNextVariants: true,
     }
 });