1. Introduce scss
2. Define global variables in the global scss file
3. Reference variables and change variable values
document.getElementsByTagName('body')[0].style.setProperty('--color','#fff')
Okay, I believe you are smart and have understood it.