Start + theme settings: Enabling dark mode

OEMs can choose to specify whether the dark mode is applied.

Constraints: FirstVariationOnly


  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns=""  
                         Description="Specifies whether the dark mode is applied."
        <Settings Path="Theme">  
          <Setting Name="DefaultBackgroundColor" Value="" /> 
  2. Specify an Owner.

  3. Set DefaultBackgroundColor to specify a mode. The possible values are:

    Value Description

    0 or 'Light'

    Enables light mode.

    1 or 'Dark'

    Enables dark mode. This is the default OS setting.


  1. Flash an image containing this customization to a phone.

  2. Verify that the phone is using the correct mode.

Prepare for Windows mobile development

Customization answer file overview