@raid-ui/theme
v0.20.0
Published
Base theme object for @raid-ui design system
Downloads
61
Maintainers
Readme
@raid-ui/theme
Base theme object for @raid-ui
Part of React-kit.
## Getting Started
import { ThemeProvider } from 'styled-components'
// import theme from '@raid-ui/theme/theme.json'
import { theme } from '@raid-ui/theme'
<ThemeProvider theme={theme}>...</ThemeProvider>
A serialised json is exposed via @raid-ui/theme/theme.json
but note that currently some of the theme are functions, which can not be serialised. This will currently base some typographic styling, possibly some component variants too. Importing the object form directly will work.