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