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

PropertyTypeRequiredDefaultDescription
cssResetboolNotrueWhen true, the Chakra UI CSS Reset is applied. This is required by Outkit!
fontImportsboolNotrueWhen true, all required fonts by Outkit will be imported. If false, you must do this in your own application manually.
fontStylesboolNotrueWhen 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.