Dark Theme for Windows
config/tweaks.json
2172 "WPFToggleDarkMode": {
2173 "Content": "Dark Theme for Windows",
2174 "Description": "Enable/Disable Dark Mode.",
2175 "category": "Customize Preferences",
2176 "panel": "2",
2177 "Type": "Toggle",
2178 "registry": [
2179 {
2180 "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
2181 "Name": "AppsUseLightTheme",
2182 "Value": "0",
2183 "Type": "DWord",
2184 "OriginalValue": "1",
2185 "DefaultState": "false"
2186 },
2187 {
2188 "Path": "HKCU:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
2189 "Name": "SystemUsesLightTheme",
2190 "Value": "0",
2191 "Type": "DWord",
2192 "OriginalValue": "1",
2193 "DefaultState": "false"
2194 }
2195 ],
2196 "InvokeScript": [
2197 "
2198 Invoke-WinUtilExplorerUpdate
2199 if ($sync.ThemeButton.Content -eq [char]0xF08C) {
2200 Invoke-WinutilThemeChange -theme \"Auto\"
2201 }
2202 "
2203 ],
2204 "UndoScript": [
2205 "
2206 Invoke-WinUtilExplorerUpdate
2207 if ($sync.ThemeButton.Content -eq [char]0xF08C) {
2208 Invoke-WinutilThemeChange -theme \"Auto\"
2209 }
2210 "
2211 ],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.