Architecture Overview
apps/docs/src/content/docs/architecture/overview Click to copy Copied!
apps/docs/src/content/docs/architecture/overview WC-2026 follows a layered architecture designed for enterprise healthcare organizations. The system prioritizes accessibility, performance, and Drupal CMS integration.
System Layers
Section titled “System Layers”┌─────────────────────────────────────────────┐│ Documentation Layer ││ Astro/Starlight + Storybook 10.x │├─────────────────────────────────────────────┤│ Component Layer ││ Lit 3.x Web Components + TypeScript │├─────────────────────────────────────────────┤│ Token Layer ││ Three-Tier Design Tokens (W3C DTCG) │├─────────────────────────────────────────────┤│ Integration Layer ││ Drupal TWIG + Behaviors + CDN │└─────────────────────────────────────────────┘Key Architectural Decisions
Section titled “Key Architectural Decisions”- Lit 3.x over React/Vue - Framework-agnostic Web Components for CMS integration
- Three-tier tokens - Global, Alias, Component tiers for maximum flexibility
- Dual documentation - Storybook for playground, Starlight for guides
- Turborepo monorepo - Efficient builds with intelligent caching
- WCAG 2.1 AA baseline - Healthcare compliance as a first-class requirement
Detailed Documentation
Section titled “Detailed Documentation”For the complete architecture specification (55,000+ words), see the Pre-Planning Architecture document.
Next Steps
Section titled “Next Steps”- Monorepo Structure - How the monorepo is organized
- Build Pipeline - Turborepo build orchestration
- Testing Strategy - Enterprise testing approach