Skip to content

Commit 6f1058f

Browse files
blueduskclaude
andcommitted
Rename dark-interactive-nav.js → slides-runtime.js
It handles much more than navigation — particles, charts, speaker notes. Updated all references across docs and preview. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c93d828 commit 6f1058f

7 files changed

Lines changed: 13 additions & 11 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ See [RELEASE.md](RELEASE.md) for the release process. Version must be updated in
1414
- `SKILL.md` — Main skill entry point (Pro + Vibe modes)
1515
- `assets/components.css` — Shared component CSS for all Pro themes
1616
- `assets/themes/` — Theme CSS files (one per Pro theme)
17-
- `assets/dark-interactive-nav.js` — Shared navigation JS for all Pro themes
17+
- `assets/slides-runtime.js` — Shared runtime JS for all Pro themes (nav, charts, particles, speaker notes)
1818
- `references/` — Supporting docs loaded on-demand by the skill
1919
- `.claude-plugin/` — Plugin manifest and marketplace config

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ This skill uses **progressive disclosure** — the main `SKILL.md` is a concise
238238
| `assets/viewport-base.css` | Mandatory responsive CSS | Phase 3 (Vibe) |
239239
| `assets/components.css` | Shared component CSS for all Pro themes | Phase 3 (Pro) |
240240
| `assets/themes/*.css` | Theme CSS files (colors, fonts) | Phase 3 (Pro) |
241-
| `assets/dark-interactive-nav.js` | Navigation JS + Chart.js integration | Phase 3 (Pro) |
241+
| `assets/slides-runtime.js` | Navigation JS + Chart.js integration | Phase 3 (Pro) |
242242
| `scripts/extract-pptx.py` | PPT content extraction | Phase 4 (PPT conversion) |
243243
| `references/conversion-patterns.md` | Framework detection patterns | Phase 5 (HTML conversion) |
244244
| `scripts/deploy.sh` | Deploy to Vercel | Phase 7 (sharing) |

SKILL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ If images were provided, the slide outline already incorporates them from Step 1
267267
- [component-templates.md](references/component-templates.md) — HTML component templates with decision table
268268
- [components.css](assets/components.css) — Shared component CSS (copy verbatim into `<style>`)
269269
- Theme CSS from `assets/themes/` — copy verbatim into `<style>`, BEFORE components.css
270-
- [dark-interactive-nav.js](assets/dark-interactive-nav.js) — Navigation JS (copy verbatim into `<script>`)
270+
- [slides-runtime.js](assets/slides-runtime.js) — Navigation JS (copy verbatim into `<script>`)
271271
- If any slides use **Chart** components, add Chart.js CDN in `<head>` before `<style>`: `<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.8/dist/chart.umd.min.js"></script>`
272272

273273
**Available Pro themes** (user specifies in prompt, default: Obsidian):
@@ -283,7 +283,7 @@ If images were provided, the slide outline already incorporates them from Step 1
283283
**Key requirements:**
284284
- Single self-contained HTML file, all CSS/JS inline
285285
- For Vibe mode: include the FULL contents of viewport-base.css in the `<style>` block
286-
- For Pro mode: include the chosen theme CSS + components.css in the `<style>` block, and dark-interactive-nav.js in the `<script>` block
286+
- For Pro mode: include the chosen theme CSS + components.css in the `<style>` block, and slides-runtime.js in the `<script>` block
287287
- Use fonts from Fontshare or Google Fonts — never system fonts
288288
- Add detailed comments explaining each section
289289
- Every section needs a clear `/* === SECTION NAME === */` comment block
@@ -497,7 +497,7 @@ Captures each slide as a screenshot and combines into a single PDF. Animations a
497497
| [component-templates.md](references/component-templates.md) | Structured HTML component templates with decision table | Phase 3 (Pro) |
498498
| [components.css](assets/components.css) | Shared component CSS for all Pro themes — copy verbatim | Phase 3 (Pro) |
499499
| [themes/](assets/themes/) | Theme CSS files (dark-interactive, excalidraw, excalidraw-dark, editorial-light, binary-architect) — pick one | Phase 3 (Pro) |
500-
| [dark-interactive-nav.js](assets/dark-interactive-nav.js) | Navigation JS — copy verbatim | Phase 3 (Pro) |
500+
| [slides-runtime.js](assets/slides-runtime.js) | Navigation JS — copy verbatim | Phase 3 (Pro) |
501501
| [scripts/extract-pptx.py](scripts/extract-pptx.py) | Python script for PPT content extraction | Phase 4 (PPT conversion) |
502502
| [conversion-patterns.md](references/conversion-patterns.md) | Framework detection patterns and extraction rules | Phase 5 (HTML conversion) |
503503
| [scripts/deploy.sh](scripts/deploy.sh) | Deploy slides to Vercel for instant sharing | Phase 7 (sharing) |
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/* ===========================================
2-
DARK INTERACTIVE NAVIGATION
3-
Copy this script into the <script> tag at the
4-
end of <body> when using the Dark Interactive preset.
2+
SLIDES RUNTIME
3+
Shared by all Pro themes. Copy verbatim into
4+
the <script> tag at the end of <body>.
5+
Handles: particles, navigation, charts,
6+
speaker notes console logging.
57
=========================================== */
68

79
// Particles

preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ <h2 class="anim-1" style="font-size:clamp(28px,3.5vw,44px);">Get Started with <s
448448
</div>
449449

450450
<script src="https://cdn.jsdelivr.net/npm/roughjs@4.6.6/bundled/rough.js"></script>
451-
<script src="assets/dark-interactive-nav.js"></script>
451+
<script src="assets/slides-runtime.js"></script>
452452
<script>
453453
// Theme switcher
454454
var themePicker = document.getElementById('themePicker');

references/STYLE_PRESETS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Curated visual styles for Frontend Slides. Each preset is inspired by real desig
353353
- Rainbow gradient text for hero titles
354354
- Glow blob ambient lighting
355355

356-
**Special:** This preset uses a **structured component system** instead of creative interpretation. Read [component-templates.md](component-templates.md) for the 13 HTML templates, [dark-interactive.css](../assets/dark-interactive.css) for the complete CSS, and [dark-interactive-nav.js](../assets/dark-interactive-nav.js) for the navigation JS. Copy CSS and JS verbatim, use HTML templates as building blocks.
356+
**Special:** This preset uses a **structured component system** instead of creative interpretation. Read [component-templates.md](component-templates.md) for the 13 HTML templates, [dark-interactive.css](../assets/dark-interactive.css) for the complete CSS, and [slides-runtime.js](../assets/slides-runtime.js) for the navigation JS. Copy CSS and JS verbatim, use HTML templates as building blocks.
357357

358358
**Best for:** Technical presentations, developer talks, API/architecture overviews, and cases where deterministic output across different AI agents is more important than visual variety.
359359

references/conversion-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Framework navigation JS is **completely replaced**, not merged:
207207

208208
3. **Replace with:**
209209
- Standard HTMLSlides navigation from [html-template.md](html-template.md) (for Vibe presets)
210-
- Or [dark-interactive-nav.js](../assets/dark-interactive-nav.js) verbatim (for Pro mode)
210+
- Or [slides-runtime.js](../assets/slides-runtime.js) verbatim (for Pro mode)
211211

212212
## Image Handling
213213

0 commit comments

Comments
 (0)