Lab 15: Capstone — Design Platform
Overview
Step 1: Platform Architecture
design-system/
├── packages/
│ ├── tokens/
│ │ ├── primitive.json # #3b82f6, 0.25rem...
│ │ ├── semantic.json # brand.primary → primitive.blue.500
│ │ └── component.json # button.bg → semantic.brand.primary
│ ├── components/
│ │ ├── ds-button.js # Web Component
│ │ ├── ds-card.js
│ │ ├── ds-modal.js
│ │ ├── ds-input.js
│ │ └── ds-badge.js
│ └── css/
│ ├── reset.css
│ ├── base.css
│ ├── themes/
│ │ ├── light.css
│ │ ├── dark.css
│ │ └── high-contrast.css
│ └── main.css # Entry point
├── dist/
│ ├── tokens.css # Generated by Style Dictionary
│ ├── components.css # PostCSS output
│ └── bundle.min.css # Production bundle
├── tests/
│ ├── a11y.test.js # axe-core audit
│ └── visual.test.js # Playwright regression
└── docs/
└── storybook/ # Component documentationStep 2: Token Pipeline — Full Three-Tier
Step 3: PostCSS Build Pipeline
Step 4: Web Components — 5 Production Components
Step 5: Fluid Responsive System
Step 6: Theme System
Step 7: RTL Support via Logical Properties
Step 8: Capstone — Full End-to-End Verification
Summary
Component
Technology
Status
Last updated
