-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
80 lines (69 loc) · 3.77 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
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>CrossCode</title>
<!-- Ionicons -->
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule="" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<link rel=“stylesheet” href=“https://cdn.jsdelivr.net/npm/[email protected]/css/fontisto/fontisto.min.css”>
<script type="module" src="/src/index.ts"></script>
</head>
<body>
<!-- Editor -->
<div id="editor"></div>
<div id="errors"></div>
<!-- SVG canvas -->
<svg
class="svg-canvas top"
width="190"
height="160"
preserveAspectRatio="none"
xmlns="http://www.w3.org/2000/svg">
<defs>
<marker viewBox="0 0 10 10" refX="3" refY="5" id="redArrowhead" orient="auto">
<polygon points="0,0 10,5 0,10 3,5" fill="red" />
</marker>
<linearGradient id="grad1">
<stop offset="0%" stop-color="var(--s-color-3)" stop-opacity="0.4" />
<stop offset="50%" stop-color="var(--s-color-3)" />
<stop offset="100%" stop-color="var(--s-color-3)" stop-opacity="0.4" />
</linearGradient>
<linearGradient id="grad2">
<stop offset="0%" stop-color="var(--s-color-2)" stop-opacity="0.1" />
<stop offset="50%" stop-color="var(--s-color-2)" />
<stop offset="100%" stop-color="var(--s-color-2)" stop-opacity="0.4" />
</linearGradient>
<linearGradient id="grad3" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#ff9431" stop-opacity="0.2" />
<stop offset="100%" stop-color="var(--s-color-0-3)" stop-opacity="0.2" />
</linearGradient>
<linearGradient id="fade_start" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="var(--path-color)" stop-opacity="0" />
<stop offset="50%" stop-color="var(--path-color)" />
<stop offset="100%" stop-color="var(--path-color)" stop-opacity="1" />
</linearGradient>
<linearGradient id="fade_end">
<stop offset="0%" stop-color="var(--path-color)" stop-opacity="1" />
<stop offset="50%" stop-color="var(--path-color)" />
<stop offset="100%" stop-color="var(--path-color)" stop-opacity="0" />
</linearGradient>
<linearGradient id="fade_both">
<stop offset="0%" stop-color="var(--path-color)" stop-opacity="0" />
<stop offset="50%" stop-color="var(--path-color)" stop-opacity="1" />
<stop offset="100%" stop-color="var(--path-color)" stop-opacity="0" />
</linearGradient>
<linearGradient id="grad4" gradientUnits="userSpaceOnUse" gradientTransform="rotate(90)">
<stop offset="0%" stop-color="var(--color-2)" stop-opacity="0" />
<stop offset="50%" stop-color="var(--color-2)" stop-opacity="1" />
<stop offset="100%" stop-color="var(--color-2)" stop-opacity="0" />
</linearGradient>
<linearGradient id="grad5">
<stop offset="0%" stop-color="var(--color-4)" stop-opacity="1" />
<stop offset="50%" stop-color="var(--color-4)" />
<stop offset="100%" stop-color="var(--color-4)" stop-opacity="0" />
</linearGradient>
</defs>
</svg>
</body>
</html>