The atomic elements of our design system. These foundational elements ensure consistency and accessibility across all digital experiences.
Our carefully selected colors represent the values and identity of MTWS. Each color has specific usage guidelines to maintain consistency and accessibility.
#000000--color-text-primaryPrimary text color for maximum readability
#132a1a--color-secondaryDark brand accent for depth and sophistication
#407550--color-primaryForest Green — primary brand color for actions and interaction
#82894d--color-tertiarySecondary brand color for balance and natural feel
#e7d296--color-accentWarm accent for highlights, badges, and Quranic verse accents
#fdfbf5--color-bg-pagePage background — never pure white
High Contrast Black on Warm Background
Perfect contrast ratio for body text
White on Primary Green
Ideal for call-to-action buttons
Deep Forest Green on Sandy Gold
Great for highlighted content
Olive Green on White
Perfect for secondary elements
Our typography system uses DM Sans for its excellent readability and modern appearance, with custom Arabic fonts for Islamic content.
text-5xl font-boldtext-3xl font-boldtext-2xl font-semiboldtext-lgtext-basetext-sm text-gray-600font-uthmanicfont-riwaya text-xlPrimary font for all English content
• Weights: 100-1000
• Google Fonts
• Excellent readability
For Quranic text and formal Arabic
• Traditional Arabic script
• Optimized for Quranic text
• Class: .font-uthmanic
For general Arabic content
• Modern Arabic design
• Great for headings
• Class: .font-riwaya
Consistent spacing creates visual rhythm and hierarchy. Our system uses an 8px base grid: 4 · 8 · 16 · 24 · 32 · 48 · 64 · 80px. Container max-width: 1200px, gutters: 24px.
xs--space-xsIcon gaps, minimal paddingsm--space-smTight component spacing, badge paddingmd--space-mdStandard spacing between elementslg--space-lgCard padding, section guttersxl--space-xlLarge section breaks2xl--space-2xlMajor section separation3xl--space-3xlHero sections, page headerssection--space-sectionFull page section paddingCard content with proper spacing
• Card padding: 24px (lg) • Content spacing: 16px (md) • Button padding: 8px 16px
A consistent radius scale prevents mixing sharp and rounded corners within the same view. Use Tailwind class names (rounded-sm, rounded-md, rounded-lg, rounded-xl, rounded-full) or the CSS tokens directly.
rounded-sm4px--radius-smBadges, chips, tags
rounded-md8px--radius-mdButtons, inputs, form elements
rounded-lg10px--radius-lgCards, modals, panels
rounded-xl16px--radius-xlLarge feature cards, image containers
rounded-full9999px--radius-fullPill badges only
We use Lucide React icons for their consistency, clarity, and comprehensive coverage of common UI needs.
Phone
Location
Clock
Share
Check