@instructure/canvas-theme 8.56.0 → 8.56.2-pr-snapshot-1721749364069
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 +16 -0
- package/lib/index.js +13 -14
- package/package.json +5 -5
- package/tokens/scss/_variables.scss +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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
|
+
## [8.56.2-pr-snapshot-1721749364069](https://github.com/instructure/instructure-ui/compare/v8.56.1...v8.56.2-pr-snapshot-1721749364069) (2024-07-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/canvas-theme
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [8.56.1](https://github.com/instructure/instructure-ui/compare/v8.56.0...v8.56.1) (2024-06-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @instructure/canvas-theme
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [8.56.0](https://github.com/instructure/instructure-ui/compare/v8.55.1...v8.56.0) (2024-05-06)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @instructure/canvas-theme
|
package/lib/index.js
CHANGED
|
@@ -7,12 +7,11 @@ exports.forms = exports.default = exports.colors = exports.breakpoints = exports
|
|
|
7
7
|
Object.defineProperty(exports, "functionalColors", {
|
|
8
8
|
enumerable: true,
|
|
9
9
|
get: function () {
|
|
10
|
-
return
|
|
10
|
+
return _uiThemeTokens.functionalColors;
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
exports.typography = exports.transitions = exports.theme = exports.stacking = exports.spacing = exports.shadows = exports.media = exports.key = void 0;
|
|
14
|
-
var
|
|
15
|
-
var _functionalColors = require("@instructure/ui-theme-tokens/lib/utils/functionalColors.js");
|
|
14
|
+
var _uiThemeTokens = require("@instructure/ui-theme-tokens");
|
|
16
15
|
var _themeRegistry = require("@instructure/theme-registry");
|
|
17
16
|
/*
|
|
18
17
|
* The MIT License (MIT)
|
|
@@ -38,16 +37,16 @@ var _themeRegistry = require("@instructure/theme-registry");
|
|
|
38
37
|
* SOFTWARE.
|
|
39
38
|
*/
|
|
40
39
|
|
|
41
|
-
const borders = exports.borders =
|
|
42
|
-
breakpoints = exports.breakpoints =
|
|
43
|
-
colors = exports.colors =
|
|
44
|
-
forms = exports.forms =
|
|
45
|
-
media = exports.media =
|
|
46
|
-
shadows = exports.shadows =
|
|
47
|
-
spacing = exports.spacing =
|
|
48
|
-
stacking = exports.stacking =
|
|
49
|
-
transitions = exports.transitions =
|
|
50
|
-
typography = exports.typography =
|
|
40
|
+
const borders = exports.borders = _uiThemeTokens.canvas.borders,
|
|
41
|
+
breakpoints = exports.breakpoints = _uiThemeTokens.canvas.breakpoints,
|
|
42
|
+
colors = exports.colors = _uiThemeTokens.canvas.colors,
|
|
43
|
+
forms = exports.forms = _uiThemeTokens.canvas.forms,
|
|
44
|
+
media = exports.media = _uiThemeTokens.canvas.media,
|
|
45
|
+
shadows = exports.shadows = _uiThemeTokens.canvas.shadows,
|
|
46
|
+
spacing = exports.spacing = _uiThemeTokens.canvas.spacing,
|
|
47
|
+
stacking = exports.stacking = _uiThemeTokens.canvas.stacking,
|
|
48
|
+
transitions = exports.transitions = _uiThemeTokens.canvas.transitions,
|
|
49
|
+
typography = exports.typography = _uiThemeTokens.canvas.typography;
|
|
51
50
|
const key = exports.key = 'canvas';
|
|
52
51
|
const brandVariables = {
|
|
53
52
|
/* Defaults for Canvas account branding variables: */
|
|
@@ -68,7 +67,7 @@ const brandVariables = {
|
|
|
68
67
|
};
|
|
69
68
|
const __theme = {
|
|
70
69
|
key,
|
|
71
|
-
...
|
|
70
|
+
..._uiThemeTokens.canvas,
|
|
72
71
|
...brandVariables
|
|
73
72
|
};
|
|
74
73
|
const theme = exports.theme = _themeRegistry.ThemeRegistry.registerTheme(__theme);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/canvas-theme",
|
|
3
|
-
"version": "8.56.
|
|
3
|
+
"version": "8.56.2-pr-snapshot-1721749364069",
|
|
4
4
|
"description": "A 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": "8.56.
|
|
25
|
+
"@instructure/ui-babel-preset": "8.56.2-pr-snapshot-1721749364069"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@babel/runtime": "^7.23.2",
|
|
29
|
-
"@instructure/shared-types": "8.56.
|
|
30
|
-
"@instructure/theme-registry": "8.56.
|
|
31
|
-
"@instructure/ui-theme-tokens": "8.56.
|
|
29
|
+
"@instructure/shared-types": "8.56.2-pr-snapshot-1721749364069",
|
|
30
|
+
"@instructure/theme-registry": "8.56.2-pr-snapshot-1721749364069",
|
|
31
|
+
"@instructure/ui-theme-tokens": "8.56.2-pr-snapshot-1721749364069"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|