JSPM

@instructure/instructure-theme

7.3.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4696
  • Score
    100M100P100Q132354F
  • License MIT

A theme for Instructure made by Instructure Inc.

Package Exports

  • @instructure/instructure-theme

Readme


category: packages

instructure-theme

npm build-status MIT License Code of Conduct

A UI component theme for Instructure made by Instructure Inc.

This theme has a 3:1 minimum contrast requirement.

Installation

yarn add @instructure/instructure-theme

Usage

Before mounting (rendering) your React application:

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

To override the variables:

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