UWPAppsUseLightThemeUWPAppsUseLightTheme

UWPAppsUseLightTheme 指定是否应用了深色模式。UWPAppsUseLightTheme specifies whether the dark mode is applied.

Values

truetrue

指定使用经典 Windows 颜色模式。Specifies that the classic Windows color mode is used. 这是默认值。This is the default value.

falsefalse

指定使用的深颜色模式。Specifies that the dark color mode is used.

有效配置阶段Valid Configuration Passes

专用化specialize

auditSystemauditSystem

auditUserauditUser

oobeSystemoobeSystem

父层次结构Parent Hierarchy

Microsoft-Windows-Shell-Setup | Themes | UWPAppsUseLightThemeMicrosoft-Windows-Shell-Setup | Themes | UWPAppsUseLightTheme

适用于Applies To

有关受支持的 Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft Windows Shell 安装For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 示例XML Example

以下 XML 输出显示了如何设置自定义的主题。The following XML output shows how to set a customized theme.

<Themes>
   <ThemeName>Fabrikam Theme</ThemeName>
   <DefaultThemesOff>false</DefaultThemesOff>
   <DesktopBackground>%WINDIR%\OEM\CustomizationFiles\Theme1\fabrikam-wallpaper.jpg</DesktopBackground>
   <BrandIcon>%WINDIR%\OEM\CustomizationFiles\Theme1\fabrikam-logo.png</BrandIcon>
   <WindowColor>Automatic</WindowColor>
   <UWPAppsUseLightTheme>false</UWPAppsUseLightTheme>
</Themes>

主题Themes