principle-deepdive-html-stylelisted
Install: claude install-skill studious-mantle460/principle-deepdive-html-style
# Principle Deepdive HTML Style
A reusable visual recipe for **single-file HTML articles** that explain a topic principle-by-principle with academic citations and inline-SVG visualizations. Designed for long-form analytical content — research notes, framework deep dives, cross-discipline explainers, technical postmortems — that needs to be readable offline and visually polished without any build pipeline.
## Visual identity at a glance
- **Theme**: dark default + light toggle · `localStorage` persisted
- **Palette tokens**: indigo `--primary` + amber `--accent` + 9 semantic colors · each with `-soft` and `-bg` (alpha) variants
- **Layout**: max-width 1200px · `clamp()` responsive typography · CSS grid auto-fit
- **Hero**: gradient eyebrow chip + h1 + lede + meta chips + optional stat grid + principle-toc grid
- **Each principle**: discipline chip + numbered badge + title + tagline + two-column body (text 1.05 · visual 1) · visual is `position:sticky`
- **Cards**: collapsible `<details>/<summary>` for solution cards · citation panels with `📖` prefix · essence boxes with `💡` prefix
- **SVG diagrams**: hand-drawn inline · no charting library · `<rect>+<circle>+<text>+marker-end` only
- **Constraints**: 0 external CDN / 0 npm / 0 image asset · pure inline CSS+JS+SVG · **file size < 300KB**
## When to apply
Apply this skill whenever **any** of the following is true:
- User wants a long-form analytical HTML article (research note · framework breakdown · cross-discipline exp