wip(Layout): Layout developing

This commit is contained in:
陈凯龙
2022-01-13 17:26:06 +08:00
parent 66e8d0e41c
commit 2fe9543b84
27 changed files with 282 additions and 35 deletions

View File

@@ -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)
}