Widget panels do not support automatic dark mode

Environment

Discourse Version: 2.8.0.beta2 (fae68455b7)

Plugin Commit: Latest (0d27066) (Version 0.2)

Steps to Reproduce

After enabling Automatic Dark Mode switching and changing to dark mode, widget panels appear white and do not change to dark to suit the color scheme.

Example Image Below:

Example

Must enable auto dark mode in User Preferences > Interface

Logs

Not a breaking issue so no logs necessary, but need to be fixed for aesthetics.

1 Like

@keegan When you have time, come back to this one.

1 Like

@angus

Transitioning to CSS custom properties will resolve this. I’ve made the changes and published the PR:

3 Likes