@raid-ui/theme

Base theme object for @raid-ui design system

Usage no npm install needed!

<script type="module">
  import raidUiTheme from 'https://cdn.skypack.dev/@raid-ui/theme';
</script>

README

@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.