import React from 'react' ; import ReactDOM from 'react-dom' ; import App from './App' ; import * as serviceWorker from './serviceWorker' ; import { createGlobalStyle , THEME , ThemeProvider } from './styling' ; const GlobalStyle = createGlobalStyle `
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
      'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
      sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
      monospace;
  }
` ; ReactDOM . render ( < ThemeProvider theme = { THEME } > < GlobalStyle /> < App / > < /ThemeProvider>, document.getElementById('root')); serviceWorker . unregister ( ) ;