Overiding Theme Awareness Colors?

I have an where i would like the text colour to be black for a light theme and #fcfbba for a dark theme.

No matter what I try, I cannot seem to change the button text color.

Any help appreciated.

Ive just seen on https://www.adobe.io/photoshop/uxp/uxp/reference-css/Styles/color/

" * Not all Spectrum UXP components allow color overrides."

So maybe the Sp-action-button is one of these components

It’s not supported currently, but in UXP 5.4 this is possible. Timeline for that will be Ps 23 @ MAX.