@blackbullswap/uikit
TypeScript icon, indicating that this package has built-in type declarations

1.0.19 • Public • Published

Blackbullswap UIkit

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

Install

yarn add @blackbullswap/uikit

Setup

Theme

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

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

Reset

A reset CSS is available as a global styled component.

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

Types

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

/@blackbullswap/uikit/

    Package Sidebar

    Install

    npm i @blackbullswap/uikit

    Weekly Downloads

    0

    Version

    1.0.19

    License

    MIT

    Unpacked Size

    484 kB

    Total Files

    231

    Last publish

    Collaborators

    • blackbullswap