We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc000cf commit 392dca8Copy full SHA for 392dca8
packages/runtime-dom/src/helpers/useCssVars.ts
@@ -80,7 +80,7 @@ function setVarsOnNode(el: Node, vars: Record<string, string>) {
80
if (el.nodeType === 1) {
81
const style = (el as HTMLElement).style
82
for (const key in vars) {
83
- if(vars[key]){
+ if (vars[key] || vars[key] === '') {
84
style.setProperty(`--${key}`, vars[key])
85
}
86
0 commit comments