0.16.20 • Published 3 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
3 years ago
0.16.19
3 years ago
0.16.18
3 years ago
0.16.17
3 years ago
0.16.15
3 years ago
0.16.16
3 years ago
0.16.14
3 years ago
0.16.10
3 years ago
0.16.11
3 years ago
0.16.12
3 years ago
0.16.13
3 years ago
0.16.5
3 years ago
0.16.6
3 years ago
0.16.7
3 years ago
0.16.8
3 years ago
0.16.9
3 years ago
0.16.4
3 years ago
0.16.3
3 years ago
0.16.2
3 years ago
0.16.1
3 years ago
0.16.0
3 years ago
0.1.0
3 years ago