git clone https://garage44.eu/jeroen/cartopolis.git.. /crates/atlas/web/src/index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, interactive-widget=resizes-content" />
<!-- No robots tag: this page is also the front page. Caddy sends
`X-Robots-Tag: noindex` on the operator's and players' paths instead. -->
<title>Cartopolis</title>
<!-- The tab icon follows the system's scheme; the page's own theme switch
cannot reach a favicon. -->
<link rel="icon" type="image/svg+xml" href="/icon.svg" media="(prefers-color-scheme: dark)" />
<link rel="icon" type="image/svg+xml" href="/icon-light.svg" media="(prefers-color-scheme: light)" />
<!-- The page background of each theme (`--m-bg`), painted here rather than
waiting for the stylesheet so a phone never flashes the wrong one first.
The script pins the theme the switch remembered (`m-theme`, the
library's `storedTheme`) before anything is drawn. -->
<meta name="theme-color" content="#f1f5f5" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#0f1416" media="(prefers-color-scheme: dark)" />
<script>
try {
const theme = localStorage.getItem('m-theme')
if (theme === 'light' || theme === 'dark') document.documentElement.dataset.theme = theme
} catch {}
</script>
<style>
html { background: #f1f5f5; }
@media (prefers-color-scheme: dark) { html { background: #0f1416; } }
html[data-theme="light"] { background: #f1f5f5; }
html[data-theme="dark"] { background: #0f1416; }
</style>
<link rel="stylesheet" href="/app.css" />
<script type="module" src="/app.js"></script>
</head>
<body></body>
</html>