mirror of
https://github.com/Nutlope/hallmark.git
synced 2026-08-14 12:35:33 +02:00
Adds Carnival, Lumen, Hum, and Cobalt to the catalogue (now 20 themes), each with its own tokens block, hero archetype, landing copy, and spec doc. Introduces Custom as a first-class route: when a brief carries real creative intent, Hallmark designs the whole page from first principles — palette, type, and structure — rather than recolouring a catalogue theme. Ships five worked custom examples and a README section. Rewrites the per-theme landing copy and reconciles every catalogue count across the site and the skill (20 themes · 21 macrostructures · 50 component archetypes · 70 slop-test gates). Drops the last competitor references from the CSS comments, fixes the genre rosters, and ignores the local example explorations so only the featured builds ship.
19 lines
740 B
JavaScript
19 lines
740 B
JavaScript
/* The Mend Assembly — custom poster
|
|
* The registration-sweep entrance is pure CSS (one-shot @keyframes that ends in
|
|
* the printed state), so the headline is never JS-dependent for visibility.
|
|
* This file does ONE optional thing: duplicate the tally track so the marquee
|
|
* loops seamlessly. It is a progressive enhancement — with no JS the strip still
|
|
* shows the full list of repairs, just without the wrap.
|
|
*/
|
|
(function () {
|
|
"use strict";
|
|
|
|
var reduce = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
var track = document.getElementById("tally-track");
|
|
|
|
// Only duplicate when the marquee is actually animating (motion welcome).
|
|
if (track && !reduce) {
|
|
track.innerHTML += track.innerHTML;
|
|
}
|
|
})();
|