Skip to content

Example_Windows_Darkmode #951

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions configurations/windows/windows_darkmode.dsc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Changes Windows 11 into `DarkMode`
$schema: https://aka.ms/dsc/schemas/v3/bundled/config/document.json
resources:
- name: System Uses Light Theme
type: Microsoft.Windows/Registry
properties:
keyPath: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize'
valueName: SystemUsesLightTheme
valueData:
DWord: 0
- name: Apps Use Light Theme
type: Microsoft.Windows/Registry
properties:
keyPath: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize'
valueName: AppsUseLightTheme
valueData:
DWord: 0
- name: AccentColorMenu
type: Microsoft.Windows/Registry
properties:
keyPath: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent'
valueName: AccentColorMenu
valueData:
DWord: 0
- name: StartColorMenu
type: Microsoft.Windows/Registry
properties:
keyPath: 'HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent'
valueName: StartColorMenu
valueData:
DWord: 0
- name: Auto Colorization
type: Microsoft.Windows/Registry
properties:
keyPath: 'HKCU\Control Panel\Desktop'
valueName: AutoColorization
valueData:
DWord: 0
Loading