0.16.20 • Published 4 years ago
polar-uikit v0.16.20
Polar UIkit
Polar UIkit is a set of React components and hooks used to build pages on Polaris's apps. It also contains a theme file for dark and light mode.
Install
yarn add polar-uikit
Setup
Theme
Before using Polar UIkit, you need to provide the theme file to styled-component.
import { ThemeProvider } from 'styled-components'
import { light, dark } from 'polar-uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
Reset
A reset CSS is available as a global styled component.
import { ResetCSS } from 'polar-uikit'
...
<ResetCSS />
Types
This project is built with Typescript and export all the relevant types.
0.16.20
4 years ago
0.16.19
4 years ago
0.16.18
4 years ago
0.16.17
4 years ago
0.16.15
4 years ago
0.16.16
4 years ago
0.16.14
4 years ago
0.16.10
4 years ago
0.16.11
4 years ago
0.16.12
4 years ago
0.16.13
4 years ago
0.16.5
4 years ago
0.16.6
4 years ago
0.16.7
4 years ago
0.16.8
4 years ago
0.16.9
4 years ago
0.16.4
4 years ago
0.16.3
4 years ago
0.16.2
4 years ago
0.16.1
4 years ago
0.16.0
4 years ago
0.1.0
4 years ago