0.14.7 • Published 3 years ago

@yieldbay-libs/uikit v0.14.7

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

🌴 Yieldbay UIkit

Version Size

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

Install

yarn add @yieldbay-libs/uikit

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

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

Types

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

0.14.7

3 years ago

0.13.8

3 years ago

0.14.1

3 years ago

0.14.4

3 years ago

0.13.5

3 years ago

0.13.2

3 years ago

0.12.9

3 years ago

0.12.0

3 years ago

0.12.3

3 years ago

0.11.2

3 years ago

0.11.1

3 years ago

0.11.0

3 years ago