Open History to see the last commit
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, viewport-fit=cover" />
6 <meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)" />
7 <meta name="theme-color" content="#161616" media="(prefers-color-scheme: dark)" />
8 <meta name="theme-color" content="#161616" />
9 <link rel="icon" href="/favicon.ico" sizes="48x48" />
10 <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
11 <script>
12 (() => {
13 const LIGHT_BACKGROUND = "#ffffff";
14 const DARK_BACKGROUND = "#161616";
15 const themeColorMeta = document.querySelector('meta[name="theme-color"]');
16 try {
17 const storedTheme = window.localStorage.getItem("t3code:theme");
18 const theme =
19 storedTheme === "light" || storedTheme === "dark" || storedTheme === "system"
20 ? storedTheme
21 : "system";
22 const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
23 const isDark = theme === "dark" || (theme === "system" && prefersDark);
24 document.documentElement.classList.toggle("dark", isDark);
25 const chromeColor = isDark ? DARK_BACKGROUND : LIGHT_BACKGROUND;
26 document.documentElement.style.backgroundColor = chromeColor;
27 themeColorMeta?.setAttribute("content", chromeColor);
28 } catch {
29 document.documentElement.classList.add("dark");
30 document.documentElement.style.backgroundColor = DARK_BACKGROUND;
31 themeColorMeta?.setAttribute("content", DARK_BACKGROUND);
32 }
33 })();
34 </script>
35 <style>
36 html,
37 body,
38 #root {
39 width: 100%;
40 height: 100%;
41 margin: 0;
42 }
43
44 body {
45 background: #ffffff;
46 color: #262626;
47 font-family:
48 "DM Sans",
49 -apple-system,
50 BlinkMacSystemFont,
51 "Segoe UI",
52 system-ui,
53 sans-serif;
54 }
55
56 html.dark body {
57 background: #161616;
58 color: #f5f5f5;
59 }
60
61 #boot-shell {
62 display: flex;
63 min-height: 100%;
64 align-items: center;
65 justify-content: center;
66 background: inherit;
67 }
68
69 #boot-shell-card {
70 display: flex;
71 align-items: center;
72 justify-content: center;
73 width: 96px;
74 height: 96px;
75 }
76
77 #boot-shell-logo {
78 width: 64px;
79 height: 64px;
80 object-fit: contain;
81 }
82 </style>
83 <link rel="preconnect" href="https://fonts.googleapis.com" />
84 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
85 <link
86 href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..800;1,9..40,300..800&display=swap"
87 rel="stylesheet"
88 />
89 <title>T3 Code (Alpha)</title>
90 </head>
91 <body>
92 <div id="root">
93 <div id="boot-shell">
94 <div id="boot-shell-card" aria-label="T3 Code splash screen">
95 <img id="boot-shell-logo" src="/apple-touch-icon.png" alt="T3 Code" />
96 </div>
97 </div>
98 </div>
99 <script type="module" src="/src/main.tsx"></script>
100 </body>
101</html>