Length 52:44Coding Design Systems - ep08 - Building in Astro with Matthew Phillips
About this video
A live coding session on building a design system in Astro, covering how to declare design tokens in Astro components, store them in JSON, and generate custom properties. It also covers Astro's component syntax, partial hydration and islands, and building documentation and a theme switcher. The session is aimed at people who work on design systems and are comfortable with web development.
What you’ll learn
- Declare design tokens for Astro components
- Generate CSS custom properties from a JSON token file
- Build a theme switcher with vanilla JavaScript in Astro










