-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
122 lines (113 loc) · 3.62 KB
/
index.html
File metadata and controls
122 lines (113 loc) · 3.62 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ColorCraft AI - Your Personal Coloring Book Studio</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-main: #0a0a0c;
--surface: #161618;
--border: #27272a;
--accent: #8b5cf6;
--text-primary: #f4f4f5;
--text-secondary: #a1a1aa;
--nav-bg: rgba(10, 10, 12, 0.8);
}
body.light {
--bg-main: #fafafa;
--surface: #ffffff;
--border: #e4e4e7;
--accent: #7c3aed;
--text-primary: #09090b;
--text-secondary: #71717a;
--nav-bg: rgba(250, 250, 250, 0.8);
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg-main);
color: var(--text-primary);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
transition: background-color 0.3s ease, color 0.3s ease;
}
.modern-label {
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-secondary);
}
.modern-input {
background-color: var(--surface);
border: 1px solid var(--border);
border-radius: 0.5rem;
color: var(--text-primary);
transition: all 0.2s ease;
}
.modern-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 1px var(--accent);
}
.glass-dropdown {
background: var(--surface);
backdrop-filter: blur(16px);
border: 1px solid var(--border);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #3f3f46;
}
/* Slider Styling */
input[type='range'] {
-webkit-appearance: none;
background: transparent;
}
input[type='range']::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
background: var(--border);
border-radius: 2px;
}
input[type='range']::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: var(--accent);
cursor: pointer;
margin-top: -6px;
box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}
</style>
<script type="importmap">
{
"imports": {
"@google/genai": "https://esm.sh/@google/genai@^1.34.0",
"react-dom/": "https://esm.sh/react-dom@^19.2.3/",
"react/": "https://esm.sh/react@^19.2.3/",
"react": "https://esm.sh/react@^19.2.3"
}
}
</script>
<link rel="stylesheet" href="/index.css">
</head>
<body class="min-h-screen">
<div id="root"></div>
<script type="module" src="/index.tsx"></script>
</body>
</html>