Components
Global Styles
A component to add global styles that are required by Outkit.
Import
import { GlobalStyles } from '@outfitio/outkit';
Usage
<ThemeProvider><GlobalStyles fontImports={false} /><div>...</div></ThemeProvider>
Props
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
cssReset | bool | No | true | When true, the Chakra UI CSS Reset is applied. This is required by Outkit! |
fontImports | bool | No | true | When true, all required fonts by Outkit will be imported. If false, you must do this in your own application manually. |
fontStyles | bool | No | true | When true, some font styles will be applied to the body. This is required by Outkit! If false, you must do this in your own application manually. |