@design.estate/dees-domtools 2.1.0 → 2.1.1

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.
@@ -39448,7 +39448,11 @@ var ThemeManager = class {
39448
39448
  }
39449
39449
  async enableAutomaticGlobalThemeChange() {
39450
39450
  if (document.body && document.body.style) {
39451
- document.body.style.background = this.goBrightBoolean ? "#fff" : "#000";
39451
+ this.themeObservable.subscribe({
39452
+ next: (goBright) => {
39453
+ document.body.style.background = goBright ? "#fff" : "#000";
39454
+ }
39455
+ });
39452
39456
  }
39453
39457
  }
39454
39458
  async updateAllConnectedElements() {