* web: add a terminal colour theme option (Auto, Dark, Light)
* web: add an option to turn off the Terminal window's see-through glass
* web: default the terminal colours to Auto
* web: add a page colour theme option (Auto, Dark, Light)
* web: give the chrome's materials in style.css a light variant
* web: give the components' chrome classes a light variant
* web: follow the theme in the charts, the alerts' caution badge and the Docs window
* web: fix the light theme's Dock glyphs, Resume card veil and Browser toolbar hover
* web: read the shown theme from the store and type the option field names
* web: darken the light theme's faint and error colours to 4.5:1 on tints
* web: give the light terminal mid-tone colours that read under black text
* web: lighten the light terminal's green, yellow and cyan for black text on them
* web: use the dark terminal's green in the light terminal
* web: give the light terminal's green, yellow and cyan 4.5:1 on white, as its red, blue and magenta
* web: give the light theme a white status bar on iOS
* web: make the Docs window opaque
* web: post a theme change to the Docs window instead of reloading it
* docs: upgrade undocs nightly, for the Docs window's theme messages
---------
Co-authored-by: Pooya Parsa <pooya@pi0.io>
The worker now answers only /vm/<id>/<port>[/...], the guest preview's
relay. The page and its assets load from the network: a cache-first page
stayed old whenever caching a new build failed. Root-relative requests
from a preview are no longer relayed; guest pages use relative URLs.
sw.ts calls registration.update() on every load and after an hour
hidden, since register() with an unchanged URL never looks for a new
script. The old scope-/ registration gets the new script on its next
navigation, deletes the kw-app-* caches and tells old pages an update is
ready; the next load unregisters it. The update indicator, the Offline
copy row and /kw-assets.json go with the offline copy.