@instructure/canvas-theme
Advanced tools
Comparing version 5.52.3-rc.23 to 5.52.3-rc.24
@@ -26,3 +26,3 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread"; | ||
*/ | ||
import { registerTheme } from '@instructure/ui-themeable/lib/registry'; | ||
import { ThemeRegistry } from '@instructure/ui-themeable/lib/ThemeRegistry'; | ||
import { borders } from './borders'; | ||
@@ -68,3 +68,3 @@ import { colors, functionalColors } from './colors'; | ||
}; | ||
var theme = registerTheme({ | ||
var theme = ThemeRegistry.registerTheme({ | ||
key: key, | ||
@@ -71,0 +71,0 @@ variables: _objectSpread({}, variables, brandVariables) |
@@ -78,3 +78,3 @@ "use strict"; | ||
var _registry = require("@instructure/ui-themeable/lib/registry"); | ||
var _ThemeRegistry = require("@instructure/ui-themeable/lib/ThemeRegistry"); | ||
@@ -155,8 +155,10 @@ var _borders = require("./borders"); | ||
}; | ||
var theme = (0, _registry.registerTheme)({ | ||
var theme = _ThemeRegistry.ThemeRegistry.registerTheme({ | ||
key: key, | ||
variables: (0, _objectSpread2.default)({}, variables, brandVariables) | ||
}); | ||
exports.theme = theme; | ||
var _default = theme; | ||
exports.default = _default; |
{ | ||
"name": "@instructure/canvas-theme", | ||
"version": "5.52.3-rc.23+f20230d6", | ||
"version": "5.52.3-rc.24+c295b927", | ||
"description": "A theme for Canvas LMS made by Instructure Inc.", | ||
@@ -23,9 +23,9 @@ "author": "Instructure, Inc. Engineering and Product Design", | ||
"devDependencies": { | ||
"@instructure/ui-babel-preset": "5.52.3-rc.23+f20230d6", | ||
"@instructure/ui-color-utils": "5.52.3-rc.23+f20230d6", | ||
"@instructure/ui-test-utils": "5.52.3-rc.23+f20230d6" | ||
"@instructure/ui-babel-preset": "5.52.3-rc.24+c295b927", | ||
"@instructure/ui-color-utils": "5.52.3-rc.24+c295b927", | ||
"@instructure/ui-test-utils": "5.52.3-rc.24+c295b927" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7", | ||
"@instructure/ui-themeable": "5.52.3-rc.23+f20230d6" | ||
"@instructure/ui-themeable": "5.52.3-rc.24+c295b927" | ||
}, | ||
@@ -36,3 +36,3 @@ "publishConfig": { | ||
"sideEffects": false, | ||
"gitHead": "f20230d691ccf1473af4497f3571eeb74d0229f8" | ||
"gitHead": "c295b927a93af75e9233ab3b60945b8848dfc33f" | ||
} |
@@ -25,3 +25,3 @@ /* | ||
import { registerTheme } from '@instructure/ui-themeable/lib/registry' | ||
import { ThemeRegistry } from '@instructure/ui-themeable/lib/ThemeRegistry' | ||
@@ -75,3 +75,3 @@ import { borders } from './borders' | ||
const theme = registerTheme({ | ||
const theme = ThemeRegistry.registerTheme({ | ||
key, | ||
@@ -78,0 +78,0 @@ variables: { ...variables, ...brandVariables } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
65967