fix(core): update

This commit is contained in:
Philipp Kunz 2022-04-15 19:17:34 +02:00
parent 9ca286697c
commit a32b6b425b

View File

@ -63,7 +63,7 @@ export class CssManager {
await domtoolsArg.domReady.promise; await domtoolsArg.domReady.promise;
document.body.style.setProperty( document.body.style.setProperty(
newTriplet.cssVarName, newTriplet.cssVarName,
this.goBright ? newTriplet.brightValue : newTriplet.darkValue domtoolsArg.themeManager.goBrightBoolean ? newTriplet.brightValue : newTriplet.darkValue
); );
}); });
returnCssVar = newTriplet.cssVarName; returnCssVar = newTriplet.cssVarName;