# Description # This script will set registry keys so Applications using the Appx framework # will use the dark theme instead of the default light one. Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1 echo "Enabling dark theme" Import-Registry(@" [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize] "AppsUseLightTheme"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize] "AppsUseLightTheme"=dword:00000000 "@)