M0 · Foundations
Design system
This page shows that tokens, fonts, components and calendar utilities behave correctly in both languages, light and dark, and both directions.
Colors
Deep green/teal as the primary and warm sand as the accent. Everything comes from CSS tokens and swaps in dark mode.
background
surface
surface-muted
foreground
foreground-muted
border
primary
primary-soft
accent
success
warning
danger
Typography
Vazirmatn for Persian and Inter for English, both self-hosted (no CDN).
برنامهریزی که یادت میاندازه — ۱۲۳۴۵۶۷۸۹۰
The planner that reminds you — 1234567890
Early preview · 1,234,567,890
Buttons & forms
0912… or +98912… — both kinds of digits are accepted.
Direction & icons
Directional icons flip automatically in RTL. Only logical CSS properties (start/end) are used.
Calendar
Jalali is the default for Persian and Gregorian for English. Weeks start on Saturday in Persian and Monday in English.
Today (Tehran time): Saturday, November 21, 2026 · Aban 30, 1405 APWeek starts: Monday
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| 26 | 27 | 28 | 29 | 30 | 31 | 1 |
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 1 | 2 | 3 | 4 | 5 | 6 |
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| 27 | 28 | 29 | 30 | 1 | 2 | 3 |
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 1 |
Digits & money
Amounts are stored as integer Rial and displayed in Toman. Input accepts Persian, Arabic-Indic and Latin digits.
| Stored (Rial) | Shown (Toman) |
|---|---|
| 990,000 | 99,000 Toman |
| 4,990,000 | 499,000 Toman |
| 8,900,000 | 890,000 Toman |
| 9,990,000 | 999,000 Toman |
Mobile number normalization
Common formats are normalized to E.164, and non-mobile numbers are rejected.
| Input | Result |
|---|---|
| 0912 345 6789 | +989123456789 |
| ۰۹۱۲۳۴۵۶۷۸۹ | +989123456789 |
| +98 912 345 6789 | +989123456789 |
| 0098-912-345-6789 | +989123456789 |
| 021 1234 5678 | Rejected |
Accessibility
- WCAG 2.2 AA target in both directions
- Fully keyboard-operable with a clear focus ring
- Touch targets of at least 44 px
- Respects prefers-reduced-motion