Dark Theme for Windows
config/tweaks.json
1286 "WPFToggleDarkMode": {
1287 "Content": "Dark Theme for Windows",
1288 "Description": "Enable/Disable Dark Mode.",
1289 "category": "Customize Preferences",
1290 "panel": "2",
1291 "Type": "Toggle",
1292 "registry": [
1293 {
1294 "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
1295 "Name": "AppsUseLightTheme",
1296 "Value": "0",
1297 "Type": "DWord",
1298 "OriginalValue": "1",
1299 "DefaultState": "false"
1300 },
1301 {
1302 "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
1303 "Name": "SystemUsesLightTheme",
1304 "Value": "0",
1305 "Type": "DWord",
1306 "OriginalValue": "1",
1307 "DefaultState": "false"
1308 }
1309 ],
1310 "InvokeScript": [
1311 "
1312 Invoke-WinUtilExplorerUpdate
1313 if ($sync.ThemeButton.Content -eq [char]0xF08C) {
1314 Invoke-WinutilThemeChange -theme \"Auto\"
1315 }
1316 "
1317 ],
1318 "UndoScript": [
1319 "
1320 Invoke-WinUtilExplorerUpdate
1321 if ($sync.ThemeButton.Content -eq [char]0xF08C) {
1322 Invoke-WinutilThemeChange -theme \"Auto\"
1323 }
1324 "
1325 ],Registry Changes
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.
You can find information about the registry on Wikipedia and Microsoft’s Website.