0.1.20 • Published 4 years ago
@ponyswapdex/uikit v0.1.20
Pony UIkit
Pony UIkit is a set of React components and hooks used to build pages on Pony's apps. It also contains a theme file for dark and light mode.
Install
yarn add @ponyswapdex/uikit
Setup
Theme
Before using Pony UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@ponyswapdex/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from '@ponyswapdex/uikit'
...
<ResetCSS />Types
This project is built with Typescript and export all the relevant types.
0.1.20
4 years ago
0.1.10
4 years ago
0.1.11
4 years ago
0.1.12
4 years ago
0.1.13
4 years ago
0.1.14
4 years ago
0.1.15
4 years ago
0.1.2
4 years ago
0.1.16
4 years ago
0.1.8
4 years ago
0.1.17
4 years ago
0.1.7
4 years ago
0.1.18
4 years ago
0.1.19
4 years ago
0.1.9
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.0
4 years ago