Technical
Repository: puddnsnacks-hub/ExampleDesignSystem (private). The site, this guide included, is published at xds.puddnsnacks.com. The design-system/ folder mirrors the hosted design-system page file for file; everything else exists to view, document or rebuild it.
ExampleDesignSystem/
├── design-system/ the design system, as published
│ ├── README.md brand book: the usage rules
│ ├── tokens.json every token (g and s colors, type, spacing, size, motion …)
│ ├── tokens.css compiled from tokens.json; never edit by hand
│ ├── choosing.md which component, by the user's goal
│ ├── laws.md every system rule, one sentence each
│ ├── design-system.json index of the hosted page: title, asset records
│ ├── components/
│ │ ├── bundle.css component tier (--c-*) and every component
│ │ ├── bundle.js behavior: window.XDS
│ │ └── <Name>/ README.md guide + preview.html specimen
│ ├── fonts/ 14 WOFF2 files
│ └── assets/ Icons (41), Logos (2), Photography (4)
├── gallery/ every preview as an openable page
├── How-To-Docs/ this guide
└── tools/
├── compile_tokens.py tokens.json → tokens.css
├── build_gallery.py previews → gallery/
└── build/ regenerates design-system/ from the XDS V4 source
| File | Read by | Edited by |
|---|---|---|
tokens.json | Tools, the hosted page, AI builders | People, then compile_tokens.py |
tokens.css, bundle.css, bundle.js | Browsers | Generated; do not edit |
components/<Name>/README.md | People and AI builders | Generated from the component registry |
README.md, choosing.md, laws.md | People and AI builders | People |
Counts: 69 components in 11 families, 15 page templates, 256 color tokens in three themes (Light, Dark surface, Alternate pack), 24 type styles.