curls
Version:
💪 Responsive, expressive UI primitives for React written with Style Hooks and Emotion
19 lines (18 loc) • 708 B
JavaScript
import {css} from '@emotion/core'
import {antialias, optimizeFor} from './styles'
const hiDPI =
'\n @media only screen and (-webkit-min-device-pixel-ratio: 2),\n only screen and (min--moz-device-pixel-ratio: 2),\n only screen and (-o-min-device-pixel-ratio: 2/1),\n only screen and (min-resolution: 192dpi),\n only screen and (min-resolution: 2dppx)\n '
export default /*#__PURE__*/
css(
'html{word-wrap:break-word;text-size-adjust:100%;}pre{-webkit-font-smoothing:auto;font-smoothing:auto;}body{',
optimizeFor.speed,
';',
hiDPI,
'{',
optimizeFor.legibility,
';',
antialias,
';}}h1,h2,h3,h4,h5,h6{',
optimizeFor.legibility,
';}p{line-height:1.5;margin-bottom:1em;}'
)