this post was submitted on 31 Jan 2025
21 points (78.4% liked)

Firefox

18348 readers
110 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 

Open up about:config and go to layout.css.prefers-color-scheme.content-override and set it to one of the following:

0 => Force a Dark background

1 => Force a Light background

2 => Follow the System theme (default in Firefox 94)

3 => Follow the Browser toolbar theme (default in Firefox 95+)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 day ago

You don't need about:config for this.

This is the same setting you can configure in the preferences under "Website appearance".. if you change that you'll see the about:config setting changes too.