0.0.1 • Published 4 years ago

@temporg/dark-theme v0.0.1

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

category: packages

dark-theme

npm build-status MIT License Code of Conduct

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 @temporg/dark-theme

Usage

Before mounting (rendering) your React application:

import { theme } from '@temporg/dark-theme'
theme.use()

To override the variables:

theme.use({ overrides: { colors: { brand: 'red' } } })