How foundation/yeti works
Yeti is a native-first CSS layout and styling framework. A designer writes plain HTML and links the stylesheet; the browser applies its base styles, tokens, layouts, recipes, components, utilities, and themes. JavaScript modules add behavior to selected components while HTML/CSS remain the foundation. The README also describes manifests and generated reference materials, but those build-time workflows are outside this runtime-focused map. Relationships among source subsystems are not shown in the excerpts, so those connections are marked unverified rather than inferred as calls.
Main entry points: yeti.css Stylesheet entry · index.html Page markup · components UI components · theme.css Starter theme
Components 14
Styling foundation
- Stylesheet entry
src/yeti.css - Base styles
src/base - Design tokens
src/tokens - Themes
src/themes
Page composition
- Page markup
src/starter/index.html - Layout primitives
src/layouts - Composed recipes
src/recipes - Styling utilities
src/utilities
Interactive elements
- UI components
src/components - Component behavior
src/components
Authoring resources
- Starter theme
src/starter/theme.css - Component manifests
src/components
Other components
- Designer
- Browser
Connections 14
- Designer → Page markup: writes markup
README.md - Designer → Stylesheet entry: links stylesheet
README.md - Page markup → Browser: renders page
- Stylesheet entry → Base styles: includes styles
- Stylesheet entry → Design tokens: includes styles
- Stylesheet entry → Themes: includes styles
- Stylesheet entry → Layout primitives: includes styles
- Stylesheet entry → Composed recipes: includes styles
- Stylesheet entry → Styling utilities: includes styles
- Stylesheet entry → UI components: includes styles
- Stylesheet entry → Browser: styles page
README.md - UI components → Component behavior: adds behavior
- Starter theme → Designer: provides defaults
README.md - Component manifests → Designer: describes components
README.md