crabot 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html DELETED
@@ -1,31 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <base href="/" />
7
- <title>Crabot Console</title>
8
- <meta name="color-scheme" content="light dark" />
9
- <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='12' fill='%231f2937'/%3E%3Cpath d='M18 32h28M32 18v28' stroke='%23f8fafc' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E" />
10
- <script>
11
- const root = document.documentElement;
12
- const storedTheme = window.localStorage.getItem("crabot.web.theme");
13
- const systemTheme = typeof window.matchMedia === "function" && window.matchMedia("(prefers-color-scheme: dark)").matches
14
- ? "dark"
15
- : "light";
16
- const resolvedTheme = storedTheme === "light" || storedTheme === "dark"
17
- ? storedTheme
18
- : systemTheme;
19
-
20
- root.classList.toggle("dark", resolvedTheme === "dark");
21
- root.dataset.theme = resolvedTheme;
22
- root.style.colorScheme = resolvedTheme;
23
- </script>
24
-
25
-
26
- <link rel="stylesheet" crossorigin href="./chunks/index-12hd6tq8.css"><script type="module" crossorigin src="./chunks/index-kv3fcqks.js"></script></head>
27
- <body>
28
- <div id="root"></div>
29
-
30
- </body>
31
- </html>