website/content/blog/firefox-dark-mode/index.en.md

26 lines
810 B
Markdown
Raw Normal View History

---
2023-03-15 15:23:22 +01:00
title: "Firefox Dark Mode"
author: ""
date: 2021-05-15T11:54:53+02:00
categories:
tags:
draft: false
2023-03-15 12:24:53 +01:00
description: "How to enable the dark mode for all compatible websites in your Firefox."
2023-01-06 22:10:02 +01:00
slug: "firefox-dark-mode"
---
This is how to enable the dark mode for all compatible websites in your Firefox.
## Firefox Config
2023-03-15 12:25:38 +01:00
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
2023-03-15 12:25:38 +01:00
For debugging purposes, you can switch between dark and light mode using the *Inspector* (right-click → Inspect):
2023-03-16 16:03:22 +01:00
![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 🙂