This live coding episode builds a Web Component theme switch and reuses it in a Nunjucks-based design system styled with design tokens. It is aimed at people building component libraries who want framework-compatible components.
What you’ll learn
✓Build a theme switch as a Web Component
✓Style a Web Component's internal parts with ::part