website/content/blog/firefox-dark-mode/index.en.md
2023-03-16 16:03:22 +01:00

25 lines
810 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: "Firefox Dark Mode"
author: ""
date: 2021-05-15T11:54:53+02:00
categories:
tags:
draft: false
description: "How to enable the dark mode for all compatible websites in your Firefox."
slug: "firefox-dark-mode"
---
This is how to enable the dark mode for all compatible websites in your Firefox.
## Firefox Config
To enable the Firefox Dark Mode, open your Firefox' [about:config](https://support.mozilla.org/en-US/kb/about-config-editor-firefox) and add a **new** boolean `ui.systemUsesDarkTheme` and set it to `1`.
## Debugging
For debugging purposes, you can switch between dark and light mode using the *Inspector* (right-click → Inspect):
![dark and light mode in Firefox Inspector](2021-05-15_firefox-inspector-dark-light-mode.png)
You can test this right here on my website 🙂