JSPM

@instructure/instructure-theme

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

A theme for Instructure made by Instructure Inc.

Package Exports

  • @instructure/instructure-theme
  • @instructure/instructure-theme/package.json

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' } } })