kriyanshi commited on
Commit
eb3de16
·
1 Parent(s): 49ab859

aesthetic fix

Browse files
Files changed (1) hide show
  1. app.py +212 -67
app.py CHANGED
@@ -122,14 +122,17 @@ def list_skills() -> tuple[str, gr.update, str]:
122
  return catalog, gr.update(value="", visible=False), ""
123
 
124
 
125
- MAGENTA = "#FF0080"
126
  NAVY = "#002D62"
127
  NAVY_DEEP = "#001F3F"
 
 
 
128
 
129
  yoyo_theme = (
130
  gr.themes.Base(
131
- primary_hue="pink",
132
- secondary_hue="blue",
133
  neutral_hue="slate",
134
  font=gr.themes.GoogleFont("DM Sans"),
135
  font_mono=gr.themes.GoogleFont("JetBrains Mono"),
@@ -138,25 +141,37 @@ yoyo_theme = (
138
  body_background_fill="transparent",
139
  body_background_fill_dark="transparent",
140
  body_text_color=NAVY,
141
- block_background_fill="transparent",
 
 
142
  block_border_width="0px",
143
- block_label_text_color=NAVY,
 
144
  block_title_text_color=NAVY,
 
145
  block_radius="16px",
146
  button_large_radius="999px",
147
  button_primary_background_fill=NAVY,
148
  button_primary_background_fill_hover=NAVY_DEEP,
149
- button_primary_text_color=MAGENTA,
150
- button_secondary_background_fill="rgba(255,255,255,0.55)",
 
 
151
  button_secondary_text_color=NAVY,
152
- button_secondary_background_fill_hover="rgba(255,255,255,0.85)",
153
- input_background_fill="#FFFFFF",
154
- input_border_color="rgba(0,45,98,0.14)",
 
 
 
 
 
 
155
  input_radius="14px",
156
  checkbox_label_text_color=NAVY,
157
- link_text_color=NAVY,
158
  link_text_color_hover=NAVY_DEEP,
159
- shadow_drop="0 12px 40px rgba(0,31,63,0.10)",
160
  )
161
  )
162
 
@@ -164,18 +179,21 @@ APP_CSS = """
164
  @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&family=Press+Start+2P&display=swap');
165
 
166
  :root {
167
- --magenta: #FF0080;
 
168
  --navy: #002D62;
169
  --navy-deep: #001F3F;
170
- --card: rgba(255, 255, 255, 0.93);
 
171
  --card-border: rgba(0, 45, 98, 0.10);
 
172
  }
173
 
174
  .gradio-container {
175
  background:
176
- radial-gradient(ellipse 80% 60% at 15% 0%, rgba(255,255,255,0.22) 0%, transparent 55%),
177
- radial-gradient(ellipse 70% 50% at 90% 100%, rgba(0,31,63,0.18) 0%, transparent 50%),
178
- linear-gradient(155deg, #FF0080 0%, #E6007A 42%, #C4006A 100%) !important;
179
  color: var(--navy) !important;
180
  max-width: 1080px !important;
181
  margin: 0 auto !important;
@@ -196,13 +214,12 @@ footer { display: none !important; }
196
  font-weight: 600;
197
  letter-spacing: 0.12em;
198
  text-transform: uppercase;
199
- color: var(--navy);
200
- background: rgba(255,255,255,0.45);
201
- border: 1px solid rgba(0,45,98,0.12);
202
  border-radius: 999px;
203
  padding: 0.35rem 0.9rem;
204
  margin-bottom: 1.1rem;
205
- backdrop-filter: blur(8px);
206
  }
207
  .hero h1 {
208
  font-family: 'Press Start 2P', monospace;
@@ -210,20 +227,18 @@ footer { display: none !important; }
210
  line-height: 1.7;
211
  color: var(--navy-deep);
212
  margin: 0 0 1rem;
213
- text-shadow: 0 1px 0 rgba(255,255,255,0.25);
214
  }
215
  .hero .tagline {
216
  font-family: 'Press Start 2P', monospace;
217
  font-size: clamp(0.48rem, 1.35vw, 0.62rem);
218
  line-height: 2;
219
- color: var(--navy);
220
  max-width: 44rem;
221
  margin: 0 auto 1.25rem;
222
  text-transform: uppercase;
223
- opacity: 0.92;
224
  }
225
  .hero .subtitle {
226
- color: var(--navy);
227
  max-width: 34rem;
228
  margin: 0 auto 1.5rem;
229
  font-size: 1.02rem;
@@ -244,16 +259,15 @@ footer { display: none !important; }
244
  font-size: 0.78rem;
245
  font-weight: 600;
246
  color: var(--navy);
247
- background: rgba(255,255,255,0.5);
248
- border: 1px solid rgba(0,45,98,0.10);
249
  border-radius: 999px;
250
  padding: 0.4rem 0.85rem;
251
- backdrop-filter: blur(6px);
252
  }
253
  .flow-arrow {
254
- color: var(--navy-deep);
255
  font-size: 0.85rem;
256
- opacity: 0.55;
257
  user-select: none;
258
  }
259
 
@@ -263,8 +277,7 @@ footer { display: none !important; }
263
  background: var(--card) !important;
264
  border: 1px solid var(--card-border) !important;
265
  border-radius: 20px !important;
266
- box-shadow: 0 10px 40px rgba(0,31,63,0.10), 0 2px 8px rgba(0,31,63,0.05) !important;
267
- backdrop-filter: blur(12px);
268
  padding: 1.25rem 1.35rem !important;
269
  min-height: 100%;
270
  }
@@ -282,21 +295,29 @@ footer { display: none !important; }
282
  font-weight: 700;
283
  letter-spacing: 0.14em;
284
  text-transform: uppercase;
285
- color: var(--navy);
286
- opacity: 0.55;
287
  margin: 0 0 0.85rem 0.15rem;
288
  }
289
 
290
- .prompt-input textarea {
 
 
 
291
  font-size: 1.05rem !important;
292
  line-height: 1.5 !important;
293
  border-radius: 14px !important;
294
- border-color: rgba(0,45,98,0.12) !important;
295
- box-shadow: inset 0 1px 3px rgba(0,31,63,0.04) !important;
296
  }
297
- .prompt-input textarea:focus {
 
 
 
 
 
 
298
  border-color: var(--navy) !important;
299
- box-shadow: 0 0 0 3px rgba(0,45,98,0.12) !important;
300
  }
301
 
302
  .btn-row { gap: 0.6rem !important; margin-top: 0.25rem !important; }
@@ -309,34 +330,74 @@ footer { display: none !important; }
309
  }
310
  .btn-row button:hover { transform: translateY(-1px); }
311
  .btn-row button.primary {
312
- box-shadow: 0 4px 14px rgba(0,31,63,0.22) !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  }
314
 
315
- .examples-wrap .label-wrap { display: none !important; }
316
- .examples-wrap table { border: none !important; }
317
- .examples-wrap tbody tr td {
318
- background: rgba(0,45,98,0.06) !important;
319
  border: 1px solid rgba(0,45,98,0.08) !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  border-radius: 999px !important;
321
- padding: 0.35rem 0.85rem !important;
322
- margin: 0.2rem !important;
323
- font-size: 0.82rem !important;
324
- color: var(--navy) !important;
325
- transition: background 0.15s ease, transform 0.15s ease !important;
 
326
  }
327
  .examples-wrap tbody tr td:hover {
328
- background: rgba(255,255,255,0.75) !important;
 
329
  transform: translateY(-1px);
330
  cursor: pointer;
331
  }
332
 
333
  .result-md .prose {
334
- color: var(--navy) !important;
335
  font-size: 0.95rem !important;
336
  line-height: 1.7 !important;
337
  }
 
 
 
 
338
  .result-md .prose code {
339
- background: rgba(255,0,128,0.08) !important;
340
  color: var(--navy-deep) !important;
341
  border-radius: 6px !important;
342
  padding: 0.1em 0.35em !important;
@@ -344,56 +405,139 @@ footer { display: none !important; }
344
  font-size: 0.88em !important;
345
  }
346
  .result-md .prose strong { color: var(--navy-deep) !important; }
 
347
 
 
 
 
 
348
  .code-block pre,
349
  .code-block code {
 
 
350
  border-radius: 12px !important;
351
  font-family: 'JetBrains Mono', monospace !important;
352
  font-size: 0.8rem !important;
353
- border: 1px solid rgba(0,45,98,0.08) !important;
 
 
 
 
354
  }
355
 
356
  .accordion-wrap {
357
- background: var(--card) !important;
358
- border: 1px solid var(--card-border) !important;
359
- border-radius: 16px !important;
360
  overflow: hidden;
361
- box-shadow: 0 6px 24px rgba(0,31,63,0.07) !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
  }
363
 
364
  .site-footer {
365
  margin-top: 2rem;
366
  padding: 1.1rem 1.4rem;
367
- background: rgba(255,255,255,0.38);
368
- border: 1px solid rgba(0,45,98,0.10);
369
  border-radius: 16px;
370
- backdrop-filter: blur(10px);
371
  display: flex;
372
  flex-wrap: wrap;
373
  gap: 0.75rem 1.5rem;
374
  justify-content: center;
375
  font-size: 0.82rem;
376
- color: var(--navy);
377
  animation: fade-up 0.8s ease-out;
378
  }
379
  .site-footer a {
380
- color: var(--navy-deep);
381
  font-weight: 600;
382
  text-decoration: none;
383
- border-bottom: 1px solid rgba(0,31,63,0.25);
384
  }
385
- .site-footer a:hover { border-bottom-color: var(--navy-deep); }
386
  .footer-pill {
387
  display: inline-flex;
388
  align-items: center;
389
  gap: 0.35rem;
390
- background: rgba(255,255,255,0.45);
391
  border-radius: 999px;
392
  padding: 0.3rem 0.75rem;
393
  font-weight: 600;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
394
  }
395
- .footer-pill.ok { color: #0a6b3e; }
396
- .footer-pill.warn { color: #8a4b00; }
397
 
398
  @keyframes fade-up {
399
  from { opacity: 0; transform: translateY(10px); }
@@ -459,6 +603,7 @@ with gr.Blocks(
459
  gr.Examples(
460
  examples=[[p] for p in EXAMPLE_PROMPTS],
461
  inputs=prompt,
 
462
  )
463
 
464
  with gr.Column(scale=6, elem_classes=["glass-panel"]):
 
122
  return catalog, gr.update(value="", visible=False), ""
123
 
124
 
125
+ MAGENTA = "#E6007A"
126
  NAVY = "#002D62"
127
  NAVY_DEEP = "#001F3F"
128
+ SURFACE = "#FFFFFF"
129
+ SURFACE_MUTED = "#F4F7FB"
130
+ TEXT_MUTED = "#4A6278"
131
 
132
  yoyo_theme = (
133
  gr.themes.Base(
134
+ primary_hue="blue",
135
+ secondary_hue="pink",
136
  neutral_hue="slate",
137
  font=gr.themes.GoogleFont("DM Sans"),
138
  font_mono=gr.themes.GoogleFont("JetBrains Mono"),
 
141
  body_background_fill="transparent",
142
  body_background_fill_dark="transparent",
143
  body_text_color=NAVY,
144
+ body_text_color_dark=NAVY,
145
+ block_background_fill=SURFACE,
146
+ block_background_fill_dark=SURFACE,
147
  block_border_width="0px",
148
+ block_label_text_color=TEXT_MUTED,
149
+ block_label_text_color_dark=TEXT_MUTED,
150
  block_title_text_color=NAVY,
151
+ block_title_text_color_dark=NAVY,
152
  block_radius="16px",
153
  button_large_radius="999px",
154
  button_primary_background_fill=NAVY,
155
  button_primary_background_fill_hover=NAVY_DEEP,
156
+ button_primary_text_color="#FFFFFF",
157
+ button_primary_text_color_dark="#FFFFFF",
158
+ button_secondary_background_fill=SURFACE,
159
+ button_secondary_background_fill_dark=SURFACE,
160
  button_secondary_text_color=NAVY,
161
+ button_secondary_text_color_dark=NAVY,
162
+ button_secondary_background_fill_hover=SURFACE_MUTED,
163
+ button_secondary_background_fill_hover_dark=SURFACE_MUTED,
164
+ input_background_fill=SURFACE,
165
+ input_background_fill_dark=SURFACE,
166
+ input_border_color="rgba(0,45,98,0.16)",
167
+ input_border_color_dark="rgba(0,45,98,0.16)",
168
+ input_border_color_focus=NAVY,
169
+ input_border_color_focus_dark=NAVY,
170
  input_radius="14px",
171
  checkbox_label_text_color=NAVY,
172
+ link_text_color=MAGENTA,
173
  link_text_color_hover=NAVY_DEEP,
174
+ shadow_drop="0 12px 40px rgba(0,31,63,0.08)",
175
  )
176
  )
177
 
 
179
  @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500&family=Press+Start+2P&display=swap');
180
 
181
  :root {
182
+ --magenta: #E6007A;
183
+ --magenta-soft: rgba(230, 0, 122, 0.10);
184
  --navy: #002D62;
185
  --navy-deep: #001F3F;
186
+ --text-muted: #4A6278;
187
+ --card: #FFFFFF;
188
  --card-border: rgba(0, 45, 98, 0.10);
189
+ --surface-muted: #F4F7FB;
190
  }
191
 
192
  .gradio-container {
193
  background:
194
+ radial-gradient(ellipse 90% 55% at 50% -10%, rgba(230,0,122,0.12) 0%, transparent 55%),
195
+ radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0,45,98,0.06) 0%, transparent 50%),
196
+ linear-gradient(180deg, #FFF8FB 0%, #F7FAFC 55%, #EEF2F7 100%) !important;
197
  color: var(--navy) !important;
198
  max-width: 1080px !important;
199
  margin: 0 auto !important;
 
214
  font-weight: 600;
215
  letter-spacing: 0.12em;
216
  text-transform: uppercase;
217
+ color: var(--magenta);
218
+ background: var(--magenta-soft);
219
+ border: 1px solid rgba(230,0,122,0.18);
220
  border-radius: 999px;
221
  padding: 0.35rem 0.9rem;
222
  margin-bottom: 1.1rem;
 
223
  }
224
  .hero h1 {
225
  font-family: 'Press Start 2P', monospace;
 
227
  line-height: 1.7;
228
  color: var(--navy-deep);
229
  margin: 0 0 1rem;
 
230
  }
231
  .hero .tagline {
232
  font-family: 'Press Start 2P', monospace;
233
  font-size: clamp(0.48rem, 1.35vw, 0.62rem);
234
  line-height: 2;
235
+ color: var(--text-muted);
236
  max-width: 44rem;
237
  margin: 0 auto 1.25rem;
238
  text-transform: uppercase;
 
239
  }
240
  .hero .subtitle {
241
+ color: var(--text-muted);
242
  max-width: 34rem;
243
  margin: 0 auto 1.5rem;
244
  font-size: 1.02rem;
 
259
  font-size: 0.78rem;
260
  font-weight: 600;
261
  color: var(--navy);
262
+ background: var(--surface-muted);
263
+ border: 1px solid var(--card-border);
264
  border-radius: 999px;
265
  padding: 0.4rem 0.85rem;
 
266
  }
267
  .flow-arrow {
268
+ color: var(--magenta);
269
  font-size: 0.85rem;
270
+ opacity: 0.75;
271
  user-select: none;
272
  }
273
 
 
277
  background: var(--card) !important;
278
  border: 1px solid var(--card-border) !important;
279
  border-radius: 20px !important;
280
+ box-shadow: 0 8px 32px rgba(0,31,63,0.07), 0 1px 3px rgba(0,31,63,0.04) !important;
 
281
  padding: 1.25rem 1.35rem !important;
282
  min-height: 100%;
283
  }
 
295
  font-weight: 700;
296
  letter-spacing: 0.14em;
297
  text-transform: uppercase;
298
+ color: var(--text-muted);
 
299
  margin: 0 0 0.85rem 0.15rem;
300
  }
301
 
302
+ .prompt-input textarea,
303
+ .prompt-input input {
304
+ background: var(--card) !important;
305
+ color: var(--navy-deep) !important;
306
  font-size: 1.05rem !important;
307
  line-height: 1.5 !important;
308
  border-radius: 14px !important;
309
+ border: 1px solid rgba(0,45,98,0.14) !important;
310
+ box-shadow: inset 0 1px 2px rgba(0,31,63,0.03) !important;
311
  }
312
+ .prompt-input textarea::placeholder,
313
+ .prompt-input input::placeholder {
314
+ color: #8A9BB0 !important;
315
+ opacity: 1 !important;
316
+ }
317
+ .prompt-input textarea:focus,
318
+ .prompt-input input:focus {
319
  border-color: var(--navy) !important;
320
+ box-shadow: 0 0 0 3px rgba(0,45,98,0.10) !important;
321
  }
322
 
323
  .btn-row { gap: 0.6rem !important; margin-top: 0.25rem !important; }
 
330
  }
331
  .btn-row button:hover { transform: translateY(-1px); }
332
  .btn-row button.primary {
333
+ background: var(--navy) !important;
334
+ color: #FFFFFF !important;
335
+ border: none !important;
336
+ box-shadow: 0 4px 14px rgba(0,31,63,0.18) !important;
337
+ }
338
+ .btn-row button.primary:hover {
339
+ background: var(--navy-deep) !important;
340
+ }
341
+ .btn-row button.secondary {
342
+ background: var(--card) !important;
343
+ color: var(--navy) !important;
344
+ border: 1px solid rgba(0,45,98,0.16) !important;
345
+ }
346
+ .btn-row button.secondary:hover {
347
+ background: var(--surface-muted) !important;
348
  }
349
 
350
+ .examples-wrap,
351
+ .examples-wrap > .wrap,
352
+ .examples-wrap .block {
353
+ background: var(--surface-muted) !important;
354
  border: 1px solid rgba(0,45,98,0.08) !important;
355
+ border-radius: 14px !important;
356
+ padding: 0.65rem 0.75rem !important;
357
+ margin-top: 0.75rem !important;
358
+ }
359
+ .examples-wrap .label-wrap {
360
+ display: block !important;
361
+ margin-bottom: 0.5rem !important;
362
+ }
363
+ .examples-wrap .label-wrap span,
364
+ .examples-wrap label span {
365
+ color: var(--text-muted) !important;
366
+ font-size: 0.72rem !important;
367
+ font-weight: 700 !important;
368
+ letter-spacing: 0.12em !important;
369
+ text-transform: uppercase !important;
370
+ }
371
+ .examples-wrap table { border: none !important; width: 100% !important; }
372
+ .examples-wrap tbody tr td {
373
+ background: var(--card) !important;
374
+ border: 1px solid rgba(0,45,98,0.12) !important;
375
  border-radius: 999px !important;
376
+ padding: 0.4rem 0.9rem !important;
377
+ margin: 0.25rem !important;
378
+ font-size: 0.84rem !important;
379
+ font-weight: 500 !important;
380
+ color: var(--navy-deep) !important;
381
+ transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease !important;
382
  }
383
  .examples-wrap tbody tr td:hover {
384
+ background: #FFFFFF !important;
385
+ border-color: var(--magenta) !important;
386
  transform: translateY(-1px);
387
  cursor: pointer;
388
  }
389
 
390
  .result-md .prose {
391
+ color: var(--navy-deep) !important;
392
  font-size: 0.95rem !important;
393
  line-height: 1.7 !important;
394
  }
395
+ .result-md .prose em,
396
+ .result-md .prose p {
397
+ color: var(--text-muted) !important;
398
+ }
399
  .result-md .prose code {
400
+ background: var(--magenta-soft) !important;
401
  color: var(--navy-deep) !important;
402
  border-radius: 6px !important;
403
  padding: 0.1em 0.35em !important;
 
405
  font-size: 0.88em !important;
406
  }
407
  .result-md .prose strong { color: var(--navy-deep) !important; }
408
+ .result-md .prose h3 { color: var(--navy-deep) !important; }
409
 
410
+ .code-block,
411
+ .code-block .wrap {
412
+ background: var(--surface-muted) !important;
413
+ }
414
  .code-block pre,
415
  .code-block code {
416
+ background: var(--surface-muted) !important;
417
+ color: var(--navy-deep) !important;
418
  border-radius: 12px !important;
419
  font-family: 'JetBrains Mono', monospace !important;
420
  font-size: 0.8rem !important;
421
+ border: 1px solid rgba(0,45,98,0.10) !important;
422
+ }
423
+ .code-block label span {
424
+ color: var(--text-muted) !important;
425
+ font-weight: 600 !important;
426
  }
427
 
428
  .accordion-wrap {
429
+ background: var(--surface-muted) !important;
430
+ border: 1px solid rgba(0,45,98,0.10) !important;
431
+ border-radius: 14px !important;
432
  overflow: hidden;
433
+ margin-top: 0.75rem !important;
434
+ }
435
+ .accordion-wrap > .label-wrap {
436
+ background: var(--surface-muted) !important;
437
+ border-bottom: 1px solid rgba(0,45,98,0.08) !important;
438
+ }
439
+ .accordion-wrap button,
440
+ .accordion-wrap .label-wrap span {
441
+ color: var(--navy) !important;
442
+ font-weight: 600 !important;
443
+ font-size: 0.9rem !important;
444
+ }
445
+ .accordion-wrap svg {
446
+ color: var(--magenta) !important;
447
+ stroke: var(--magenta) !important;
448
  }
449
 
450
  .site-footer {
451
  margin-top: 2rem;
452
  padding: 1.1rem 1.4rem;
453
+ background: var(--card);
454
+ border: 1px solid var(--card-border);
455
  border-radius: 16px;
 
456
  display: flex;
457
  flex-wrap: wrap;
458
  gap: 0.75rem 1.5rem;
459
  justify-content: center;
460
  font-size: 0.82rem;
461
+ color: var(--text-muted);
462
  animation: fade-up 0.8s ease-out;
463
  }
464
  .site-footer a {
465
+ color: var(--magenta);
466
  font-weight: 600;
467
  text-decoration: none;
468
+ border-bottom: 1px solid rgba(230,0,122,0.35);
469
  }
470
+ .site-footer a:hover { border-bottom-color: var(--navy-deep); color: var(--navy-deep); }
471
  .footer-pill {
472
  display: inline-flex;
473
  align-items: center;
474
  gap: 0.35rem;
475
+ background: var(--surface-muted);
476
  border-radius: 999px;
477
  padding: 0.3rem 0.75rem;
478
  font-weight: 600;
479
+ color: var(--navy);
480
+ }
481
+ .footer-pill.ok { color: #0a6b3e; background: rgba(10,107,62,0.08); }
482
+ .footer-pill.warn { color: #8a4b00; background: rgba(138,75,0,0.08); }
483
+
484
+ /* Force readable light surfaces even when Gradio dark mode is active */
485
+ .dark .gradio-container {
486
+ background:
487
+ radial-gradient(ellipse 90% 55% at 50% -10%, rgba(230,0,122,0.12) 0%, transparent 55%),
488
+ radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0,45,98,0.06) 0%, transparent 50%),
489
+ linear-gradient(180deg, #FFF8FB 0%, #F7FAFC 55%, #EEF2F7 100%) !important;
490
+ color: var(--navy) !important;
491
+ }
492
+ .dark .glass-panel,
493
+ .dark .glass-panel > .wrap {
494
+ background: var(--card) !important;
495
+ color: var(--navy-deep) !important;
496
+ }
497
+ .dark .prompt-input textarea,
498
+ .dark .prompt-input input {
499
+ background: var(--card) !important;
500
+ color: var(--navy-deep) !important;
501
+ border-color: rgba(0,45,98,0.14) !important;
502
+ }
503
+ .dark .examples-wrap,
504
+ .dark .examples-wrap > .wrap,
505
+ .dark .examples-wrap .block {
506
+ background: var(--surface-muted) !important;
507
+ }
508
+ .dark .examples-wrap tbody tr td {
509
+ background: var(--card) !important;
510
+ color: var(--navy-deep) !important;
511
+ }
512
+ .dark .accordion-wrap,
513
+ .dark .accordion-wrap > .label-wrap {
514
+ background: var(--surface-muted) !important;
515
+ }
516
+ .dark .accordion-wrap button,
517
+ .dark .accordion-wrap .label-wrap span {
518
+ color: var(--navy) !important;
519
+ }
520
+ .dark .code-block pre,
521
+ .dark .code-block code {
522
+ background: var(--surface-muted) !important;
523
+ color: var(--navy-deep) !important;
524
+ }
525
+ .dark .btn-row button.primary {
526
+ background: var(--navy) !important;
527
+ color: #FFFFFF !important;
528
+ }
529
+ .dark .btn-row button.secondary {
530
+ background: var(--card) !important;
531
+ color: var(--navy) !important;
532
+ }
533
+ .dark .result-md .prose,
534
+ .dark .result-md .prose p,
535
+ .dark .result-md .prose h3 {
536
+ color: var(--navy-deep) !important;
537
+ }
538
+ .dark .result-md .prose em {
539
+ color: var(--text-muted) !important;
540
  }
 
 
541
 
542
  @keyframes fade-up {
543
  from { opacity: 0; transform: translateY(10px); }
 
603
  gr.Examples(
604
  examples=[[p] for p in EXAMPLE_PROMPTS],
605
  inputs=prompt,
606
+ label="Try an example",
607
  )
608
 
609
  with gr.Column(scale=6, elem_classes=["glass-panel"]):