feat: Design system foundation — Storybook + design tokens - #120
feat: Design system foundation — Storybook + design tokens#120SNAPKITTYWEST wants to merge 1 commit into
Conversation
…mponent stories - Set up Storybook with Next.js preset, global theme provider, dark mode toggle - Export design tokens (colors, spacing, typography, shadows, animations) - Create 5 example component stories (Button, Card, Input, Select, Dialog) - Add design tokens system documentation with usage guide - Configure storybook dev server on port 6006 This unblocks Phase 2 → Phase 3 UI development for StormCom. Co-Authored-By: SnapKitty Design System <snapkitty@opensource>
|
👋 Thanks for opening your first pull request in StormCom! A maintainer will review your PR soon. Please make sure:
We appreciate your contribution to making StormCom better! 🚀 |
|
@SNAPKITTYWEST |
|
English Thanks for taking a look! Here's a breakdown of the changes included in this PR. SummaryThis PR establishes the initial design system foundation for StormCom. The goal is to provide a shared visual language and component development environment before additional UI features are built. Changes1. Storybook configuration
2. Design tokens
These tokens are intended to become the single source of truth for UI styling. 3. Component stories
Each story demonstrates common variants and interaction states. 4. Documentation
PurposeThis PR focuses on project infrastructure rather than introducing end-user features. It establishes the foundation for building future UI components consistently and allows contributors to develop and review components in isolation using Storybook. If there are repository-specific conventions or architectural changes you'd like me to follow, I'm happy to update the PR accordingly. العربية شكرًا لكم على مراجعة طلب السحب. فيما يلي ملخص للتغييرات التي يتضمنها هذا الطلب. الملخصيؤسس هذا الطلب البنية الأساسية لنظام التصميم الخاص بـ StormCom، بهدف توفير لغة تصميم موحدة وبيئة لتطوير المكونات قبل البدء في تطوير واجهات المستخدم الأخرى. التغييرات1. إعداد Storybook
2. رموز التصميم (Design Tokens)
وتهدف هذه الرموز إلى أن تكون المصدر الموحد لتنسيق واجهة المستخدم. 3. قصص المكونات (Component Stories)
وتغطي هذه الأمثلة الحالات والاستخدامات المختلفة لكل مكون. 4. التوثيق الهدفيركز هذا الطلب على إنشاء البنية الأساسية للمشروع، وليس على إضافة ميزات جديدة للمستخدم النهائي. كما يوفر أساسًا موحدًا لبناء مكونات واجهة المستخدم مستقبلًا، ويسمح بتطويرها ومراجعتها بشكل مستقل باستخدام Storybook. إذا كانت هناك معايير خاصة بالمستودع أو تعديلات معمارية تفضلون اتباعها، فسيسعدني تحديث طلب السحب بما يتوافق مع تلك التوجيهات. |
Design System Foundation for StormCom
What's included:
Why this matters:
This unblocks Phase 2 → Phase 3 UI development. All downstream UI work depends on this foundation.
Files Changed:
How to use:
npm run storybookimport { colors, spacing } from '@/lib/design-tokens'Built by SnapKitty Design System | Author: Ahmad Ali Parr