Hi there. My first post here. I’ve searched the site but didn’t find another topic on this issue. I’m sure lots of people would appreciate if we could have a toggle in a corner, on the MDN site (https://developer.mozilla.org), to switch to a dark mode UI. This would be great when you want to study a subject on the MDN site, especially when it’s a bit later in the evening.
Some websites like Ars Technica offer this choice out of the box, I wonder if it’s possible to get a simple dark mode for a start. I know this might complicate some issues with images and graphics that were made for a light background, but at least we could have a better reading experience for mostly text-based articles.
There are some user style sheet solutions floating around you can use: [https://userstyles.org/styles/139747/a-mdn-darkly](https://userstyles.org/styles/139747/a-mdn-darkly)
I believe Stly-us is the current favourite custom styles extension. (Stylish was pulled from the
marketplace for violation of data practices. I believe Stly-us is the current favourite custom styles extension.)
Yeah, that’s the problem. I would have made my own stylesheet, but I try to avoid installing any extensions, unless they are open-source or I wrote them myself.
I suppose this decision to have a dark mode should have been made right from the start, when the MDN site was re-themed. Now it might be too late and costly to re-process all the assets to adapt them to a dark background with light text.
Will take a look at Stly-us and see if it can be a solution in this case.
I would absolutely love a dark mode. studying at night fries my brain and eyes. I googled this topic to see if there was a dark mode and thats how i found this.
This is pretty old now, but I made a chrome extension because this bothered me so much… Not sure if it’s cool to post it here or not - to mods, I apologize in advance if not
@lndrcrvlh totally happy for you to share this here. We’d love a dark mode on MDN, but with a small dev team and limited timescales, it is unfortunately something that never finds its self at the top of the priority list.
Unfortunately, there’s not much action. In the discussion user “queengooborg” posts a link to a user style sheet they created: Style not found — UserStyles.world
Hi, since @lndrcrvlh extension seems to be abandoned, I’ve just released my own one that also adds a dark mode for all MDN Web Docs website and has different VS Code based themes. It’s open-source.
To my knowledge addons (e.g. Dark Reader) aren’t allowed to run on the Mozilla-owned domains (there has been a partial* about:config override, which I didn’t immediately find).
*doesn’t affect at least the Firefox addons website, presumably hard-coded