Normalize
Smooth UI includes a Normalize component, it is strongly recommended to use it. Several global CSS codes are injected:
- Normalize abnormalities across browsers, see polished
normalize. - Enable theme fonts, by default System fonts are used.
- Set
box-sizingtoborder-box, most of time it is easier for you.
Usage
Import Normalize from @smooth-ui/core-sc or @smooth-ui/core-em, then add it to the root of your application.
import React from 'react'import { Normalize } from '@smooth-ui/core-sc'function App() {return (<><Normalize />{/* Your code ... */}</>)}