how to change root variable css
document.documentElement.style.setProperty('--your-variable', '#YOURCOLOR');
Are there any code examples left?
New code examples in category CSS
document.documentElement.style.setProperty('--your-variable', '#YOURCOLOR');