Assigning CSS variables through `EditorView.theme()`

I’m looking to structure editor theming by locating the styling within variables, which end users can target to provide easier custom styling. I’ve hit a roadblock though when trying to set the variables through EditorView.theme(). They do not register, either through '--var-name’: ‘value’ or '@property --var-name': {...}

Is this even supported, or should I pursue a different route?

This is working fine for me.

I must be doing something else wrong, then. But thank you for confirming this should work!