How junjpan/serafina_storm works
Main Components
a) Application Layer:
• Next.js Application Core
• Pages/Routes Structure
• API Routes
• Theme Context System
b) Component Library Layer:
• Storybook Integration
• UI Components Repository
• Design System Integration
c) External Services:
• Chromatic (for Storybook hosting)
• Vercel/Heroku (deployment platforms)
• Figma Integration Points
Top Tier: External Services & Integrations
Middle Tier: Application Core
Bottom Tier: Component Library & Design System
Specific Component Relationships
a) Application Core:
• Next.js pages router structure (/src/app)
• ThemeContext provider to the application wrapper
• API routes integration
b) Component Library:
• Relationship between components and their stories
• Connection between Storybook and Chromatic
• Demonstrate the Figma integration workflow
Key Elements to Emphasize
a) Development Flow:
• Local development path
• Component development through Storybook
• Deployment pipelines (Vercel/Heroku)
• Chromatic review process
b) Design System Integration:
• Storybook to Figma workflow
• Component synchronization process
• Design token management (M3_token_reference.json)
Technical Details
• SCSS Module integration
• TypeScript configuration
• Next.js API routes
• GitHub workflow automation
• Storybook configuration
┌─ External Services ─────────────┐
• Chromatic - Figma - Deployment │
• Application Layer ─────────────┤
• Next.js Core │
• Pages & Routes │
• Theme Context │
• Component Library ────────────┤
• Storybook │
• UI Components │
• Style System │
• ┘
• Component Development Flow:
Component → Storybook → Chromatic → Figma
• Deployment Flow:
GitHub → CI/CD → Vercel/Heroku
• Theme Management:
ThemeContext → Components → SCSS
Remember to:
• Version/environment indicators
• Configuration dependencies
• Build/deployment pipelines