0.1.1 • Published 5 years ago

@rock-kit/ui-themes v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

category: packages

ui-themes

npm  build-status  MIT License  Code of Conduct

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()
0.1.1

5 years ago

0.1.0

5 years ago