wip(Layout): Layout developing
This commit is contained in:
@@ -34,3 +34,7 @@ export function underlineToHump(str: string): string {
|
||||
return letter.toUpperCase()
|
||||
})
|
||||
}
|
||||
|
||||
export function setCssVar(prop: string, val: any, dom = document.documentElement) {
|
||||
dom.style.setProperty(prop, val)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user