import { Global, css, ThemeProvider } from '@emotion/react'; import { normalize } from 'polished'; import { primary } from 'styles/colors'; import { primaryFonts, fontSize } from 'styles/fonts'; import { ReactNode } from 'react'; // TODO: Should allow configuration parameters passed as props const globalStyle = css` ${normalize()} html, body { height: 100%; font-family: ${primaryFonts}; font-size: ${fontSize.regular}; line-height: 1.143; } a { color: ${primary.main}; text-decoration: none; &:active { text-decoration: none; } } `; interface Props { rtl?: boolean; children: ReactNode; } const BaseApp = ({ children, rtl = false }: Props) => { const theme = { rtl, }; return ( <> {children} ); }; export default BaseApp;