@innovastudio/contentbuilder 1.0.66 → 1.0.67
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/package.json
CHANGED
|
@@ -59467,10 +59467,15 @@ class ContentBuilder {
|
|
|
59467
59467
|
} // Css loaded. Now we can get UI styles.
|
|
59468
59468
|
|
|
59469
59469
|
|
|
59470
|
-
const util = this.util;
|
|
59471
|
-
|
|
59472
|
-
this.
|
|
59473
|
-
|
|
59470
|
+
const util = this.util; // util.getUIStyles();
|
|
59471
|
+
// this.setUIColorRefresh();
|
|
59472
|
+
// if(this.opts.onThemeChange) this.opts.onThemeChange();
|
|
59473
|
+
|
|
59474
|
+
setTimeout(() => {
|
|
59475
|
+
util.getUIStyles();
|
|
59476
|
+
this.setUIColorRefresh();
|
|
59477
|
+
if (this.opts.onThemeChange) this.opts.onThemeChange();
|
|
59478
|
+
}, 300);
|
|
59474
59479
|
});
|
|
59475
59480
|
document.head.appendChild(link);
|
|
59476
59481
|
} else {
|
|
@@ -59486,10 +59491,15 @@ class ContentBuilder {
|
|
|
59486
59491
|
} // Css loaded. Now we can get UI styles.
|
|
59487
59492
|
|
|
59488
59493
|
|
|
59489
|
-
const util = this.util;
|
|
59490
|
-
|
|
59491
|
-
this.
|
|
59492
|
-
|
|
59494
|
+
const util = this.util; // util.getUIStyles();
|
|
59495
|
+
// this.setUIColorRefresh();
|
|
59496
|
+
// if(this.opts.onThemeChange) this.opts.onThemeChange();
|
|
59497
|
+
|
|
59498
|
+
setTimeout(() => {
|
|
59499
|
+
util.getUIStyles();
|
|
59500
|
+
this.setUIColorRefresh();
|
|
59501
|
+
if (this.opts.onThemeChange) this.opts.onThemeChange();
|
|
59502
|
+
}, 1000);
|
|
59493
59503
|
}
|
|
59494
59504
|
}
|
|
59495
59505
|
|