2026-02-10 19:49:36 +00:00
---
title : "Dark Theme for Windows"
description : ""
---
2026-02-18 12:37:09 -06:00
2026-04-07 10:31:58 -05:00
```json {filename="config/tweaks.json",linenos=inline,linenostart=2171}
2026-02-12 20:33:11 +00:00
"WPFToggleDarkMode": {
2026-01-14 20:28:45 +02:00
"Content": "Dark Theme for Windows",
"Description": "Enable/Disable Dark Mode.",
"category": "Customize Preferences",
"panel": "2",
"Type": "Toggle",
"registry": [
{
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
"Name": "AppsUseLightTheme",
"Value": "0",
2026-02-18 20:17:33 +00:00
"Type": "DWord",
2026-01-14 20:28:45 +02:00
"OriginalValue": "1",
2026-02-18 20:17:33 +00:00
"DefaultState": "false"
2026-01-14 20:28:45 +02:00
},
{
"Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
"Name": "SystemUsesLightTheme",
"Value": "0",
2026-02-18 20:17:33 +00:00
"Type": "DWord",
2026-01-14 20:28:45 +02:00
"OriginalValue": "1",
2026-02-18 20:17:33 +00:00
"DefaultState": "false"
2026-01-14 20:28:45 +02:00
}
],
"InvokeScript": [
"
Invoke-WinUtilExplorerUpdate
if ($sync.ThemeButton.Content -eq [char]0xF08C) {
Invoke-WinutilThemeChange -theme \"Auto\"
}
"
],
"UndoScript": [
"
Invoke-WinUtilExplorerUpdate
if ($sync.ThemeButton.Content -eq [char]0xF08C) {
Invoke-WinutilThemeChange -theme \"Auto\"
}
"
],
2026-01-07 19:55:35 +00:00
` ``
2026-01-14 20:28:45 +02:00
## Registry Changes
2026-02-12 20:33:11 +00:00
2026-03-26 15:26:48 -05:00
Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place.
2026-01-07 19:55:35 +00:00
2026-01-14 20:28:45 +02:00
You can find information about the registry on [Wikipedia ](https://www.wikiwand.com/en/Windows_Registry ) and [Microsoft's Website ](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry ).