import * as React from 'react' ; import styled , { ThemeProvider } from 'styled-components' ; import { getTheme } from '../theme' ; const language = process . env . REACT_APP_LANGUAGE ? process . env . REACT_APP_LANGUAGE : 'en' ; const Wrapper = styled . div `
  * {
    box-sizing: border-box;
  }
  /* stylelint-disable */
  background: #ebf1f3;
  /* stylelint-enable */
  padding: 2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
` ; export class ThemeWrapper extends React . Component { render ( ) { return ( < Wrapper > < ThemeProvider theme = { getTheme ( language ) } > { this . props . children as any } < /ThemeProvider> < /Wrapper>); } } export { ThemeWrapper as default } ;