VortexHunter23 commited on
Commit
38ef6f5
·
verified ·
1 Parent(s): 120465a

recreate it

Browse files
Files changed (2) hide show
  1. README.md +6 -3
  2. index.html +230 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
  title: Undefined Colors Web Template
3
- emoji: 📉
4
  colorFrom: yellow
5
- colorTo: green
 
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
  title: Undefined Colors Web Template
 
3
  colorFrom: yellow
4
+ colorTo: red
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,230 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>Undefined Colors Web Template</title>
7
+
8
+ <!-- TailwindCSS via CDN -->
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+
11
+ <!-- Feather Icons -->
12
+ <script src="https://unpkg.com/feather-icons"></script>
13
+
14
+ <!-- Tailwind config placeholder (update --color-primary/--color-secondary to your brand colors) -->
15
+ <script>
16
+ tailwind.config = {
17
+ theme: {
18
+ extend: {
19
+ colors: {
20
+ primary: {
21
+ 50: 'rgb(var(--color-primary) / <alpha-value>)',
22
+ 100: 'rgb(var(--color-primary) / <alpha-value>)',
23
+ 200: 'rgb(var(--color-primary) / <alpha-value>)',
24
+ 300: 'rgb(var(--color-primary) / <alpha-value>)',
25
+ 400: 'rgb(var(--color-primary) / <alpha-value>)',
26
+ 500: 'rgb(var(--color-primary) / <alpha-value>)',
27
+ 600: 'rgb(var(--color-primary) / <alpha-value>)',
28
+ 700: 'rgb(var(--color-primary) / <alpha-value>)',
29
+ 800: 'rgb(var(--color-primary) / <alpha-value>)',
30
+ 900: 'rgb(var(--color-primary) / <alpha-value>)',
31
+ },
32
+ secondary: {
33
+ 50: 'rgb(var(--color-secondary) / <alpha-value>)',
34
+ 100: 'rgb(var(--color-secondary) / <alpha-value>)',
35
+ 200: 'rgb(var(--color-secondary) / <alpha-value>)',
36
+ 300: 'rgb(var(--color-secondary) / <alpha-value>)',
37
+ 400: 'rgb(var(--color-secondary) / <alpha-value>)',
38
+ 500: 'rgb(var(--color-secondary) / <alpha-value>)',
39
+ 600: 'rgb(var(--color-secondary) / <alpha-value>)',
40
+ 700: 'rgb(var(--color-secondary) / <alpha-value>)',
41
+ 800: 'rgb(var(--color-secondary) / <alpha-value>)',
42
+ 900: 'rgb(var(--color-secondary) / <alpha-value>)',
43
+ },
44
+ },
45
+ },
46
+ },
47
+ };
48
+ </script>
49
+
50
+ <style>
51
+ :root {
52
+ /* TODO: Replace these with your brand colors (e.g., 34 197 94 for primary, 99 102 241 for secondary) */
53
+ --color-primary: 0 0 0;
54
+ --color-secondary: 0 0 0;
55
+ }
56
+ </style>
57
+ </head>
58
+ <body class="min-h-screen bg-gray-50 text-gray-800 antialiased">
59
+ <!-- NAVBAR -->
60
+ <header class="sticky top-0 z-30 border-b border-gray-200 bg-white/70 backdrop-blur">
61
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
62
+ <div class="flex h-16 items-center justify-between">
63
+ <a href="#" class="flex items-center gap-2 font-semibold text-gray-900">
64
+ <span class="inline-flex h-8 w-8 items-center justify-center rounded-md bg-undefined-500 text-white">
65
+ <!-- This class will show as undefined until you configure colors above -->
66
+ <i data-feather="box" class="h-5 w-5"></i>
67
+ </span>
68
+ <span>Brand</span>
69
+ </a>
70
+ <nav class="hidden items-center gap-6 text-sm font-medium text-gray-600 md:flex">
71
+ <a href="#" class="hover:text-gray-900">Features</a>
72
+ <a href="#" class="hover:text-gray-900">Pricing</a>
73
+ <a href="#" class="hover:text-gray-900">Docs</a>
74
+ <a href="#" class="rounded-md bg-undefined-500 px-3 py-2 text-white hover:bg-undefined-600 focus:outline-none focus:ring-2 focus:ring-undefined-400 focus:ring-offset-2">
75
+ Get Started
76
+ </a>
77
+ </nav>
78
+ <button class="md:hidden inline-flex items-center justify-center rounded-md p-2 text-gray-600 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-undefined-400">
79
+ <i data-feather="menu" class="h-6 w-6"></i>
80
+ </button>
81
+ </div>
82
+ </div>
83
+ </header>
84
+
85
+ <!-- HERO -->
86
+ <section class="relative overflow-hidden bg-white">
87
+ <div class="mx-auto max-w-7xl px-4 py-16 sm:px-6 sm:py-24 lg:px-8">
88
+ <div class="grid items-center gap-12 lg:grid-cols-2">
89
+ <div>
90
+ <span class="inline-flex items-center rounded-full bg-undefined-500/10 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-undefined-700 ring-1 ring-inset ring-undefined-500/20">
91
+ Undefined Mode
92
+ </span>
93
+ <h1 class="mt-4 text-4xl font-bold tracking-tight text-gray-900 sm:text-5xl">
94
+ Build with undefined primary and secondary colors
95
+ </h1>
96
+ <p class="mt-4 max-w-prose text-gray-600">
97
+ This template is ready for your brand. Configure --color-primary and --color-secondary in the head, then use
98
+ bg-undefined-500, text-undefined-600, border-undefined-400, and more.
99
+ </p>
100
+ <div class="mt-8 flex flex-wrap gap-3">
101
+ <a href="#" class="inline-flex items-center gap-2 rounded-md bg-undefined-500 px-4 py-2.5 font-medium text-white hover:bg-undefined-600 focus:outline-none focus:ring-2 focus:ring-undefined-400 focus:ring-offset-2">
102
+ <i data-feather="zap" class="h-5 w-5"></i>
103
+ Primary Action
104
+ </a>
105
+ <a href="#" class="inline-flex items-center gap-2 rounded-md border border-undefined-400 bg-white px-4 py-2.5 font-medium text-undefined-700 hover:bg-undefined-50 focus:outline-none focus:ring-2 focus:ring-undefined-400 focus:ring-offset-2">
106
+ <i data-feather="compass" class="h-5 w-5"></i>
107
+ Secondary
108
+ </a>
109
+ </div>
110
+ <div class="mt-8 grid w-full max-w-xl grid-cols-3 gap-6">
111
+ <div class="rounded-lg border border-undefined-200 bg-white p-4">
112
+ <div class="text-sm font-medium text-gray-700">Usage</div>
113
+ <div class="mt-1 text-xs text-gray-500">bg-undefined-500</div>
114
+ </div>
115
+ <div class="rounded-lg border border-undefined-200 bg-white p-4">
116
+ <div class="text-sm font-medium text-gray-700">States</div>
117
+ <div class="mt-1 text-xs text-gray-500">hover:bg-undefined-600</div>
118
+ </div>
119
+ <div class="rounded-lg border border-undefined-200 bg-white p-4">
120
+ <div class="text-sm font-medium text-gray-700">Text</div>
121
+ <div class="mt-1 text-xs text-gray-500">text-undefined-700</div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ <div class="relative">
126
+ <div class="absolute -left-8 -top-8 h-40 w-40 rounded-full bg-undefined-500/20 blur-2xl"></div>
127
+ <div class="absolute -bottom-8 -right-8 h-40 w-40 rounded-full bg-undefined-500/20 blur-2xl"></div>
128
+ <div class="relative rounded-xl border border-undefined-200 bg-white p-6 shadow-sm">
129
+ <div class="flex items-center gap-3 border-b border-undefined-200 pb-4">
130
+ <div class="h-3 w-3 rounded-full bg-red-400"></div>
131
+ <div class="h-3 w-3 rounded-full bg-yellow-400"></div>
132
+ <div class="h-3 w-3 rounded-full bg-green-400"></div>
133
+ </div>
134
+ <pre class="mt-4 overflow-x-auto rounded-md bg-gray-900 p-4 text-sm text-gray-100">
135
+ <span class="text-gray-400">// Tailwind config (extend colors)</span>
136
+ <span class="text-emerald-400">theme</span>: {
137
+ <span class="text-emerald-400">extend</span>: {
138
+ <span class="text-emerald-400">colors</span>: {
139
+ <span class="text-sky-400">primary</span>: { <span class="text-fuchsia-400">500</span>: <span class="text-amber-300">'rgb(var(--color-primary) / <alpha-value>)'</span> },
140
+ <span class="text-sky-400">secondary</span>: { <span class="text-fuchsia-400">500</span>: <span class="text-amber-300">'rgb(var(--color-secondary) / <alpha-value>)'</span> },
141
+ }
142
+ }
143
+ }
144
+ </pre>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ </div>
149
+ </section>
150
+
151
+ <!-- FEATURES -->
152
+ <section class="bg-gray-50">
153
+ <div class="mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8">
154
+ <div class="mx-auto max-w-2xl text-center">
155
+ <h2 class="text-3xl font-bold tracking-tight text-gray-900">Features using undefined colors</h2>
156
+ <p class="mt-3 text-gray-600">
157
+ Configure the palette once and use utility classes like bg-undefined-500, text-undefined-600, border-undefined-400 across the app.
158
+ </p>
159
+ </div>
160
+ <div class="mt-12 grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
161
+ <div class="rounded-xl border border-undefined-200 bg-white p-6 shadow-sm">
162
+ <div class="flex h-10 w-10 items-center justify-center rounded-lg bg-undefined-500/10 text-undefined-700 ring-1 ring-inset ring-undefined-500/20">
163
+ <i data-feather="cpu" class="h-5 w-5"></i>
164
+ </div>
165
+ <h3 class="mt-4 text-lg font-semibold text-gray-900">Performance</h3>
166
+ <p class="mt-2 text-sm text-gray-600">Lightweight and fast with Tailwind’s utility-first approach.</p>
167
+ </div>
168
+ <div class="rounded-xl border border-undefined-200 bg-white p-6 shadow-sm">
169
+ <div class="flex h-10 w-10 items-center justify-center rounded-lg bg-undefined-500/10 text-undefined-700 ring-1 ring-inset ring-undefined-500/20">
170
+ <i data-feather="shield" class="h-5 w-5"></i>
171
+ </div>
172
+ <h3 class="mt-4 text-lg font-semibold text-gray-900">Reliability</h3>
173
+ <p class="mt-2 text-sm text-gray-600">Sturdy components built to scale with your product.</p>
174
+ </div>
175
+ <div class="rounded-xl border border-undefined-200 bg-white p-6 shadow-sm">
176
+ <div class="flex h-10 w-10 items-center justify-center rounded-lg bg-undefined-500/10 text-undefined-700 ring-1 ring-inset ring-undefined-500/20">
177
+ <i data-feather="sliders" class="h-5 w-5"></i>
178
+ </div>
179
+ <h3 class="mt-4 text-lg font-semibold text-gray-900">Customizable</h3>
180
+ <p class="mt-2 text-sm text-gray-600">Tweak colors by updating CSS variables in the head.</p>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </section>
185
+
186
+ <!-- CTA -->
187
+ <section class="bg-white">
188
+ <div class="mx-auto max-w-7xl px-4 py-16 sm:px-6 lg:px-8">
189
+ <div class="flex flex-col items-center justify-between gap-6 rounded-2xl border border-undefined-200 bg-gradient-to-br from-white to-undefined-50 p-8 text-center shadow-sm lg:flex-row lg:text-left">
190
+ <div>
191
+ <h3 class="text-2xl font-bold text-gray-900">Ready to define your brand?</h3>
192
+ <p class="mt-1 text-gray-600">Set --color-primary and --color-secondary, then enjoy consistent tokens across Tailwind.</p>
193
+ </div>
194
+ <div class="flex gap-3">
195
+ <a href="#" class="inline-flex items-center gap-2 rounded-md bg-undefined-500 px-5 py-3 font-medium text-white hover:bg-undefined-600 focus:outline-none focus:ring-2 focus:ring-undefined-400 focus:ring-offset-2">
196
+ <i data-feather="arrow-right" class="h-5 w-5"></i>
197
+ Start now
198
+ </a>
199
+ <a href="#" class="inline-flex items-center gap-2 rounded-md border border-undefined-400 bg-white px-5 py-3 font-medium text-undefined-700 hover:bg-undefined-50 focus:outline-none focus:ring-2 focus:ring-undefined-400 focus:ring-offset-2">
200
+ Learn more
201
+ </a>
202
+ </div>
203
+ </div>
204
+ </div>
205
+ </section>
206
+
207
+ <!-- FOOTER -->
208
+ <footer class="border-t border-gray-200 bg-white">
209
+ <div class="mx-auto max-w-7xl px-4 py-10 sm:px-6 lg:px-8">
210
+ <div class="flex flex-col items-center justify-between gap-6 sm:flex-row">
211
+ <p class="text-sm text-gray-500">© <span id="year"></span> Your Company. All rights reserved.</p>
212
+ <div class="flex items-center gap-4 text-gray-500">
213
+ <a href="#" class="hover:text-gray-700"><i data-feather="github" class="h-5 w-5"></i></a>
214
+ <a href="#" class="hover:text-gray-700"><i data-feather="twitter" class="h-5 w-5"></i></a>
215
+ <a href="#" class="hover:text-gray-700"><i data-feather="mail" class="h-5 w-5"></i></a>
216
+ </div>
217
+ </div>
218
+ </div>
219
+ </footer>
220
+
221
+ <script>
222
+ // Initialize Feather icons
223
+ feather.replace();
224
+
225
+ // Set current year
226
+ document.getElementById('year').textContent = new Date().getFullYear();
227
+ </script>
228
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
229
+ </body>
230
+ </html>