-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (71 loc) · 1.89 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte + TS</title>
<style>
:root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
--svelteplot-tooltip-bg: #fff;
--svelteplot-tooltip-border: #bbb;
}
@media (prefers-color-scheme: dark) {
:root {
--svelteplot-tooltip-bg: #242424;
--svelteplot-tooltip-border: #555;
}
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
}
body {
margin: 0;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
}
figure.svelteplot {
margin: 2em !important;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
}
figure.svelteplot h3 {
font-weight: normal;
font-size: 16px;
}
figure.svelteplot figcaption {
font-size: 12px;
opacity: 0.7;
}
</style>
</head>
<body>
<div id="svelteplot-line" style="min-height:300px"></div>
<div id="svelteplot-area" style="min-height:300px"></div>
<div id="svelteplot-bar"></div>
<div id="svelteplot-tooltip"></div>
<div id="svelteplot-stack"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>