Documentation
A few pieces.
Endless calendars.
A headless engine decides when. Content decides what. Layout decides where. Doors decide how. Themes decide the feeling.
Start with HTML
<script type="module" src="/vendor/advent/index.js"></script>
<advent-calendar start="2027-07-06" layout="grid">
<advent-door entry-id="first" day="1" label="Begin">
<span slot="front">01</span>
<p slot="content">Make something small today.</p>
</advent-door>
</advent-calendar>
Copy src/ to your site. Use a normal HTTP server. No
framework, compilation, or runtime dependency required.
Choose your layer
| Layer | Change it with |
|---|---|
| Schedule | Dates, timezone, clock, or a custom policy |
| Content | Slotted HTML, JavaScript entries, or JSON manifests |
| Layout | Grid, seeded shuffle, responsive, masonry, timeline, custom CSS |
| Reveal | Hinge, flip, slide, fade, instant, or your own CSS |
| Theme | Custom properties, CSS parts, or optional stylesheets |
| Persistence | None, memory, local/session storage, or your adapter |
Full reference
- API and extension contracts
- Styling contract and custom layouts
- Accessibility, publishing, and browser support
- Architecture and implementation plan
- DateVer versioning
- Verification record
Client-side date locks are presentation, not security. Never send confidential content to the browser before it is authorized to be read.