0.1.25 • Published 4 years ago
@sponge-libs/uikit v0.1.25
Sponge UIkit (fork Pancake)
Sponge UIkit is a set of React components and hooks used to build pages on Sponge's apps. It also contains a theme file for dark and light mode.
Install
yarn add @sponge-libs/uikit
Setup
Theme
Before using Sponge UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@sponge-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from '@sponge-libs/uikit'
...
<ResetCSS />
Types
This project is built with Typescript and export all the relevant types.
0.1.25
4 years ago
0.1.24
4 years ago
0.1.23
4 years ago
0.1.22
4 years ago
0.1.20
4 years ago
0.1.21
4 years ago
0.1.17
4 years ago
0.1.18
4 years ago
0.1.19
4 years ago
0.1.16
4 years ago
0.1.14
4 years ago
0.1.15
4 years ago
0.1.13
4 years ago
0.1.12
4 years ago
0.1.10
4 years ago
0.1.11
4 years ago
0.1.8
4 years ago
0.1.9
4 years ago
0.1.7
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