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
WasmScriptsfolderSet its build action to
EmbeddedResourceAdd 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 colorsplashScreenColorto change the background color regardless of the theme. When set totransparent,lightThemeBackgroundColoranddarkThemeBackgroundColorwill be used, otherwise the default browser background color will be used.