@kupola/kupola 1.7.4 → 1.7.6

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/js/theme.js CHANGED
@@ -102,14 +102,14 @@ function initTheme() {
102
102
 
103
103
  if (!_themeInitialized) {
104
104
  _themeInitialized = true;
105
-
106
- const savedTheme = getTheme();
107
- setTheme(savedTheme);
108
-
109
- const savedBrand = getBrand();
110
- setBrand(savedBrand);
111
105
  }
112
106
 
107
+ const savedTheme = getTheme();
108
+ setTheme(savedTheme);
109
+
110
+ const savedBrand = getBrand();
111
+ setBrand(savedBrand);
112
+
113
113
  if (toggleBtn) {
114
114
  updateThemeIcon(toggleBtn);
115
115
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kupola/kupola",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "description": "A lightweight UI toolkit for any web project. No heavy frontend frameworks required.",
5
5
  "main": "dist/kupola.cjs.js",
6
6
  "module": "dist/kupola.esm.js",