This commit is contained in:
6
app/utils/cssVars.js
Normal file
6
app/utils/cssVars.js
Normal file
@@ -0,0 +1,6 @@
|
||||
// utils/cssVars.js
|
||||
export function updateCssVar(name, value, el) {
|
||||
// if (!import.meta.client) return;
|
||||
const target = el?.$el || el || document.documentElement;
|
||||
target.style.setProperty(name, value);
|
||||
}
|
||||
Reference in New Issue
Block a user