0.13.9 • Published 3 years ago

@gametoken/uikit v0.13.9

Weekly downloads
329
License
MIT
Repository
github
Last release
3 years ago

🥞 GameTokenFi UIkit

Version Size

GameTokenFi 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 @gametoken/uikit

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

import { ResetCSS } from '@gametoken/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, please reference the Storybook documentation

0.13.9

3 years ago

0.13.7

3 years ago

0.13.8

3 years ago

0.13.2

4 years ago

0.13.3

4 years ago

0.13.4

4 years ago

0.13.5

4 years ago

0.13.1

4 years ago

0.12.7

4 years ago

0.12.9

4 years ago

0.12.6

4 years ago

0.12.5

4 years ago

0.12.4

4 years ago

0.12.3

4 years ago

0.12.0

4 years ago

0.12.2

4 years ago

0.11.9

4 years ago

0.11.8

4 years ago

0.11.7

4 years ago

0.11.6

4 years ago

0.11.4

4 years ago

0.11.5

4 years ago

0.11.3

4 years ago

0.11.2

4 years ago