content: // @flow weak
  
  import React from 'react';
  import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
  import createPalette from 'material-ui/styles/palette';
  import WithTheme from './WithTheme';
  
  const theme = createMuiTheme({
    palette: createPalette({
      type: 'dark', // Switching the dark mode on is a single property value change.
    }),
  });
  
  function DarkTheme() {
    return (
      <MuiThemeProvider theme={theme}>
        <WithTheme />
      </MuiThemeProvider>
    );
  }
  
  export default DarkTheme;
  