Lesson 16 / الدرس 16
Project: build a small system / مشروع: ابنِ نظامًا صغيرًا
Everything in both design courses, applied to one small product: tokens, four components with their states, documentation someone can use in ten seconds, and a handover a developer could build from without asking you anything.
كل ما في دورتَي التصميم، مطبَّقًا على منتج صغير واحد: رموز، وأربعة مكوّنات بحالاتها، وتوثيق يستطيع أحدهم استخدامه في عشر ثوانٍ، وتسليم يستطيع مطوّر البناء منه دون أن يسألك شيئًا.
Choose something small and real: a booking form, a course listing, a simple dashboard. Four or five screens at most. The size is the constraint that makes this possible — a system for a large product cannot be built in an exercise, and one for four screens teaches every idea in both courses.
What to hand in
-
The tokens, in three layers, with a measured contrast ratio beside every semantic colour, in a light theme and a dark one. الرموز، في ثلاث طبقات، بنسبة تباين مقيسة بجوار كل لون دلالي، في سمة فاتحة وأخرى داكنة.
-
Four components, each with every state drawn and labelled, including focus, and each working at 320px and wide. أربعة مكوّنات، لكلٍّ كل حالة مرسومة ومعنونة، والتحديد منها، وكلٌّ يعمل عند 320 بكسل وعريضًا.
-
A documentation page for each, readable in ten seconds, with the "use something else when" line directly under the description. صفحة توثيق لكلٍّ، تُقرأ في عشر ثوانٍ، وسطر «استخدم غيره حين» تحت الوصف مباشرة.
-
One handover, naming tokens rather than values, answering the seven questions, and stating at least one open assumption. تسليم واحد، يسمّي الرموز لا القيم، ويجيب عن الأسئلة السبعة، ويذكر افتراضًا مفتوحًا واحدًا على الأقل.
-
Both directions. Every component shown with
dir="rtl"as well, because this is the piece of work that proves you can build for the audience this site has.الاتجاهان. فكل مكوّن معروض بـdir="rtl"أيضًا، لأن هذا هو العمل الذي يثبت أنك تستطيع البناء للجمهور الذي لهذا الموقع.
What is being assessed
Not how many components you built. Four components that are genuinely consistent with each other, fully specified and documented, are worth far more than twelve that are not — because the whole argument of this course is that a system is about decisions being findable and reusable, and twelve half-finished components demonstrate the opposite of that.
<div style="font-family:ui-monospace,monospace; font-size:13px; line-height:1.9">
<p><strong>A shape for the deliverable</strong></p>
<pre style="margin:0">
1 The product what it is, four or five screens
2 Tokens primitives / semantic / component, both themes,
contrast ratios recorded
3 Components 4, every state, 320px and wide, LTR and RTL
4 Documentation one page each, ten seconds to read
5 Handover one component, seven questions, tokens named
6 Exceptions anything you broke on purpose, with scope
</pre>
</div>
Try it live / جرّب بنفسك
Check yourself / اختبر نفسك
1. Why build the tokens before the components?
Extracting afterwards produces a record of accidents. It is the same failure as writing an expected result after running the test — the artefact looks identical and carries no judgement.
2. What does an empty exceptions list suggest?
Real products produce cases a system built in advance did not anticipate. No exceptions usually means no contact with reality — which is why two considered entries read as a stronger signal than none.
3. Four fully specified components or twelve partial ones — which is the better submission?
A system is judged by whether someone else could use it. Twelve components with missing states and no documentation are twelve things a colleague would have to ask you about, which is precisely the problem a system exists to remove.
Score / النتيجة: 0 / 3
Your task / مهمتك
The project. Build a small design system for a real product of four or five screens: tokens in three layers with contrast ratios, four fully specified components with all states in both directions, a documentation page for each, one handover, and an exceptions list.
المشروع. ابنِ نظام تصميم صغيرًا لمنتج حقيقي من أربع أو خمس شاشات: رموزًا في ثلاث طبقات بنسب تباين، وأربعة مكوّنات موصَّفة تمامًا بكل حالاتها في الاتجاهين، وصفحة توثيق لكلٍّ، وتسليمًا واحدًا، وقائمة استثناءات.
- Tokens in three layers, both themes, contrast ratios recorded رموز في ثلاث طبقات، والسمتان، ونسب التباين مسجَّلة
- Four components with every state, at 320px and wide, in both directions أربعة مكوّنات بكل حالة، عند 320 بكسل وعريضًا، في الاتجاهين
- A ten-second documentation page for each, with the "use something else" line صفحة توثيق من عشر ثوانٍ لكلٍّ، وفيها سطر «استخدم غيره»
- A handover naming tokens, and an exceptions list with scope تسليم يسمّي الرموز، وقائمة استثناءات بنطاق