android comp
This commit is contained in:
1 parent
4ce43a9c41
commit
459188346e
4 files changed
+78
-16
No files matched your search
@@ -4,6 +4,11 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Colony</title>
|
||||
<script>
|
||||
/* The Android app asks for ?theme=dark: a WebView reports the theme of its host app, not the phone's setting. */
|
||||
const theme = new URLSearchParams(location.search).get("theme");
|
||||
if (theme === "dark" || theme === "light") document.documentElement.dataset.theme = theme;
|
||||
</script>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in new issue
Block a user