Package Exports
- @instructure/instructure-theme
Readme
category: packages
instructure-theme
A UI component theme for Instructure made by Instructure Inc.
This theme has a 3:1 minimum contrast requirement.
Installation
yarn add @instructure/instructure-themeUsage
Before mounting (rendering) your React application:
import { theme } from '@instructure/instructure-theme'
theme.use()To override the variables:
theme.use({ overrides: { colors: { brand: 'red' } } })