Table striped color doesn't accept css color variable

I try to have minor changes in my custom theme so I define some color variable in my css and they work fine until I notice I can’t use them in table striped color. It seems perspective doesn’t understand them.