Comment changer la variable de racine CSS

document.documentElement.style.setProperty('--your-variable', '#YOURCOLOR');
Bloody Buzzard