/** @jsxRuntime classic */ /** @jsx jsx */ import { Fragment, type ReactNode } from 'react' import { jsx, Global } from '../emotion' import { normalize } from '../normalize' import { useTheme } from '../theme' type CoreProps = { /** The app content. */ children: ReactNode /** Include styles to normalize element styles among browsers. */ includeNormalize?: boolean /** Optimize text rendering with CSS. */ optimizeLegibility?: boolean } export const Core = ({ children, includeNormalize = true, optimizeLegibility = true, }: CoreProps) => { return ( {children} ) } // Base CSS // ------------------------------ type BaseCSSProps = Omit const BaseCSS = ({ includeNormalize, optimizeLegibility }: BaseCSSProps) => { const { typography, colors } = useTheme() return ( {includeNormalize && } ) }