Modifying the core colors like var(--secondary)

I don’t know what you are doing, but var(–secondary) working for me:

code:

browser:

image

Let’s edit tertiary:

image

mmmm … jaffa: