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