0.1.20 • Published 2 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
2 years ago
0.1.10
2 years ago
0.1.11
2 years ago
0.1.12
2 years ago
0.1.13
2 years ago
0.1.14
2 years ago
0.1.15
2 years ago
0.1.2
2 years ago
0.1.16
2 years ago
0.1.8
2 years ago
0.1.17
2 years ago
0.1.7
2 years ago
0.1.18
2 years ago
0.1.19
2 years ago
0.1.9
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.0
2 years ago