For a solution that doesn’t use Dark Reader for any reason*, then you can use the built-in dark mode in this Discourse instance’s settings.
I don’t know if this has always been here or if the Discourse administration changed this option recently.
This is the UI path:
- click on your user icon (in the top right corner)
- click on the “Preferences” tab (first icon of the “cartoon person” on the right)
- click on the word “Preferences” to go to a new page
- click on “Interface” on the vertical menu on the left
- find the first “Color Scheme” section
- select “Dark” for the Dark Mode drop-down menu and “Dark” in the Regular drop-down menu (in that order).
The dark theme is only a very dark gray, but honestly I’ll take this gray dark theme over the default white theme any day of the week. (However, in my only other experience with Discourse, the dark theme has always been dark gray - at least in the Parrot OS Forums.)
(*For example, I don’t have Dark Reader on Firefox, since there are occasions I need to render webpages to “WYSIWYG”, a.k.a, what the rest of the white-themed Internet sees. This is because there have been a few crucial cases when having Dark Reader and turning on the darkening flag in
chrome://flags on my Chromium-based browsers messes up pages and makes them unreadable. Also, this is not a good setup for presenting online presentations with color accurately.)