Repository navigation
feat(sdk)!: Theme-aware splash screen properties, remove UnoSplashScreenColor - #25111
Conversation
Add UnoSplashScreenBackgroundColor (UnoSplashScreenColor stays as a fallback), UnoSplashScreenDarkBackgroundColor and UnoSplashScreenDarkFile. WebAssembly no longer defaults the color to white so the loader follows the browser theme. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25111/docs/index.html |
|
Claude finished @MartinZikmund's task in 20s —— View job Review summaryVerdict: ship (one minor, non-blocking finding).
|
… color It kept its own #FFFFFF default, so on WebAssembly it could disagree with UnoSplashScreenBackgroundColor. It now mirrors the effective value for targets that still read the legacy name. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
|
Claude finished @MartinZikmund's task in 13s —— View job Review summaryVerdict: ship. I found 0 blocking, 0 major and 0 minor issues in the current head (
Cross-cutting, not specific to a line:
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25111/docs/index.html |
…ckgroundColor The Uno.Sdk no longer reads UnoSplashScreenColor. Projects that still set it get the UNOB0028 warning and the value is ignored. The UnoSplashScreen item now carries BackgroundColor instead of Color, which requires an Uno.Resizetizer that contains unoplatform/uno.resizetizer#401. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
|
Claude finished @MartinZikmund's task in 15s —— View job Review summaryVerdict: ship. 0 blocking, 0 major, 0 minor findings at head
Cross-cutting
|
…ntColor Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013terw2KRvw8e64cogQymUL
|
Claude finished @MartinZikmund's task in 16s —— View job Review summaryVerdict: ship. 0 blocking, 0 major, 0 minor findings at head
Cross-cutting
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25111/docs/index.html |
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PQ4mCYeT8rD5Ngsm7F85CD
|
Claude finished @MartinZikmund's task in 11s —— View job Review summaryVerdict: ship. 0 blocking, 0 major, 0 minor findings at head
Cross-cutting
|
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PQ4mCYeT8rD5Ngsm7F85CD
|
Claude finished @MartinZikmund's task in 13s —— View job Review summaryVerdict: ship. 0 blocking, 0 major, 0 minor findings at head
Cross-cutting
|
|
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-25111/docs/index.html |
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
What changed
UnoSplashScreenBackgroundColor,UnoSplashScreenDarkBackgroundColor,UnoSplashScreenDarkFile,UnoSplashScreenAccentColorandUnoSplashScreenDarkAccentColor. The accent properties have no SDK defaults: an unsetUnoSplashScreenDarkAccentColorfalls back toUnoSplashScreenAccentColor, then to the WinUI dark accent, the same way the dark background falls back to the light one and are only used for the WebAssembly loader progress bar; other targets ignore them.UnoSplashScreenColoris removed (see Breaking changes).UnoSplashScreenBackgroundColoris the only splash background property.#FFFFFF. Detection uses the existing$(IsBrowserWasm), set per inner build byUno.IsPlatform.propsfrom the TFM, which is already imported beforeUno.DefaultItems.Resizetizer.targets.UnoSplashScreenitem metadata:BackgroundColor(replacesColor),DarkBackgroundColor,DarkFile,AccentColor,DarkAccentColor.UnoImageandContentglobs, like the light one.splash-screen.md,uno-build-error-codes.md,migrating-to-uno-7.md).Breaking changes (Uno Platform 7.0)
UnoSplashScreenColoris no longer read. Projects that still set it get warning UNOB0028 (emitted by_UnoWarnRemovedSplashScreenColorinUno.DefaultItems.Resizetizer.targets, once per inner build like UNOB0027, only when the property is set) and the value is ignored. Rename it toUnoSplashScreenBackgroundColor.UnoSplashScreenitem carriesBackgroundColorinstead ofColor. Hand-written items should do the same.SamplesApp.csprojupdated toBackgroundColor="#ffffff"; no other uses in the repo.BackgroundColor(andAccentColor/DarkAccentColorfor the loader progress bar) on splash screens and ignoresColorwith a warning.Why
Theme-aware splash screens on WebAssembly: unoplatform/uno.resizetizer#401, unoplatform/Uno.Wasm.Bootstrap#1097, unoplatform/uno.toolkit.ui#1667, unoplatform/uno.resizetizer#157.
Validation
No MSBuild evaluation test infrastructure exists for these targets, so I evaluated a scratch project importing
Uno.IsPlatform.Before.props,Uno.IsPlatform.propsandUno.DefaultItems.Resizetizer.targets(dotnet msbuild -getItem:UnoSplashScreen):BackgroundColoremptyBackgroundColor#FFFFFFUnoSplashScreenBackgroundColor=#112233+ dark colorBackgroundColor/DarkBackgroundColorUnoSplashScreenColor=#445566UnoSplashScreenColorunsetAccentColor/DarkAccentColoremptyUnoSplashScreenAccentColor=#112233+UnoSplashScreenDarkAccentColor=#445566AccentColor/DarkAccentColor🤖 Generated with Claude Code
https://claude.ai/code/session_013terw2KRvw8e64cogQymUL