export default (theme: any) => { const { color, background, fontSize, lineHeight, fontFamily, linkColor, linkColorHover, linkDecoration, linkDecorationHover } = theme return ` html { box-sizing: border-box; font-family: sans-serif; line-height: 1.15; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } *, *::before, *::after { box-sizing: inherit; } body { margin: 0; font-family: ${fontFamily}; font-size: ${fontSize}; font-weight: normal; line-height: ${lineHeight}; color: ${color}; background-color: ${background}; } h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; } p { margin-top: 0; margin-bottom: 1rem; } ` }