0.2.3 • Published 4 years ago
@matrixdefi/uikit v0.2.3
Panther UIkit
Panther UIkit is a set of React components and hooks used to build pages on Panther's apps. It also contains a theme file for dark and light mode.
Install
yarn add @pantherswap-libs/uikit
Setup
Theme
Before using Panther UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pantherswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from '@pantherswap-libs/uikit'
...
<ResetCSS />
Types
This project is built with Typescript and export all the relevant types.
0.2.3
4 years ago
0.2.2
4 years ago
0.1.22
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.21
4 years ago
0.1.20
4 years ago
0.1.16
4 years ago
0.1.17
4 years ago
0.1.18
4 years ago
0.1.19
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.8
4 years ago
0.1.7
4 years ago
0.1.9
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago