-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (84 loc) · 3.46 KB
/
Copy pathindex.html
File metadata and controls
90 lines (84 loc) · 3.46 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!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, viewport-fit=cover" />
<title>Virtual Try-On</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
background: 'var(--color-background)',
surface: 'var(--color-surface)',
border: 'var(--color-border)',
borderLight: 'rgba(0, 0, 0, 0.08)',
textPrimary: 'var(--color-text-primary)',
textSecondary: 'var(--color-text-secondary)',
textTertiary: 'var(--color-text-tertiary)',
accent: 'var(--color-accent)',
accentHover: 'var(--color-accent-hover)',
'accent-soft': 'var(--color-accent-soft)',
selection: 'var(--color-selection)',
'selection-soft': 'var(--color-selection-soft)',
info: 'var(--color-info)',
'info-soft': 'var(--color-info-soft)',
destructive: 'var(--color-destructive)',
'destructive-soft': 'var(--color-destructive-soft)',
success: 'var(--color-success)',
'success-soft': 'var(--color-success-soft)',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
serif: ['"Instrument Serif"', 'serif'],
},
boxShadow: {
'input': '0 0 0 2px var(--color-surface), 0 0 0 4px var(--color-accent-soft)',
'card': '0 4px 12px rgba(0, 0, 0, 0.05)',
'glass': '0 8px 32px rgba(0, 0, 0, 0.1)',
},
borderRadius: {
'xl': '1rem',
'2xl': '1.5rem',
'3xl': '2rem',
}
}
}
}
</script>
<script type="importmap">
{
"imports": {
"react/": "https://esm.sh/react@^19.1.0/",
"react": "https://esm.sh/react@^19.1.0",
"react-dom/": "https://esm.sh/react-dom@^19.1.0/",
"@google/genai": "https://esm.sh/@google/genai@^1.10.0",
"react-image-crop": "https://esm.sh/react-image-crop@^11.0.6",
"framer-motion": "https://esm.sh/framer-motion@^11.2.12",
"clsx": "https://esm.sh/clsx@^2.1.1",
"tailwind-merge": "https://esm.sh/tailwind-merge@^2.4.0",
"@tsparticles/react": "https://esm.sh/@tsparticles/react@^3.0.0",
"@tsparticles/engine": "https://esm.sh/@tsparticles/engine@^3.5.0",
"@tsparticles/slim": "https://esm.sh/@tsparticles/slim@^3.5.0",
"idb": "https://esm.sh/idb@^8.0.0",
"jszip": "https://esm.sh/jszip@3.10.1",
"file-saver": "https://esm.sh/file-saver@2.0.5",
"react-dom": "https://esm.sh/react-dom@^19.1.0",
"html2canvas": "https://esm.sh/html2canvas@1.4.1"
}
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:wght@400;700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://esm.sh/react-image-crop@^11.0.6/dist/ReactCrop.css" />
<link rel="stylesheet" href="/index.css" />
<link rel="stylesheet" href="/index.css">
</head>
<body>
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>