fix(core): update
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| import { CSSResult } from 'lit-element'; | ||||
| import * as plugins from './dees-element.plugins'; | ||||
| import * as domtools from  | ||||
|  | ||||
| export interface IDbVarTriplet { | ||||
|   cssVarName: string; | ||||
| @@ -21,7 +22,9 @@ export class CssManager { | ||||
|         darkValue: darkValueArg | ||||
|       } | ||||
|       this.dbVarTripletStore.push(newTriplet) | ||||
|       document.body.style.setProperty(newTriplet.cssVarName, newTriplet.darkValue); | ||||
|       document.onreadystatechange = () => { | ||||
|         document.body.style.setProperty(newTriplet.cssVarName, newTriplet.darkValue); | ||||
|       } | ||||
|       return plugins.litElement.unsafeCSS(newTriplet.cssVarName); | ||||
|     } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user