I am working on adjusting the CSS variables provided by the system using JavaScript with the following code:
document.body.style.setProperty("--rh__primary-base", "rgba(254,80,0)");
However, when I inspect the element, I can see that the old value of --rh__primary-base
is still present in the code, but it appears crossed out. Is there a way to retrieve the old value of --rh__primary-base
without removing the current value that I have changed it to?