seriesoftubes/site
jvanvik 2cd6b71198 Dark mode: Light, Dark or Auto under Settings › Theme (#80)
A device preference (localStorage sot-theme, never in the save), applied
by a small script in <head> before the first paint, so there is no flash;
Auto follows prefers-color-scheme live, and a choice reaches other tabs
and the NOC window. Panels, HUD, drawers, toasts, modals, the phone tab
bar, charts, puzzles, the architect and Pie Control take their colours
from custom properties with night values (AA text contrast); light tints
keep their old colour as the fallback, so the light look is unchanged.

Both map renderers read a light and a dark palette (96-map/15-palette.js):
sea, land, clouds, coastlines, labels and the tube outline. A theme
switch repaints the cached layers once (the WebGL land buffers are
rebuilt once); nothing changes per frame. The multiplayer leaderboard's
own row and the menu rank badge follow the theme too.
2026-11-07 01:01:50 +01:00
..
architect/weekly Weekly Architect runs: sites outgrow their tubes, and a countdown 2026-10-30 14:07:45 +01:00
i18n Dark mode: Light, Dark or Auto under Settings › Theme (#80) 2026-11-07 01:01:50 +01:00
images Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
puzzles/weekly Puzzles: eighteen puzzles in five packs with traffic, and their tests 2026-10-29 10:48:24 +01:00
scenarios/weekly Sweden beyond Stockholm: Gothenburg, Malmö and Haparanda (closes #206) 2026-11-05 07:31:17 +01:00
404.html Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
apple-touch-icon.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
CNAME Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
d000727792a2ac2fdaa24ec953ed6d2b.txt Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
favicon.ico Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
favicon.svg Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
icon-192.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
icon-512.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
icon-maskable-512.png Redraw the app icons for home screens 2026-10-24 23:01:04 +02:00
llms.txt Point players to How the Internet Works 2026-10-24 22:12:38 +02:00
robots.txt Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
site.webmanifest Rework the phone layout and make the game installable 2026-10-24 22:52:55 +02:00
sitemap.xml Series of Tubes 1.0.0 2026-10-23 09:01:39 +02:00
sw.js Multiplayer for self-hosted copies: sessions, server-side saves, a leaderboard 2026-11-07 00:42:39 +01:00