How to disable Theme Awareness

Hi,

I’m wondering how to remove theme awareness of all UI elements or to make them always look like in the darkest theme no matter what is set in preferences.

for example:

sp-action-button
sp-slider
sp-body
sp-switch
sp-picker
background of .body

etc.

Thank you!

You can set the background of the body via CSS, but I don’t think you can or should overwrite the Spectrum Components, after all they’re theme-aware for a reason. For the user’s experience it’s better to have a harmonic interface.

Hi Simon,
I agree with you for most of the cases but I would like to keep specific design of my plugin.
That’s the reason why I don’t want if to be affected by theme selection.

Cheers,