@raid-ui/theme

0.20.0 • Public • Published

@raid-ui/theme

Base theme object for @raid-ui

npm minzip size License js-standard-style

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.

Package Sidebar

Install

npm i @raid-ui/theme

Weekly Downloads

1

Version

0.20.0

License

MIT

Unpacked Size

13.3 kB

Total Files

5

Last publish

Collaborators

  • mattstyles