This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
61 lines (51 loc) · 1.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!DOCTYPE html>
<html lang="en" class="auto">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite App</title>
<link rel="icon" href="/favicon.ico" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&family=Inter:wght@300;400;700&display=swap">
<style>
:root {
--ink-code-font-family: 'Fira Code', 'Courier New', Courier, monospace;
}
body {
font-family: 'Inter', Helvetica, sans-serif;
}
.dark body {
background-color: #171717;
color: #fafafa;
}
@media (prefers-color-scheme: dark) {
.auto body {
background-color: #171717;
color: #fafafa;
}
}
.light body {
background-color: #fafafa;
color: #171717;
}
@media (prefers-color-scheme: light) {
.auto body {
background-color: #fafafa;
color: #171717;
}
}
.editor {
margin: auto;
max-width: 75rem;
padding: 0.5em;
}
.editor .cm-editor.cm-focused {
outline: none;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>