DwmWindow sets dark mode (attribute 20, 19 on older Windows 10), Mica/none backdrop, corner preference and caption/border colours, returning false for null or stale windows and unsupported builds. SystemTheme reads AppsUseLightTheme and the accent colour (DWM AccentColor, else DwmGetColorizationColor); SystemThemeWatcher raises Changed from a RegNotifyChangeKeyValue thread when either value actually changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC