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