cssvariables Check out how the project "Update CSS variables with JavaScript" looks like at https://stefanboz.github.io/cssvariables/