2.0.4 • Published 5 years ago
@libra-world-uikit/uikit v2.0.4
@libra-world/uikit
A kit with styled-components and styled-systems.
Live Playground
To run that demo on your own computer:
- Clone this repository
yarn install && yarn bootstrap
yarn storybook
- Visit http://localhost:6006/
Getting Started
Install
yarn add @libra-world-uikit/uikit styled-components
Include component
import {Button, Box, Flex} from '@libra-world-uikit/uikit'
Theming
@libra-world-uikit/uikit
supports theming with Styled components ThemeProvider
and
Styled System
theme-based style.
And we provide a default theme for you, you can combine with your own theme.
<ThemeProvider
theme={{
breakpoints: ['32em', '48em', '64em'],
}}
>
...
</ThemeProvider>