0.42.16 • Published 2 years ago
@olive-libs/uikit v0.42.16
🫒 Olive UIKit
Olive UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.
Install
yarn add @olive-libs/uikit
Setup
Theme
Before using Olive UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@olive-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from '@olive-libs/uikit'
...
<ResetCSS />
Types
This project is built with Typescript and export all the relevant types.
0.42.10
2 years ago
0.42.8
2 years ago
0.42.9
2 years ago
0.42.12
2 years ago
0.42.6
2 years ago
0.42.11
2 years ago
0.42.7
2 years ago
0.42.13
2 years ago
0.42.16
2 years ago
0.42.15
2 years ago
0.42.5
4 years ago
0.42.4
4 years ago
0.42.3
4 years ago
0.42.1
4 years ago
0.40.4
4 years ago
0.35.5
4 years ago
0.35.4
4 years ago
0.35.3
4 years ago
0.35.2
4 years ago
0.35.1
4 years ago
0.35.9
4 years ago
0.35.8
4 years ago
0.35.7
4 years ago
0.35.6
4 years ago
0.29.3
4 years ago
0.29.2
4 years ago
0.25.5
4 years ago
0.25.4
4 years ago