@skyux/theme 13.0.0-alpha.2 → 13.0.0-alpha.4
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/css/sky.css +172 -110
- package/css/themes/modern/styles.css +397 -590
- package/fesm2022/skyux-theme.mjs +2 -2
- package/fesm2022/skyux-theme.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +2 -2
package/fesm2022/skyux-theme.mjs
CHANGED
|
@@ -408,7 +408,7 @@ class SkyThemeService {
|
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
* Updates the current theme brand.
|
|
411
|
-
* @param brand The new theme brand to apply.
|
|
411
|
+
* @param brand The new theme brand to apply, or undefined to clear the current brand.
|
|
412
412
|
*/
|
|
413
413
|
setThemeBrand(brand) {
|
|
414
414
|
this.#updateThemeProperty('brand', brand);
|
|
@@ -464,7 +464,7 @@ class SkyThemeService {
|
|
|
464
464
|
break;
|
|
465
465
|
default:
|
|
466
466
|
}
|
|
467
|
-
if (supportedValues && !supportedValues.includes(value)) {
|
|
467
|
+
if (supportedValues && value && !supportedValues.includes(value)) {
|
|
468
468
|
throw new Error(`The current theme does not support the specified ${property}.`);
|
|
469
469
|
}
|
|
470
470
|
const updatedSettings = {
|