0.1.1 • Published 5 years ago
@rock-kit/dark-theme v0.1.1
category: packages
dark-theme
A UI component theme for Rock Content products.
This theme meets the WCAG 2 Level AA 4.5:1 minimum contrast requirements.
Installation
yarn add @rock-kit/dark-theme
Usage
Before mounting (rendering) your React application:
import { theme } from '@rock-kit/dark-theme'
theme.use()
To override the variables:
theme.use({ overrides: { colors: { brand: 'red' } } })