Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (58 loc) · 1.93 KB
/
Copy pathindex.html
File metadata and controls
58 lines (58 loc) · 1.93 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SpriteExtract</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
background: "#09090b",
foreground: "#fafafa",
card: "#18181b",
"card-foreground": "#fafafa",
popover: "#18181b",
"popover-foreground": "#fafafa",
primary: "#3b82f6",
"primary-foreground": "#fafafa",
secondary: "#27272a",
"secondary-foreground": "#fafafa",
muted: "#27272a",
"muted-foreground": "#a1a1aa",
accent: "#27272a",
"accent-foreground": "#fafafa",
destructive: "#ef4444",
"destructive-foreground": "#fafafa",
border: "#27272a",
input: "#27272a",
ring: "#3b82f6",
},
backgroundImage: {
'checkerboard': "conic-gradient(#27272a 90deg, transparent 90deg 180deg, #27272a 180deg 270deg, transparent 270deg)",
},
backgroundSize: {
'checkerboard': '20px 20px',
}
},
},
}
</script>
<style>
body {
background-color: #09090b;
color: #fafafa;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
overflow: hidden; /* Prevent body scroll, handle in components */
}
</style>
<!-- Load full Konva bundle globally to ensure all Shapes (Rect, Transformer) are registered -->
<script src="https://unpkg.com/konva@9.3.18/konva.min.js"></script>
<script type="module" src="./index.tsx"></script>
</head>
<body>
<div id="root"></div>
</body>
</html>