Skip to content
Primer printing platePrimer

Repository map

Primer defines foundations, component guidance, and working specimens. Applications own their components, interactions, data, persistence, validation, and composition. Browse the catalog for the supported system. The design kit in agent kit is the snapshot another project adopts.

Path Purpose
tokens/ Canonical token definitions and aliases
styles/ Typography, web control recipes, and desktop foundations
specs/ Component specifications
docs/ Canonical guides and application reference maps
catalog/ Astro/Starlight documentation and specimens
assets/ Font files, license notices, and the Primer mark and favicon. The site build stages assets/brand/mark.svg and assets/brand/favicon.svg under their public filenames.
examples/ Web screen specimens and desktop specimens
scripts/ and tests/ Build, validation, and automated checks
skills/ Primer design skills
dist/ Committed generated foundations

npm run build generates the token outputs. npm run site:build copies guides and builds the catalog into ignored site/. Edit guides in docs/, not generated catalog/src/content/docs/guides/. See contributing for validation and deployment for publishing.

The curated Lottie timelines, resting previews, license and provenance live under catalog/src/assets/icon-motion/. Its fable/ directory records the pinned application samples and separate fixed-navigation source notice. The player is private to the catalog. See icon motion, component guidance, and Fable-derived foundations.