Add --local option to command of a new process
[arvados-workbench2.git] / src / components / default-code-snippet / default-code-snippet.tsx
index 474c38a174c55adf0a595f05ce1c0081b88fd72f..c81865dbd30ad8563c175498d220cc82e77a2dc7 100644 (file)
@@ -11,21 +11,20 @@ const theme = createMuiTheme({
     overrides: {
         MuiTypography: {
             body1: {
-                color: grey["200"]
+                color: grey["900"]
             },
             root: {
-                backgroundColor: '#000'
+                backgroundColor: grey["200"]
             }
         }
     },
     typography: {
-        fontFamily: 'VT323'
+        fontFamily: 'monospace',
+        useNextVariants: true,
     }
 });
 
-type DefaultCodeSnippet = CodeSnippetDataProps;
-
-export const DefaultCodeSnippet = (props: DefaultCodeSnippet) => 
+export const DefaultCodeSnippet = (props: CodeSnippetDataProps) => 
     <MuiThemeProvider theme={theme}>
-        <CodeSnippet lines={props.lines} />
+        <CodeSnippet {...props} />
     </MuiThemeProvider>;
\ No newline at end of file