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