Add the Marble and Highlighter templates, completing the 13 reference templates

Marble uses a flat-to-gradient band in place of the marble photo and bundles Lustria (OFL).
Both logo slots are opt-in. Quirk 13 documents a fontkit glyph-cache issue that the
tests work around with warm-up renders; the engine fix follows separately.
This commit is contained in:
2026-10-04 12:47:05 +05:30
parent dd85c3b3c5
commit 76533ad2c7
30 changed files with 3190 additions and 27 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ describe("registry, catalog and fonts", () => {
expect(monolith.family).toBe("standalone");
expect(catalogEntry("monolith").name).toBe("Monolith");
expect(existsSync(path.join(process.cwd(), "public", monolith.thumbnail)), monolith.thumbnail).toBe(true);
expect(Object.keys(TEMPLATES).slice(-2)).toEqual(["monolith", "cobalt-stripe"]);
expect(Object.keys(TEMPLATES).slice(-4, -2)).toEqual(["monolith", "cobalt-stripe"]);
expect(TEMPLATE_CATALOG.map((e) => e.id)).toEqual(Object.keys(TEMPLATES));
});