fix(core): update

This commit is contained in:
Philipp Kunz 2020-11-30 20:03:05 +00:00
parent 7ae2de5843
commit 48b5cc770c

View File

@ -32,6 +32,7 @@ export class ThemeManager {
} }
private async updateAllConnectedElements() { private async updateAllConnectedElements() {
document.body.style.background = this.goBrightBoolean ? '#fff' : '#000';
this.domtoolsRef.elementInstrumenter.forEachelement(async elementArg => { this.domtoolsRef.elementInstrumenter.forEachelement(async elementArg => {
await this.setThemeStatusForElement(elementArg, this.goBrightBoolean); await this.setThemeStatusForElement(elementArg, this.goBrightBoolean);
}); });