AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
design(web): unified editorial dark theme for index and viewer
hugohe3481215fdea50
diff --git a/index.html b/index.htmlindex d8b5437f..042749b9 100644--- a/index.html+++ b/index.html@@ -16,22 +16,23 @@<meta name="twitter:description" content="Drop in any document, get back a natively editable PowerPoint with real shapes. Not images. Open source."><meta name="twitter:image" content="https://hugohe3.github.io/ppt-master/docs/assets/screenshots/preview_tech_claude_plans.png"><link rel="icon"- href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎨</text></svg>">+ href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%235b8def' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='2' width='44' height='28' rx='2.5'/><line x1='9' y1='11' x2='22' y2='11'/><line x1='9' y1='17' x2='32' y2='17'/><line x1='9' y1='23' x2='26' y2='23'/></svg>"><style>:root {- --primary: #6366f1;- --primary-light: #818cf8;- --secondary: #06b6d4;- --dark: #1e1e2e;- --darker: #11111b;- --text: #cdd6f4;- --text-muted: #9399b2;- --surface: #181825;- --surface-hover: #1e1e2e;- --border: #313244;- --success: #a6e3a1;- --warning: #f9e2af;- --accent: #f5c2e7;+ /* Editorial dark — single accent, neutral surfaces */+ --primary: #5b8def;+ --primary-light: #88aaff;+ --secondary: #5b8def;+ --dark: #161618;+ --darker: #0d0d0f;+ --text: #e6e6e9;+ --text-muted: #8a8a93;+ --surface: #16161a;+ --surface-hover: #1d1d20;+ --border: #26262a;+ --success: #5b8def;+ --warning: #5b8def;+ --accent: #5b8def;}* {@@ -41,64 +42,95 @@}body {- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;+ font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;background: var(--darker);color: var(--text);min-height: 100vh;line-height: 1.6;+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+ font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';}/* Header */.header {- background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);- padding: 60px 20px;+ background: var(--darker);+ padding: 120px 20px 80px;text-align: center;position: relative;overflow: hidden;+ border-bottom: 1px solid var(--border);}.header::before {content: '';position: absolute;- top: 0;- left: 0;- right: 0;- bottom: 0;- background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");- opacity: 0.5;+ top: -300px;+ left: 50%;+ transform: translateX(-50%);+ width: 1100px;+ height: 700px;+ background: radial-gradient(circle, rgba(91, 141, 239, 0.12) 0%, transparent 60%);+ pointer-events: none;}.header-content {position: relative;z-index: 1;- max-width: 800px;+ max-width: 820px;margin: 0 auto;}.logo {- font-size: 3rem;- margin-bottom: 10px;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ color: var(--primary);+ margin-bottom: 28px;+ opacity: 0.95;+ }++ .logo svg {+ width: 56px;+ height: auto;+ }++ .eyebrow {+ display: inline-block;+ font-size: 0.78rem;+ font-weight: 500;+ letter-spacing: 0.12em;+ text-transform: uppercase;+ color: var(--text-muted);+ margin-bottom: 20px;+ padding: 6px 14px;+ border: 1px solid var(--border);+ border-radius: 999px;+ background: var(--surface);}.header h1 {- font-size: 2.5rem;+ font-size: 3.75rem;font-weight: 700;- margin-bottom: 15px;- text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);+ line-height: 1.05;+ letter-spacing: -0.025em;+ margin-bottom: 20px;+ color: var(--text);}.header p {- font-size: 1.2rem;- opacity: 0.95;- max-width: 600px;+ font-size: 1.15rem;+ color: var(--text-muted);+ max-width: 620px;margin: 0 auto;+ line-height: 1.55;}.header-cta {display: flex;justify-content: center;- gap: 15px;- margin-top: 25px;+ gap: 12px;+ margin-top: 36px;flex-wrap: wrap;}@@ -106,64 +138,83 @@display: inline-flex;align-items: center;gap: 8px;- padding: 12px 28px;+ padding: 11px 22px;border-radius: 8px;- font-size: 1rem;- font-weight: 600;+ font-size: 0.95rem;+ font-weight: 500;text-decoration: none;- transition: all 0.2s;- border: none;+ transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;+ border: 1px solid transparent;cursor: pointer;+ letter-spacing: -0.01em;}.cta-btn.primary {- background: #fff;- color: var(--primary);+ background: var(--primary);+ color: #fff;}.cta-btn.primary:hover {- background: #f0f0f0;- transform: translateY(-2px);+ background: #4a7be0;+ transform: translateY(-1px);}.cta-btn.secondary {- background: rgba(255, 255, 255, 0.15);- color: #fff;- border: 1px solid rgba(255, 255, 255, 0.3);+ background: transparent;+ color: var(--text);+ border-color: var(--border);}.cta-btn.secondary:hover {- background: rgba(255, 255, 255, 0.25);- transform: translateY(-2px);+ background: var(--surface);+ border-color: #3a3a40;+ transform: translateY(-1px);}.stats {- display: flex;+ display: inline-flex;justify-content: center;- gap: 40px;- margin-top: 30px;- flex-wrap: wrap;+ gap: 0;+ margin-top: 56px;+ border: 1px solid var(--border);+ border-radius: 12px;+ background: var(--surface);+ overflow: hidden;}.stat {text-align: center;+ padding: 18px 32px;+ border-right: 1px solid var(--border);+ }++ .stat:last-child {+ border-right: none;}.stat-value {- font-size: 2rem;- font-weight: 700;+ font-size: 1.75rem;+ font-weight: 600;+ color: var(--text);+ letter-spacing: -0.02em;+ line-height: 1.1;}.stat-label {- font-size: 0.9rem;- opacity: 0.9;+ font-size: 0.78rem;+ color: var(--text-muted);+ letter-spacing: 0.08em;+ text-transform: uppercase;+ margin-top: 4px;}/* Navigation */.nav {- background: var(--surface);+ background: rgba(13, 13, 15, 0.85);+ backdrop-filter: blur(12px);+ -webkit-backdrop-filter: blur(12px);border-bottom: 1px solid var(--border);- padding: 15px 20px;+ padding: 14px 20px;position: sticky;top: 0;z-index: 100;@@ -174,91 +225,105 @@margin: 0 auto;display: flex;justify-content: center;- gap: 10px;+ gap: 4px;flex-wrap: wrap;}.nav-btn {- background: var(--surface-hover);- border: 1px solid var(--border);- color: var(--text);- padding: 8px 16px;- border-radius: 20px;+ background: transparent;+ border: 1px solid transparent;+ color: var(--text-muted);+ padding: 7px 16px;+ border-radius: 8px;cursor: pointer;font-size: 0.9rem;- transition: all 0.2s;+ font-weight: 500;+ transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;+ letter-spacing: -0.005em;+ }++ .nav-btn:hover {+ color: var(--text);+ background: var(--surface);}- .nav-btn:hover,.nav-btn.active {- background: var(--primary);- border-color: var(--primary);+ color: var(--text);+ background: var(--surface);+ border-color: var(--border);}/* Main Content */.main {max-width: 1400px;margin: 0 auto;- padding: 40px 20px;+ padding: 56px 20px 80px;}.section-title {display: flex;- align-items: center;+ align-items: baseline;+ justify-content: space-between;gap: 10px;- font-size: 1.5rem;+ font-size: 1.25rem;font-weight: 600;- margin-bottom: 25px;+ margin-bottom: 28px;color: var(--text);+ letter-spacing: -0.015em;}- .section-title .icon {- font-size: 1.8rem;+ .section-title .count {+ font-size: 0.85rem;+ font-weight: 400;+ color: var(--text-muted);+ letter-spacing: 0;}/* Project Grid */.projects-grid {display: grid;- grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));- gap: 25px;+ grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));+ gap: 20px;margin-bottom: 50px;}.project-card {background: var(--surface);border: 1px solid var(--border);- border-radius: 16px;+ border-radius: 12px;overflow: hidden;- transition: all 0.3s ease;+ transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;cursor: pointer;}.project-card:hover {- transform: translateY(-5px);- border-color: var(--primary);- box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);+ transform: translateY(-3px);+ border-color: #3a3a40;+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);}.card-preview {- height: 200px;+ aspect-ratio: 16 / 9;background: var(--darker);position: relative;overflow: hidden;display: flex;align-items: center;justify-content: center;+ border-bottom: 1px solid var(--border);}.card-preview img {width: 100%;height: 100%;object-fit: contain;- background: #fff;+ background: var(--darker);}.card-preview .placeholder {- font-size: 4rem;- opacity: 0.3;+ font-size: 2.5rem;+ opacity: 0.25;+ color: var(--text-muted);}.card-badge {@@ -267,33 +332,32 @@right: 12px;background: var(--primary);color: white;- padding: 4px 12px;- border-radius: 20px;- font-size: 0.75rem;+ padding: 3px 10px;+ border-radius: 6px;+ font-size: 0.7rem;font-weight: 600;- }-- .card-badge.new {- background: linear-gradient(135deg, #f97316, #ef4444);+ letter-spacing: 0.04em;+ text-transform: uppercase;}.card-content {- padding: 20px;+ padding: 18px 20px 20px;}.card-title {- font-size: 1.1rem;+ font-size: 1.05rem;font-weight: 600;- margin-bottom: 8px;+ margin-bottom: 10px;color: var(--text);- line-height: 1.4;+ line-height: 1.35;+ letter-spacing: -0.01em;}.card-meta {display: flex;- gap: 15px;- margin-bottom: 12px;- font-size: 0.85rem;+ gap: 14px;+ margin-bottom: 10px;+ font-size: 0.8rem;color: var(--text-muted);}@@ -304,9 +368,9 @@}.card-desc {- font-size: 0.9rem;+ font-size: 0.875rem;color: var(--text-muted);- line-height: 1.5;+ line-height: 1.55;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;@@ -316,85 +380,109 @@.card-tags {display: flex;flex-wrap: wrap;- gap: 8px;- margin-top: 12px;+ gap: 6px;+ margin-top: 14px;}.tag {- background: var(--darker);- padding: 4px 10px;- border-radius: 12px;- font-size: 0.75rem;+ background: transparent;+ padding: 3px 9px;+ border-radius: 6px;+ border: 1px solid var(--border);+ font-size: 0.72rem;color: var(--text-muted);+ letter-spacing: -0.005em;}- .tag.style-consulting {- background: rgba(99, 102, 241, 0.2);- color: var(--primary-light);- }-- .tag.style-general {- background: rgba(6, 182, 212, 0.2);- color: var(--secondary);- }-+ .tag.style-consulting,+ .tag.style-general,.tag.style-creative {- background: rgba(245, 194, 231, 0.2);- color: var(--accent);+ background: rgba(91, 141, 239, 0.08);+ color: var(--primary-light);+ border-color: rgba(91, 141, 239, 0.22);}/* Footer */.footer {- background: var(--surface);+ background: var(--darker);border-top: 1px solid var(--border);- padding: 40px 20px;+ padding: 48px 20px 40px;text-align: center;}.footer-links {display: flex;justify-content: center;- gap: 30px;- margin-bottom: 20px;+ gap: 28px;+ margin-bottom: 24px;flex-wrap: wrap;}.footer-links a {color: var(--text-muted);text-decoration: none;- transition: color 0.2s;+ font-size: 0.9rem;+ transition: color 0.18s ease;}.footer-links a:hover {- color: var(--primary);+ color: var(--text);}.footer-copy {color: var(--text-muted);- font-size: 0.9rem;+ font-size: 0.85rem;+ }++ .footer-copy a {+ color: var(--text);+ text-decoration: none;+ border-bottom: 1px solid var(--border);+ transition: border-color 0.18s ease;+ }++ .footer-copy a:hover {+ border-color: var(--text-muted);}/* Responsive */@media (max-width: 768px) {+ .header {+ padding: 80px 20px 60px;+ }+.header h1 {- font-size: 1.8rem;+ font-size: 2.25rem;+ }++ .header p {+ font-size: 1rem;}.header-cta {flex-direction: column;- align-items: center;+ align-items: stretch;+ width: 100%;+ max-width: 280px;+ margin-left: auto;+ margin-right: auto;}.stats {- gap: 20px;+ margin-top: 36px;+ flex-wrap: nowrap;}- .projects-grid {- grid-template-columns: 1fr;+ .stat {+ padding: 14px 18px;}.stat-value {- font-size: 1.5rem;+ font-size: 1.4rem;+ }++ .projects-grid {+ grid-template-columns: 1fr;}}@@ -408,9 +496,17 @@<body><header class="header"><div class="header-content">- <div class="logo">🎨</div>+ <div class="logo" aria-hidden="true">+ <svg viewBox="0 0 48 32" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">+ <rect x="2" y="2" width="44" height="28" rx="2.5"/>+ <line x1="9" y1="11" x2="22" y2="11"/>+ <line x1="9" y1="17" x2="32" y2="17"/>+ <line x1="9" y1="23" x2="26" y2="23"/>+ </svg>+ </div>+ <div class="eyebrow">Open source · MIT</div><h1>PPT Master</h1>- <p>AI generates natively editable PPTX from any document — real PowerPoint shapes, not images</p>+ <p>AI generates natively editable PPTX from any document — real PowerPoint shapes, not images.</p><div class="header-cta"><a href="https://github.com/hugohe3/ppt-master" class="cta-btn primary" target="_blank">Star on GitHub</a><a href="https://github.com/hugohe3/ppt-master#quick-start" class="cta-btn secondary" target="_blank">Get Started</a>@@ -421,7 +517,7 @@<div class="stat-label">Examples</div></div><div class="stat">- <div class="stat-value">229+</div>+ <div class="stat-value">228</div><div class="stat-label">Pages</div></div><div class="stat">@@ -434,10 +530,10 @@<nav class="nav"><div class="nav-content">- <button class="nav-btn active" data-filter="all">All Projects</button>- <button class="nav-btn" data-filter="consulting">🏢 Consulting</button>- <button class="nav-btn" data-filter="general">🎨 General</button>- <button class="nav-btn" data-filter="creative">✨ Creative</button>+ <button class="nav-btn active" data-filter="all">All</button>+ <button class="nav-btn" data-filter="consulting">Consulting</button>+ <button class="nav-btn" data-filter="general">General</button>+ <button class="nav-btn" data-filter="creative">Creative</button></div></nav>@@ -449,12 +545,12 @@<footer class="footer"><div class="footer-links">- <a href="https://github.com/hugohe3/ppt-master" target="_blank">📦 GitHub</a>- <a href="https://github.com/hugohe3/ppt-master#quick-start" target="_blank">📖 Quick Start</a>- <a href="https://github.com/hugohe3/ppt-master/blob/main/docs/faq.md" target="_blank">❓ FAQ</a>- <a href="https://github.com/hugohe3/ppt-master/discussions" target="_blank">💬 Discussions</a>+ <a href="https://github.com/hugohe3/ppt-master" target="_blank">GitHub</a>+ <a href="https://github.com/hugohe3/ppt-master#quick-start" target="_blank">Quick Start</a>+ <a href="https://github.com/hugohe3/ppt-master/blob/main/docs/faq.md" target="_blank">FAQ</a>+ <a href="https://github.com/hugohe3/ppt-master/discussions" target="_blank">Discussions</a></div>- <p class="footer-copy">PPT Master © 2025–2026 · Made with ❤️ by <a href="https://www.hehugo.com/" target="_blank" style="color: var(--primary-light); text-decoration: none;">Hugo He</a></p>+ <p class="footer-copy">PPT Master © 2025–2026 · Built by <a href="https://www.hehugo.com/" target="_blank">Hugo He</a></p></footer><script>@@ -653,18 +749,19 @@img.alt = project.title;img.onerror = function () {this.onerror = null;- this.parentElement.innerHTML = '<div class="placeholder">📊</div>';+ this.parentElement.innerHTML = '<div class="placeholder">—</div>';};card.innerHTML = `<div class="card-preview">- ${project.isNew ? '<span class="card-badge new">🆕 新增</span>' : ''}+ ${project.isNew ? '<span class="card-badge new">New</span>' : ''}</div><div class="card-content"><h3 class="card-title">${project.title}</h3><div class="card-meta">- <span>📄 ${project.pages} 页</span>- <span>🎨 ${project.styleName}</span>+ <span>${project.pages} pages</span>+ <span>·</span>+ <span>${project.styleName}</span></div><p class="card-desc">${project.desc}</p><div class="card-tags">diff --git a/viewer.html b/viewer.htmlindex b14fb3d9..ae6e3b86 100644--- a/viewer.html+++ b/viewer.html@@ -20,20 +20,20 @@extend: {colors: {brand: {- 50: '#f0f9ff',- 100: '#e0f2fe',- 200: '#bae6fd',- 300: '#7dd3fc',- 400: '#38bdf8',- 500: '#0ea5e9',- 600: '#0284c7',- 700: '#0369a1',- 800: '#075985',- 900: '#0c4a6e',+ 50: '#eef3ff',+ 100: '#dde7ff',+ 200: '#c0d2ff',+ 300: '#9bb6ff',+ 400: '#7da0ff',+ 500: '#5b8def',+ 600: '#4a7be0',+ 700: '#3b65c2',+ 800: '#2f4f99',+ 900: '#243d75',}},fontFamily: {- sans: ['system-ui', '-apple-system', 'PingFang SC', 'Microsoft YaHei', 'sans-serif'],+ sans: ['Inter', 'system-ui', '-apple-system', 'PingFang SC', 'Microsoft YaHei', 'sans-serif'],}}}@@ -45,51 +45,104 @@<!-- Favicon --><link rel="icon"- href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎴</text></svg>">+ href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32' fill='none' stroke='%235b8def' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='2' width='44' height='28' rx='2.5'/><line x1='9' y1='11' x2='22' y2='11'/><line x1='9' y1='17' x2='32' y2='17'/><line x1='9' y1='23' x2='26' y2='23'/></svg>"><style>+ :root {+ --primary: #5b8def;+ --primary-light: #88aaff;+ --darker: #0d0d0f;+ --surface: #16161a;+ --surface-hover: #1d1d20;+ --border: #26262a;+ --text: #e6e6e9;+ --text-muted: #8a8a93;+ }+body {- font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);+ font-family: 'Inter', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;+ background: var(--darker);+ color: var(--text);min-height: 100vh;+ -webkit-font-smoothing: antialiased;+ -moz-osx-font-smoothing: grayscale;+ }++ /* Subtle ambient glow at the top of the page */+ body::before {+ content: '';+ position: fixed;+ top: -300px;+ left: 50%;+ transform: translateX(-50%);+ width: 1200px;+ height: 700px;+ background: radial-gradient(circle, rgba(91, 141, 239, 0.08) 0%, transparent 60%);+ pointer-events: none;+ z-index: 0;}.glass {- background: rgba(255, 255, 255, 0.95);+ background: var(--surface);+ border: 1px solid var(--border);backdrop-filter: blur(10px);}+ /* Override Tailwind utility colors for dark theme */+ .text-gray-800,+ .text-gray-700 { color: var(--text) !important; }+ .text-gray-600,+ .text-gray-500,+ .text-gray-400 { color: var(--text-muted) !important; }+ .bg-white { background: var(--surface) !important; }+ .bg-gray-50 { background: var(--surface-hover) !important; }+ .bg-gray-100 { background: var(--surface) !important; }+ .border-gray-200,+ .border-gray-100 { border-color: var(--border) !important; }+ .hover\:bg-gray-50:hover { background: var(--surface-hover) !important; }+ .bg-brand-50 { background: rgba(91, 141, 239, 0.08) !important; }+ .drop-shadow-lg,+ .drop-shadow { filter: none !important; }++ kbd {+ background: var(--surface) !important;+ color: var(--text-muted) !important;+ border: 1px solid var(--border) !important;+ }+.collection-card {- transition: all 0.3s ease;+ transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;cursor: pointer;+ border: 1px solid var(--border);}.collection-card:hover {- transform: translateY(-8px);- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);+ transform: translateY(-3px);+ border-color: #3a3a40;+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);}.slide-container {- box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);transition: transform 0.3s ease;}.thumbnail {- transition: all 0.2s ease;+ transition: transform 0.18s ease, box-shadow 0.18s ease;cursor: pointer;}.thumbnail:hover {- transform: scale(1.05);- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);+ transform: scale(1.04);+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);}.nav-btn {- transition: all 0.2s ease;+ transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;}.nav-btn:hover:not(:disabled) {- transform: scale(1.1);+ transform: scale(1.06);}.nav-btn:disabled {@@ -104,15 +157,19 @@}::-webkit-scrollbar-track {- background: #f1f1f1;+ background: var(--darker);border-radius: 3px;}::-webkit-scrollbar-thumb {- background: #c1c1c1;+ background: var(--border);border-radius: 3px;}+ ::-webkit-scrollbar-thumb:hover {+ background: #3a3a40;+ }+.fade-in {animation: fadeIn 0.3s ease-out;}@@ -216,12 +273,12 @@/* View mode toggle button */.view-mode-btn {- transition: all 0.2s ease;+ transition: background 0.18s ease, color 0.18s ease;}.view-mode-btn.active {- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);- color: white;+ background: var(--primary);+ color: #fff;}/* SVG object styling */@@ -294,11 +351,11 @@<main id="mainContent" class="max-w-7xl mx-auto px-4 py-8 transition-all duration-300"><!-- Library View (Collection Selection) --><div id="libraryView">- <div class="text-center mb-12">- <h1 class="text-4xl font-bold text-white mb-4 drop-shadow-lg">- 🎴 Slide Gallery+ <div class="text-center mb-12 pt-6">+ <h1 class="text-4xl font-bold mb-3" style="color: var(--text); letter-spacing: -0.025em;">+ Slide Gallery</h1>- <p class="text-white/80 text-lg">+ <p style="color: var(--text-muted);" class="text-lg">Select a collection to start browsing</p></div>@@ -310,9 +367,8 @@<!-- Empty State --><div id="emptyState" class="hidden text-center py-20">- <div class="text-6xl mb-4">📭</div>- <h3 class="text-xl font-medium text-white/80">No slide collections found</h3>- <p class="text-white/60 mt-2">Please add slide configurations</p>+ <h3 class="text-xl font-medium" style="color: var(--text);">No slide collections found</h3>+ <p style="color: var(--text-muted);" class="mt-2">Please add slide configurations</p></div></div>@@ -321,14 +377,17 @@<!-- Title Section --><div class="text-center mb-8 slide-enter"><button onclick="backToLibrary()"- class="inline-flex items-center px-4 py-2 mb-4 text-white/80 hover:text-white transition-colors">+ class="inline-flex items-center px-4 py-2 mb-4 transition-colors"+ style="color: var(--text-muted);"+ onmouseover="this.style.color='var(--text)'"+ onmouseout="this.style.color='var(--text-muted)'"><i class="fas fa-th-large mr-2"></i>Back to Gallery</button>- <h1 id="viewerTitle" class="text-3xl font-bold text-white mb-2 drop-shadow-lg">+ <h1 id="viewerTitle" class="text-3xl font-bold mb-2" style="color: var(--text); letter-spacing: -0.02em;">Slide Title</h1>- <p id="viewerDescription" class="text-white/70">+ <p id="viewerDescription" style="color: var(--text-muted);">Slide Description</p></div>@@ -395,8 +454,8 @@<!-- Slide Overview --><div class="mt-12 slide-enter">- <h2 class="text-xl font-bold text-white mb-6 flex items-center drop-shadow">- <i class="fas fa-list-ul mr-3"></i>+ <h2 class="text-xl font-bold mb-6 flex items-center" style="color: var(--text); letter-spacing: -0.015em;">+ <i class="fas fa-list-ul mr-3" style="color: var(--text-muted);"></i>Overview</h2><div id="overviewGrid" class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 gap-4">@@ -407,10 +466,10 @@</main><!-- Footer -->- <footer class="mt-12 py-6">+ <footer class="mt-12 py-6" style="border-top: 1px solid var(--border);"><div class="max-w-7xl mx-auto px-4 text-center">- <p class="text-white/60 text-sm">- PPT Master © 2025–2026 · Made with ❤️ by <a href="https://www.hehugo.com/" target="_blank" style="color: rgba(255,255,255,0.8); text-decoration: none;">Hugo He</a>+ <p class="text-sm" style="color: var(--text-muted);">+ PPT Master © 2025–2026 · Built by <a href="https://www.hehugo.com/" target="_blank" style="color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border);">Hugo He</a></p></div></footer>@@ -854,23 +913,22 @@grid.innerHTML = collections.map(collection => {const coverPath = encodeURI(`examples/${collection.folder}/${collection.slides[0].file}`);return `- <div class="collection-card glass rounded-2xl overflow-hidden" onclick='openCollection(${JSON.stringify(collection).replace(/'/g, "'")})'>- <div class="relative h-48 bg-gradient-to-br" style="background: linear-gradient(135deg, ${collection.color}22 0%, ${collection.color}44 100%)">- <object data="${coverPath}" type="image/svg+xml" class="w-full h-full object-contain p-4" style="pointer-events:none">- <div class="w-full h-full flex items-center justify-center text-4xl">${collection.icon}</div>+ <div class="collection-card rounded-xl overflow-hidden" style="background: var(--surface);" onclick='openCollection(${JSON.stringify(collection).replace(/'/g, "'")})'>+ <div class="relative" style="aspect-ratio: 16 / 9; background: var(--darker); border-bottom: 1px solid var(--border);">+ <object data="${coverPath}" type="image/svg+xml" class="w-full h-full object-contain" style="pointer-events:none">+ <div class="w-full h-full flex items-center justify-center text-3xl" style="opacity: 0.5;">${collection.icon}</div></object>- <div class="absolute top-4 left-4 w-12 h-12 rounded-xl flex items-center justify-center text-2xl"- style="background: ${collection.color}22">- ${collection.icon}- </div>- <div class="absolute bottom-4 right-4 px-3 py-1 rounded-full text-xs font-medium text-white"- style="background: ${collection.color}">+ <div class="absolute bottom-3 right-3 px-2.5 py-1 rounded-md text-xs font-medium"+ style="background: rgba(13, 13, 15, 0.85); color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(8px);">${collection.slides.length} slides</div></div>- <div class="p-5">- <h3 class="font-bold text-gray-800 text-lg mb-2">${collection.title}</h3>- <p class="text-gray-500 text-sm line-clamp-2">${collection.description}</p>+ <div class="p-5" style="border-left: 3px solid ${collection.color};">+ <div class="flex items-center gap-2 mb-2">+ <span class="text-base">${collection.icon}</span>+ <h3 class="font-semibold text-base" style="color: var(--text); letter-spacing: -0.01em;">${collection.title}</h3>+ </div>+ <p class="text-sm line-clamp-2" style="color: var(--text-muted); line-height: 1.55;">${collection.description}</p></div></div>`}).join('');