0.42.16 • Published 8 months 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
9 months ago
0.42.8
9 months ago
0.42.9
9 months ago
0.42.12
9 months ago
0.42.6
9 months ago
0.42.11
9 months ago
0.42.7
9 months ago
0.42.13
9 months ago
0.42.16
8 months ago
0.42.15
9 months ago
0.42.5
3 years ago
0.42.4
3 years ago
0.42.3
3 years ago
0.42.1
3 years ago
0.40.4
3 years ago
0.35.5
3 years ago
0.35.4
3 years ago
0.35.3
3 years ago
0.35.2
3 years ago
0.35.1
3 years ago
0.35.9
3 years ago
0.35.8
3 years ago
0.35.7
3 years ago
0.35.6
3 years ago
0.29.3
3 years ago
0.29.2
3 years ago
0.25.5
3 years ago
0.25.4
3 years ago