claude-presentation-master 1.0.2 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +393 -146
- package/assets/presentation-engine.css +394 -0
- package/assets/presentation-knowledge.yaml +707 -0
- package/bin/cli.js +57 -21
- package/dist/index.d.mts +928 -81
- package/dist/index.d.ts +928 -81
- package/dist/index.js +8635 -1359
- package/dist/index.mjs +8627 -1359
- package/package.json +12 -12
|
@@ -11,6 +11,31 @@
|
|
|
11
11
|
* License: MIT
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
/* ==========================================================================
|
|
15
|
+
FONT LOADING - Google Fonts for Professional Typography
|
|
16
|
+
Zero-cost: Uses free Google Fonts, no API keys required
|
|
17
|
+
========================================================================== */
|
|
18
|
+
|
|
19
|
+
/* Primary Fonts - Load from Google Fonts CDN */
|
|
20
|
+
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400;1,600&display=swap');
|
|
21
|
+
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');
|
|
22
|
+
|
|
23
|
+
/* Presentation Type-Specific Fonts */
|
|
24
|
+
/* TED Keynote: Circular-style modern sans */
|
|
25
|
+
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');
|
|
26
|
+
|
|
27
|
+
/* Investment Banking: Classic serif for authority */
|
|
28
|
+
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
|
|
29
|
+
|
|
30
|
+
/* Consulting: Clean corporate sans */
|
|
31
|
+
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
|
|
32
|
+
|
|
33
|
+
/* Technical: Precision engineering feel */
|
|
34
|
+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
|
|
35
|
+
|
|
36
|
+
/* Sales: Friendly, approachable */
|
|
37
|
+
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
|
|
38
|
+
|
|
14
39
|
/* ==========================================================================
|
|
15
40
|
CSS CUSTOM PROPERTIES - THEMING SYSTEM
|
|
16
41
|
========================================================================== */
|
|
@@ -231,6 +256,375 @@
|
|
|
231
256
|
--color-border-light: #6d28d9;
|
|
232
257
|
}
|
|
233
258
|
|
|
259
|
+
/* ==========================================================================
|
|
260
|
+
PRESENTATION TYPE THEMES - World-Class Industry Standards
|
|
261
|
+
========================================================================== */
|
|
262
|
+
|
|
263
|
+
/* TED/Keynote Style - Maximum Visual Impact */
|
|
264
|
+
[data-presentation-type="ted_keynote"] {
|
|
265
|
+
--color-primary: #e62b1e; /* TED Red */
|
|
266
|
+
--color-primary-dark: #c41d1d;
|
|
267
|
+
--color-primary-light: #ff4444;
|
|
268
|
+
--color-secondary: #1a1a1a;
|
|
269
|
+
--color-accent: #e62b1e;
|
|
270
|
+
|
|
271
|
+
--color-bg-primary: #000000;
|
|
272
|
+
--color-bg-secondary: #111111;
|
|
273
|
+
--color-bg-tertiary: #1a1a1a;
|
|
274
|
+
--color-bg-overlay: rgba(0, 0, 0, 0.95);
|
|
275
|
+
|
|
276
|
+
--color-text-primary: #ffffff;
|
|
277
|
+
--color-text-secondary: #cccccc;
|
|
278
|
+
--color-text-tertiary: #999999;
|
|
279
|
+
--color-text-inverse: #000000;
|
|
280
|
+
|
|
281
|
+
--color-border: #333333;
|
|
282
|
+
--color-border-light: #444444;
|
|
283
|
+
|
|
284
|
+
/* TED uses large, bold modern sans (DM Sans mimics Circular) */
|
|
285
|
+
--font-heading: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
286
|
+
--font-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
287
|
+
--font-size-5xl: clamp(4rem, 3.5rem + 3vw, 6rem);
|
|
288
|
+
--font-weight-heading: 700;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* Sales Pitch - Trust + Action */
|
|
292
|
+
[data-presentation-type="sales_pitch"] {
|
|
293
|
+
--color-primary: #2563eb; /* Trust Blue */
|
|
294
|
+
--color-primary-dark: #1d4ed8;
|
|
295
|
+
--color-primary-light: #3b82f6;
|
|
296
|
+
--color-secondary: #1e40af;
|
|
297
|
+
--color-accent: #10b981; /* Success Green */
|
|
298
|
+
|
|
299
|
+
--color-bg-primary: #ffffff;
|
|
300
|
+
--color-bg-secondary: #f8fafc;
|
|
301
|
+
--color-bg-tertiary: #f1f5f9;
|
|
302
|
+
--color-bg-overlay: rgba(255, 255, 255, 0.95);
|
|
303
|
+
|
|
304
|
+
--color-text-primary: #0f172a;
|
|
305
|
+
--color-text-secondary: #475569;
|
|
306
|
+
--color-text-tertiary: #64748b;
|
|
307
|
+
--color-text-inverse: #ffffff;
|
|
308
|
+
|
|
309
|
+
--color-border: #e2e8f0;
|
|
310
|
+
--color-border-light: #cbd5e1;
|
|
311
|
+
|
|
312
|
+
/* Sales: Friendly, approachable Poppins */
|
|
313
|
+
--font-heading: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
|
|
314
|
+
--font-body: 'Poppins', 'Source Sans Pro', sans-serif;
|
|
315
|
+
--font-weight-heading: 600;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* Consulting Deck - McKinsey/BCG/Bain Style */
|
|
319
|
+
[data-presentation-type="consulting_deck"] {
|
|
320
|
+
--color-primary: #003366; /* McKinsey Blue */
|
|
321
|
+
--color-primary-dark: #002244;
|
|
322
|
+
--color-primary-light: #004488;
|
|
323
|
+
--color-secondary: #336699;
|
|
324
|
+
--color-accent: #0066cc;
|
|
325
|
+
|
|
326
|
+
--color-bg-primary: #ffffff;
|
|
327
|
+
--color-bg-secondary: #f5f5f5;
|
|
328
|
+
--color-bg-tertiary: #eeeeee;
|
|
329
|
+
--color-bg-overlay: rgba(255, 255, 255, 0.95);
|
|
330
|
+
|
|
331
|
+
--color-text-primary: #1a1a1a;
|
|
332
|
+
--color-text-secondary: #4a4a4a;
|
|
333
|
+
--color-text-tertiary: #757575;
|
|
334
|
+
--color-text-inverse: #ffffff;
|
|
335
|
+
|
|
336
|
+
--color-border: #e0e0e0;
|
|
337
|
+
--color-border-light: #bdbdbd;
|
|
338
|
+
|
|
339
|
+
/* Consulting: IBM Plex Sans - clean corporate feel */
|
|
340
|
+
--font-heading: 'IBM Plex Sans', Arial, 'Helvetica Neue', sans-serif;
|
|
341
|
+
--font-body: 'IBM Plex Sans', Arial, sans-serif;
|
|
342
|
+
--font-weight-heading: 600;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Investment Banking - Goldman/Morgan Stanley Style */
|
|
346
|
+
[data-presentation-type="investment_banking"] {
|
|
347
|
+
--color-primary: #1a365d; /* Navy Blue */
|
|
348
|
+
--color-primary-dark: #0d1b2a;
|
|
349
|
+
--color-primary-light: #2d4a6f;
|
|
350
|
+
--color-secondary: #2d4a6f;
|
|
351
|
+
--color-accent: #c5a572; /* Gold Accent */
|
|
352
|
+
|
|
353
|
+
--color-bg-primary: #ffffff;
|
|
354
|
+
--color-bg-secondary: #f7f7f7;
|
|
355
|
+
--color-bg-tertiary: #eeeeee;
|
|
356
|
+
--color-bg-overlay: rgba(255, 255, 255, 0.95);
|
|
357
|
+
|
|
358
|
+
--color-text-primary: #1a365d;
|
|
359
|
+
--color-text-secondary: #4a5568;
|
|
360
|
+
--color-text-tertiary: #718096;
|
|
361
|
+
--color-text-inverse: #ffffff;
|
|
362
|
+
|
|
363
|
+
--color-border: #e2e8f0;
|
|
364
|
+
--color-border-light: #cbd5e1;
|
|
365
|
+
|
|
366
|
+
/* IB: Libre Baskerville for gravitas, Arial for body */
|
|
367
|
+
--font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
|
|
368
|
+
--font-body: 'IBM Plex Sans', Arial, 'Helvetica Neue', sans-serif;
|
|
369
|
+
--font-weight-heading: 700;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
/* Investor Pitch - Startup Style */
|
|
373
|
+
[data-presentation-type="investor_pitch"] {
|
|
374
|
+
--color-primary: #111827; /* Almost Black */
|
|
375
|
+
--color-primary-dark: #000000;
|
|
376
|
+
--color-primary-light: #1f2937;
|
|
377
|
+
--color-secondary: #374151;
|
|
378
|
+
--color-accent: #6366f1; /* Startup Purple */
|
|
379
|
+
|
|
380
|
+
--color-bg-primary: #ffffff;
|
|
381
|
+
--color-bg-secondary: #f9fafb;
|
|
382
|
+
--color-bg-tertiary: #f3f4f6;
|
|
383
|
+
--color-bg-overlay: rgba(255, 255, 255, 0.95);
|
|
384
|
+
|
|
385
|
+
--color-text-primary: #111827;
|
|
386
|
+
--color-text-secondary: #4b5563;
|
|
387
|
+
--color-text-tertiary: #6b7280;
|
|
388
|
+
--color-text-inverse: #ffffff;
|
|
389
|
+
|
|
390
|
+
--color-border: #e5e7eb;
|
|
391
|
+
--color-border-light: #d1d5db;
|
|
392
|
+
|
|
393
|
+
/* Investor: Modern, startup feel with DM Sans */
|
|
394
|
+
--font-heading: 'DM Sans', 'Source Sans Pro', sans-serif;
|
|
395
|
+
--font-body: 'Source Sans Pro', 'Helvetica Neue', sans-serif;
|
|
396
|
+
--font-weight-heading: 700;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/* Technical Presentation - Developer Style */
|
|
400
|
+
[data-presentation-type="technical_presentation"] {
|
|
401
|
+
--color-primary: #1f2937; /* Dark Gray */
|
|
402
|
+
--color-primary-dark: #111827;
|
|
403
|
+
--color-primary-light: #374151;
|
|
404
|
+
--color-secondary: #4b5563;
|
|
405
|
+
--color-accent: #3b82f6; /* Code Blue */
|
|
406
|
+
|
|
407
|
+
--color-bg-primary: #0f172a;
|
|
408
|
+
--color-bg-secondary: #1e293b;
|
|
409
|
+
--color-bg-tertiary: #334155;
|
|
410
|
+
--color-bg-overlay: rgba(15, 23, 42, 0.95);
|
|
411
|
+
|
|
412
|
+
--color-text-primary: #f8fafc;
|
|
413
|
+
--color-text-secondary: #e2e8f0;
|
|
414
|
+
--color-text-tertiary: #cbd5e1;
|
|
415
|
+
--color-text-inverse: #0f172a;
|
|
416
|
+
|
|
417
|
+
--color-border: #475569;
|
|
418
|
+
--color-border-light: #64748b;
|
|
419
|
+
|
|
420
|
+
/* Technical: Space Grotesk - precision engineering feel */
|
|
421
|
+
--font-heading: 'Space Grotesk', 'SF Pro Display', sans-serif;
|
|
422
|
+
--font-body: 'Source Sans Pro', 'SF Pro Text', sans-serif;
|
|
423
|
+
--font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
|
|
424
|
+
--font-weight-heading: 600;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
/* All Hands Meeting - Corporate Celebration */
|
|
428
|
+
[data-presentation-type="all_hands"] {
|
|
429
|
+
--color-primary: #1e3a5f; /* Corporate Blue */
|
|
430
|
+
--color-primary-dark: #15294a;
|
|
431
|
+
--color-primary-light: #2d5a8b;
|
|
432
|
+
--color-secondary: #2d5a8b;
|
|
433
|
+
--color-accent: #22c55e; /* Win Green */
|
|
434
|
+
|
|
435
|
+
--color-bg-primary: #ffffff;
|
|
436
|
+
--color-bg-secondary: #f0f9ff;
|
|
437
|
+
--color-bg-tertiary: #e0f2fe;
|
|
438
|
+
--color-bg-overlay: rgba(255, 255, 255, 0.95);
|
|
439
|
+
|
|
440
|
+
--color-text-primary: #1e3a5f;
|
|
441
|
+
--color-text-secondary: #475569;
|
|
442
|
+
--color-text-tertiary: #64748b;
|
|
443
|
+
--color-text-inverse: #ffffff;
|
|
444
|
+
|
|
445
|
+
--color-border: #bae6fd;
|
|
446
|
+
--color-border-light: #7dd3fc;
|
|
447
|
+
|
|
448
|
+
/* All Hands: Source Sans Pro - clear, corporate */
|
|
449
|
+
--font-heading: 'Source Sans Pro', 'Helvetica Neue', sans-serif;
|
|
450
|
+
--font-body: 'Source Sans Pro', Arial, sans-serif;
|
|
451
|
+
--font-weight-heading: 600;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/* ==========================================================================
|
|
455
|
+
GENSPARK-STYLE EFFECTS - Modern Glass Morphism & Polish
|
|
456
|
+
========================================================================== */
|
|
457
|
+
|
|
458
|
+
/* Glass Effect Cards */
|
|
459
|
+
.glass-card,
|
|
460
|
+
.reveal .glass-card {
|
|
461
|
+
background: rgba(255, 255, 255, 0.05);
|
|
462
|
+
backdrop-filter: blur(20px);
|
|
463
|
+
-webkit-backdrop-filter: blur(20px);
|
|
464
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
465
|
+
border-radius: var(--radius-xl);
|
|
466
|
+
box-shadow:
|
|
467
|
+
0 8px 32px rgba(0, 0, 0, 0.1),
|
|
468
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
469
|
+
transition: all var(--transition-base);
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.glass-card:hover,
|
|
473
|
+
.reveal .glass-card:hover {
|
|
474
|
+
background: rgba(255, 255, 255, 0.08);
|
|
475
|
+
border-color: rgba(255, 255, 255, 0.15);
|
|
476
|
+
transform: translateY(-2px);
|
|
477
|
+
box-shadow:
|
|
478
|
+
0 12px 40px rgba(0, 0, 0, 0.15),
|
|
479
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.15);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/* Light theme glass */
|
|
483
|
+
[data-theme="light-corporate"] .glass-card,
|
|
484
|
+
[data-presentation-type="sales_pitch"] .glass-card,
|
|
485
|
+
[data-presentation-type="consulting_deck"] .glass-card,
|
|
486
|
+
[data-presentation-type="investment_banking"] .glass-card,
|
|
487
|
+
[data-presentation-type="investor_pitch"] .glass-card,
|
|
488
|
+
[data-presentation-type="all_hands"] .glass-card {
|
|
489
|
+
background: rgba(255, 255, 255, 0.7);
|
|
490
|
+
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
491
|
+
box-shadow:
|
|
492
|
+
0 8px 32px rgba(0, 0, 0, 0.08),
|
|
493
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/* Gradient Accent Lines */
|
|
497
|
+
.gradient-accent,
|
|
498
|
+
.reveal .gradient-accent {
|
|
499
|
+
height: 4px;
|
|
500
|
+
background: linear-gradient(90deg,
|
|
501
|
+
var(--color-primary) 0%,
|
|
502
|
+
var(--color-accent) 50%,
|
|
503
|
+
var(--color-secondary) 100%);
|
|
504
|
+
border-radius: var(--radius-full);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/* Smooth Fade Transitions */
|
|
508
|
+
.reveal .slides section {
|
|
509
|
+
transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
/* Micro-interactions for Elements */
|
|
513
|
+
.reveal .slide-content h1,
|
|
514
|
+
.reveal .slide-content h2 {
|
|
515
|
+
transition: color var(--transition-fast);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.reveal .metric-card,
|
|
519
|
+
.reveal .stats-box {
|
|
520
|
+
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.reveal .metric-card:hover,
|
|
524
|
+
.reveal .stats-box:hover {
|
|
525
|
+
transform: translateY(-4px) scale(1.02);
|
|
526
|
+
box-shadow: var(--shadow-xl);
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/* Subtle Background Gradients */
|
|
530
|
+
.gradient-bg-subtle {
|
|
531
|
+
background: linear-gradient(135deg,
|
|
532
|
+
var(--color-bg-primary) 0%,
|
|
533
|
+
var(--color-bg-secondary) 50%,
|
|
534
|
+
var(--color-bg-primary) 100%);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/* Animated Gradient for Emphasis */
|
|
538
|
+
.gradient-bg-animated {
|
|
539
|
+
background: linear-gradient(-45deg,
|
|
540
|
+
var(--color-primary),
|
|
541
|
+
var(--color-secondary),
|
|
542
|
+
var(--color-accent),
|
|
543
|
+
var(--color-primary));
|
|
544
|
+
background-size: 400% 400%;
|
|
545
|
+
animation: gradientShift 15s ease infinite;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
@keyframes gradientShift {
|
|
549
|
+
0% { background-position: 0% 50%; }
|
|
550
|
+
50% { background-position: 100% 50%; }
|
|
551
|
+
100% { background-position: 0% 50%; }
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/* Floating Animation for Key Elements */
|
|
555
|
+
.float-subtle {
|
|
556
|
+
animation: floatSubtle 6s ease-in-out infinite;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
@keyframes floatSubtle {
|
|
560
|
+
0%, 100% { transform: translateY(0); }
|
|
561
|
+
50% { transform: translateY(-8px); }
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/* Glow Effects for Accent Elements */
|
|
565
|
+
.glow-accent,
|
|
566
|
+
.reveal .glow-accent {
|
|
567
|
+
box-shadow:
|
|
568
|
+
0 0 20px rgba(var(--color-accent-rgb, 245, 158, 11), 0.3),
|
|
569
|
+
0 0 40px rgba(var(--color-accent-rgb, 245, 158, 11), 0.2),
|
|
570
|
+
0 0 60px rgba(var(--color-accent-rgb, 245, 158, 11), 0.1);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/* Smooth Text Reveal */
|
|
574
|
+
.text-reveal {
|
|
575
|
+
opacity: 0;
|
|
576
|
+
transform: translateY(20px);
|
|
577
|
+
animation: textReveal 0.6s ease-out forwards;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
@keyframes textReveal {
|
|
581
|
+
to {
|
|
582
|
+
opacity: 1;
|
|
583
|
+
transform: translateY(0);
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/* Stagger Animation for Lists */
|
|
588
|
+
.reveal ul.stagger-in > li {
|
|
589
|
+
opacity: 0;
|
|
590
|
+
transform: translateX(-20px);
|
|
591
|
+
animation: staggerIn 0.5s ease-out forwards;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.reveal ul.stagger-in > li:nth-child(1) { animation-delay: 0.1s; }
|
|
595
|
+
.reveal ul.stagger-in > li:nth-child(2) { animation-delay: 0.2s; }
|
|
596
|
+
.reveal ul.stagger-in > li:nth-child(3) { animation-delay: 0.3s; }
|
|
597
|
+
.reveal ul.stagger-in > li:nth-child(4) { animation-delay: 0.4s; }
|
|
598
|
+
.reveal ul.stagger-in > li:nth-child(5) { animation-delay: 0.5s; }
|
|
599
|
+
.reveal ul.stagger-in > li:nth-child(6) { animation-delay: 0.6s; }
|
|
600
|
+
|
|
601
|
+
@keyframes staggerIn {
|
|
602
|
+
to {
|
|
603
|
+
opacity: 1;
|
|
604
|
+
transform: translateX(0);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/* Number Counter Animation Effect */
|
|
609
|
+
.counter-value {
|
|
610
|
+
font-variant-numeric: tabular-nums;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/* Progress Indicator Bars */
|
|
614
|
+
.progress-bar {
|
|
615
|
+
height: 8px;
|
|
616
|
+
background: var(--color-bg-tertiary);
|
|
617
|
+
border-radius: var(--radius-full);
|
|
618
|
+
overflow: hidden;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.progress-bar-fill {
|
|
622
|
+
height: 100%;
|
|
623
|
+
background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
|
|
624
|
+
border-radius: var(--radius-full);
|
|
625
|
+
transition: width 1s ease-out;
|
|
626
|
+
}
|
|
627
|
+
|
|
234
628
|
/* ==========================================================================
|
|
235
629
|
BASE REVEAL.JS OVERRIDES
|
|
236
630
|
========================================================================== */
|