0.14.0 • Published 3 years ago

@pornswap/pornswap-uikit v0.14.0

Weekly downloads
1,045
License
MIT
Repository
github
Last release
3 years ago

💋 PornSwap UIkit

Version Size

PornSwap UIkit is a set of React components and hooks used to build pages on PornSwap's apps. It also contains a theme file for dark and light mode.

Install

yarn add @pornswap/pornswap-uikit

Setup

Theme

Before using PornSwap UIkit, you need to provide the theme file to styled-component.

import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pornswap/pornswap-uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@pornswap/pornswap-uikit'
...
<ResetCSS />

Types

This project is built with Typescript and export all the relevant types.

How to use the UIkit

If you want to use components from the UIkit, check the Storybook documentation

0.14.0

3 years ago

0.13.30

3 years ago

0.13.29

3 years ago

0.13.28

3 years ago

0.13.27

3 years ago

0.13.26

3 years ago

0.13.25

3 years ago

0.13.24

3 years ago

0.13.23

3 years ago

0.13.22

3 years ago

0.13.21

3 years ago

0.13.20

3 years ago

0.13.19

3 years ago

0.13.18

3 years ago

0.13.17

3 years ago

0.13.16

3 years ago

0.13.15

3 years ago

0.13.14

3 years ago

0.13.13

3 years ago

0.13.12

3 years ago

0.13.11

3 years ago

0.13.10

3 years ago

0.13.6

3 years ago

0.13.7

3 years ago

0.13.8

3 years ago

0.13.9

3 years ago

0.13.5

3 years ago

0.13.4

3 years ago

0.13.3

3 years ago

0.13.2

3 years ago

0.13.1

3 years ago

0.13.0

3 years ago