A few weeks back, my dark mode on Reddit just stopped working out of nowhere. Most pages defaulted to light mode with no option in the settings to change it to dark. There were a couple of pages that stayed in dark mode AND retained the dark mode option in the settings (like the notifications page, for example) but the majority of pages I navigate through on a daily basis had no dark mode and no way to change it.
I contacted Reddit support to report what I assumed is a bug, but the person I talked to said they are working on some project to make Reddit feel the same across platforms. Basically it’s supposed to detect your system settings and determine which theme to use based on that. I installed Chrome and Firefox to see if it was specific to Brave and sure enough, it was. The other 2 browsers did what they were supposed to do. The support person said they weren’t sure if it was an issue with their code or an issue with Brave so they put in a ticket to another department.
In the mean time, I found a way to force it into dark mode as a workaround and put it in a Tampermonkey script. Hopefully this helps someone else.
// ==UserScript== // @name Reddit Dark Mode Fix for Brave Browser // @namespace https://sudofry.com/ // @version 1.0 // @description Fixes the issue with Reddit's dark mode not working on most pages in Brave Browser. // @author sudofry // @match https://www.reddit.com/* // @icon https://www.google.com/s2/favicons?sz=64&domain=reddit.com // @grant none // @require https://code.jquery.com/jquery-3.7.0.min.js // ==/UserScript== (function() { 'use strict'; var $ = window.jQuery; $("html").addClass("theme-dark").removeClass("theme-light"); })();