0.0.2 • Published 4 years ago
@axistor/uikit v0.0.2
🥞 Axistor UIkit
Axistor UIkit is a set of React components and hooks used to build pages on Axistor's apps. It also contains a theme file for dark and light mode.
Install
yarn add @axistor/uikit
Setup
Theme
Before using Axistor UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@axistor/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from '@axistor/uikit'
...
<ResetCSS />