🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more
Socket
Book a DemoInstallSign in
Socket

@instructure/canvas-theme

Package Overview
Dependencies
Maintainers
41
Versions
1774
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instructure/canvas-theme

A theme for Canvas LMS made by Instructure Inc.

Source
npmnpm
Version
11.0.2-snapshot-1
Version published
Weekly downloads
14K
-15.22%
Maintainers
41
Weekly downloads
 
Created
Source

canvas-theme

npm MIT License Code of Conduct

A UI component theme made by Instructure Inc.

This theme has WCAG 2.1 Level AA minimum contrast requirement.

Installation

npm install @instructure/canvas-theme

Usage

Before mounting (rendering) your React application:

import { theme } from '@instructure/canvas-theme'

ReactDOM.render(
  <InstUISettingsProvider theme={theme}>
    <App />
  </InstUISettingsProvider>,
  element
)

To override the variables:

import { theme } from '@instructure/canvas-theme'
const themeOverrides = { spacing: { xxxSmall: '0.3rem' } }

ReactDOM.render(
  <InstUISettingsProvider theme={{ ...theme, ...themeOverrides }}>
    <App />
  </InstUISettingsProvider>,
  element
)

FAQs

Package last updated on 17 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts