Splash screen customization
The default configuration for the bootstrapper is to show the Uno Platform logo. This can be changed, along with the background color and progress bar color by doing the following:
Create an AppManifest.js file in the
WasmScripts
folderSet its build action to
EmbeddedResource
Add the following content:
var UnoAppManifest = { splashScreenImage: "https://microsoft.github.io/microsoft-ui-xaml/img/winui-logo.png", splashScreenColor: "#00f", accentColor: "#f00", displayName: "WinUI App" }
These properties are supported in the manifest:
lightThemeBackgroundColor
(optional) to change the light theme background colordarkThemeBackgroundColor
(optional)to change the dark theme background colorsplashScreenColor
to change the background color regardless of the theme. When set totransparent
,lightThemeBackgroundColor
anddarkThemeBackgroundColor
will be used, otherwise the default browser background color will be used.