@vanduo-oss/framework 1.2.8 → 1.2.9

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.
@@ -282,7 +282,12 @@
282
282
  const themeSwitcher = window.Vanduo.components.themeSwitcher;
283
283
  if (themeSwitcher.state && themeSwitcher.state.preference !== mode) {
284
284
  themeSwitcher.state.preference = mode;
285
- themeSwitcher.savePreference(themeSwitcher.STORAGE_KEY, mode);
285
+ if (typeof themeSwitcher.setStorageValue === 'function') {
286
+ themeSwitcher.setStorageValue(themeSwitcher.STORAGE_KEY, mode);
287
+ }
288
+ if (typeof themeSwitcher.updateUI === 'function') {
289
+ themeSwitcher.updateUI();
290
+ }
286
291
  }
287
292
  }
288
293
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vanduo-oss/framework",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "Zero-dependency CSS/JS framework built on Fibonacci/Golden Ratio design system with Open Color integration",
5
5
  "keywords": [
6
6
  "css",