@instructure/canvas-high-contrast-theme 10.22.1-snapshot-1 → 10.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +4 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [10.23.0](https://github.com/instructure/instructure-ui/compare/v10.22.0...v10.23.0) (2025-07-09)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/canvas-high-contrast-theme
|
|
9
9
|
|
package/README.md
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
---
|
|
2
|
-
category: packages
|
|
3
|
-
---
|
|
4
|
-
|
|
5
1
|
## canvas-high-contrast-theme
|
|
6
2
|
|
|
7
3
|
[![npm][npm]][npm-url]
|
|
8
4
|
[![MIT License][license-badge]][license]
|
|
9
5
|
[![Code of Conduct][coc-badge]][coc]
|
|
10
6
|
|
|
11
|
-
A high contrast UI component theme
|
|
7
|
+
A high contrast UI component theme made by Instructure Inc.
|
|
12
8
|
|
|
13
|
-
This theme meets the WCAG 2 Level
|
|
9
|
+
This theme meets the WCAG 2.1 Level AAA minimum contrast requirements.
|
|
14
10
|
|
|
15
11
|
### Installation
|
|
16
12
|
|
|
@@ -22,7 +18,7 @@ npm install @instructure/canvas-high-contrast-theme
|
|
|
22
18
|
|
|
23
19
|
Before mounting (rendering) your React application:
|
|
24
20
|
|
|
25
|
-
- global theming:
|
|
21
|
+
- global theming (DEPRECATED):
|
|
26
22
|
|
|
27
23
|
```js
|
|
28
24
|
import { theme } from '@instructure/canvas-high-contrast-theme'
|
|
@@ -45,7 +41,7 @@ Before mounting (rendering) your React application:
|
|
|
45
41
|
|
|
46
42
|
To override the variables:
|
|
47
43
|
|
|
48
|
-
- globally:
|
|
44
|
+
- globally (DEPRECATED):
|
|
49
45
|
|
|
50
46
|
```js
|
|
51
47
|
import { theme } from '@instructure/canvas-high-contrast-theme'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/canvas-high-contrast-theme",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.23.0",
|
|
4
4
|
"description": "A high contrast theme for Canvas LMS made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@instructure/ui-babel-preset": "10.
|
|
25
|
+
"@instructure/ui-babel-preset": "10.23.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@babel/runtime": "^7.27.6",
|
|
29
|
-
"@instructure/shared-types": "10.
|
|
30
|
-
"@instructure/theme-registry": "10.
|
|
31
|
-
"@instructure/ui-themes": "10.
|
|
29
|
+
"@instructure/shared-types": "10.23.0",
|
|
30
|
+
"@instructure/theme-registry": "10.23.0",
|
|
31
|
+
"@instructure/ui-themes": "10.23.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|