Repository navigation
Cloud's loading page follows the webapp's light/dark choice and its colours (W-1075) - #376
Merged
wr merged 1 commit intoOct 19, 2026
Conversation
…olours (W-1075) The page Cloud shows while the server starts followed only the system's prefers-color-scheme. It now reads the footer's ff-theme before it paints, as index.html does, and draws its field and blocks in the webapp's --bg and --surface, so nothing changes when the webapp replaces it. A test holds both to index.html. Refs: W-1075
wr
deleted the
wells/w-1075-clouds-loading-page-follows-the-webapps-lightdark-choice
branch
October 19, 2026 23:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The loading page Cloud shows while a household's server starts (
hosted/src/loading.ts) now looks like the webapp it turns into.ff-theme, kept in the browser) before it paints, with the same script and rules asindex.html. An owner who picked Dark on a light system, or Light on a dark one, gets the loading page in that theme.#f6f4ef/#171614). They are now the webapp's--bgand--surfacein both themes, so the background no longer shifts when the webapp replaces it. The blocks now read as the webapp's cards on its field.Verified
hosted/test/loading.test.tsholds the theme script and both themes' colours toserver/templates/index.html, so the two cannot drift apart again.vitest: 321 passed.tsc --noEmitis clean.Left
Refs W-1075