Use CSS Variable instead of Python Script

Is this how you would write a global css variable in perpective?

if i create a global css variable, would I able to call that variable under component style properties, example backgroundColor: neonGreen. ?