Mwrd Design system
Mwrd Design System

Tokens and components, ready to paste.

One orange accent on a cool neutral base, with a navy marketing layer. Every component uses semantic tokens, so light and dark themes and Arabic layouts work without extra code.

Install

Add the fonts and the stylesheet. Tokens are CSS variables on :root, components are plain classes prefixed mw-. No build step or framework needed.

Dark mode

Add data-theme="dark" to any ancestor. Surfaces step up in lightness, brand orange stays.

Arabic first

Use logical properties (inline-start, inline-end) and set dir="rtl". Arabic uses IBM Plex Sans Arabic with +0.1 line height.

Marketing layer

Navy, Plus Jakarta Sans 800 and larger radii are for marketing and sign-in only, and are light only.

Colors

Click any row to copy its CSS variable. Use semantic tokens in components, never raw hex.

Typography

IBM Plex Sans for product UI, IBM Plex Mono for IDs, Plus Jakarta Sans 800 for marketing headlines.

Families

--font-sans:    "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
--font-arabic:  "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
--font-display: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
--font-mono:    "IBM Plex Mono", ui-monospace, monospace;

Spacing

4px base grid. Component internals 4 to 16, card padding 16 to 24, page sections 32 to 80.

Radius

Inputs and buttons 8 or 10, cards 12, modals 16. Pills only for badges, chips and avatars.

Shadows

Cool and gray tinted. xs for cards and inputs, lg for menus, xl for toasts, 2xl for modals.

Components

Each example shows the live result and the exact markup. Flip the preview theme to check dark mode.

Usage rules

Do

One primary orange action per view. Use the dark button to confirm inside cards. Keep status colors for status only.

Don't

Don't add colored left borders to cards, recolor the logo, or use pills outside badges, chips and avatars.

Do

Use SAR 5,671.34 in English and 5,671.34 ر.س in Arabic. Keep references like REQ-1183 in mono and Latin.

Don't

Don't use emoji or decorative icons. Use outline icons at about 1.75 stroke.