0.1.1 • Published 5 years ago
@rock-kit/ui-themes v0.1.1
category: packages
ui-themes
Installation
yarn add @rock-kit/ui-themes
Usage
Before mounting (rendering) your React application:
import { light } from '@rock-kit/ui-themes'
light.use()
To override the variables:
theme.use({ overrides: { colors: { brand: 'red' } } })
To use the high contrast theme:
import { dark } from '@rock-kit/ui-themes'
dark.use()