---
version: alpha
name: Darur Riyadah
description: "Light interface measured from darurriyadah.com: CustomHeadingFont type with CustomBodyFont, deep teal accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#F9FAFB"
  surface: "#F9FAFB"
  on-surface: "#0F1729"
  on-background: "#0F1729"
  on-surface-variant: "#555B68"
  on-surface-muted: "#65758B"
  surface-container-low: "#FFFFFF"
  overlay: "#FFFFFF1A"
  overlay-strong: "#FFFFFF80"
  outline: "#E1E7EF"
  outline-variant: "#FFFFFF66"
  primary: "#0A574A"
  on-primary: "#F8FAFC"
  secondary: "#008031"
  tertiary: "#89A305"
typography:
  headline-display:
    fontFamily: CustomHeadingFont
    fontSize: 54px
    fontWeight: 700
    lineHeight: 1
  headline-lg:
    fontFamily: CustomHeadingFont
    fontSize: 40.5px
    fontWeight: 700
    lineHeight: 1.11
  body-md:
    fontFamily: CustomBodyFont
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.43
  body-lg:
    fontFamily: CustomBodyFont
    fontSize: 18px
    fontWeight: 600
    lineHeight: 1.5
  body-sm:
    fontFamily: CustomBodyFont
    fontSize: 13.5px
    fontWeight: 400
    lineHeight: 1.33
  label-lg:
    fontFamily: CustomBodyFont
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: CustomBodyFont
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.43
  label-sm:
    fontFamily: CustomBodyFont
    fontSize: 13.5px
    fontWeight: 700
    lineHeight: 1.33
  headline-display-mobile:
    fontFamily: CustomHeadingFont
    fontSize: 31.5px
    fontWeight: 700
    lineHeight: 1.38
  headline-lg-mobile:
    fontFamily: CustomHeadingFont
    fontSize: 34px
    fontWeight: 700
    lineHeight: 1.2
rounded:
  sm: 6px
  md: 11.5px
  lg: 13.5px
  xl: 18px
  full: 9999px
spacing:
  xs: 2.25px
  sm: 6.75px
  md: 9px
  lg: 18px
  xl: 36px
  gutter: 9px
  section: 72px
  margin: 18px
  container: 1400px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.full}"
    padding: 0px 22.5px 0px 18px
    height: 63px
  button-secondary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.surface-container-low}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 0px 13.5px
    height: 41px
  button-secondary-hover:
    backgroundColor: "#0A574AE6"
  button-tertiary:
    backgroundColor: "{colors.tertiary}"
    textColor: "{colors.surface-container-low}"
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 0px 36px
    height: 50px
  card:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.lg}"
    padding: 2.25px
  link:
    textColor: "{colors.on-primary}"
---

# Darur Riyadah Design System

## Overview

Darur Riyadah describes itself as: “Empowering with Faith, Knowledge & Leadership” The interface is light, built on **Snow (#F9FAFB)** with **Deep Blue (#0F1729)** text, and **Deep Teal (#0A574A)** as the main accent.

Type is set in **CustomHeadingFont** and **CustomBodyFont**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [darurriyadah.com](https://darurriyadah.com/) on November 28, 2026 at 1440×900 and 390×844 from 263 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 13 roles, plus gradient stops #0A574A, #89A305, #152551.

- **Snow (#F9FAFB):** Page background, seen 5 times. Token `background`.
- **Deep Blue (#0F1729):** Primary text and headings, seen 20 times. Token `on-surface`.
- **Dark Blue (#555B68):** Secondary text, seen 5 times. Token `on-surface-variant`.
- **Blue (#65758B):** Muted text and metadata, seen 17 times. Token `on-surface-muted`.
- **White (#FFFFFF):** Raised areas one step from the page, seen 13 times. Token `surface-container-low`, CSS `--tw-ring-offset-color`.
- **White 10% (#FFFFFF1A):** Translucent fill for cards and controls, seen 2 times. Token `overlay`.
- **White 50% (#FFFFFF80):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **Cool Mist (#E1E7EF):** Borders and dividers, seen 15 times. Token `outline`.
- **White 40% (#FFFFFF66):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Deep Teal (#0A574A):** Primary buttons and calls to action, seen 14 times. Token `primary`.
- **Snow (#F8FAFC):** Text and icons on primary. Token `on-primary`.
- **Dark Green (#008031):** Accent in the header. Token `secondary`.
- **Dark Lime (#89A305):** Secondary buttons, seen 16 times. Token `tertiary`.

## Typography

**CustomHeadingFont** and **CustomBodyFont** share the interface. Fallback stack: `CustomHeadingFont, system-ui, sans-serif, Hind Siliguri`. Other loaded fonts: Hind Siliguri, CustomSubheadingFont.

- **headline-display:** CustomHeadingFont 54px at weight 700, line height 1 (31.5px on mobile). Page title (h1).
- **headline-lg:** CustomHeadingFont 40.5px at weight 700, line height 1.11 (34px on mobile). Section headings (h2).
- **body-md:** CustomBodyFont 16px at weight 400, line height 1.43. Body text.
- **body-lg:** CustomBodyFont 18px at weight 600, line height 1.5. Lead paragraphs.
- **body-sm:** CustomBodyFont 13.5px at weight 400, line height 1.33. Secondary and small text.
- **label-lg:** CustomBodyFont 18px at weight 400, line height 1.5. Large buttons and tabs.
- **label-md:** CustomBodyFont 16px at weight 500, line height 1.43. Buttons, navigation and labels.
- **label-sm:** CustomBodyFont 13.5px at weight 700, line height 1.33. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 18% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 2.25px, sm 6.75px, md 9px, lg 18px, xl 36px.
- **Sections:** 72px vertical padding between major sections.
- **Gaps:** 9px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1400px.
- **Page margin:** 18px on each side of full-width sections.
- **Breakpoints:** 600px, 640px, 768px, 1024px, 1280px, 1400px.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px`

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **full (9999px):** 92 elements.
- **lg (13.5px):** 44 elements.
- **sm (6px):** 32 elements.
- **md (11.5px):** 32 elements.
- **xl (18px):** 12 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Chat With Us”):** #0A574A fill, #F8FAFC text, 18px/400, 9999px radius, padding 0px 22.5px 0px 18px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(10, 87, 74, 0.3) 0px 10px 15px -3px, rgba(10, 87, 74, 0.3) 0px 4px 6px -4px`.
- **button-secondary (“লগইন”):** #0A574A fill, #FFFFFF text, 15.75px/500, 9999px radius, padding 0px 13.5px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`.
- **button-secondary-hover:** background #0A574AE6, text #FFFFFF on hover.
- **button-tertiary (“ভর্তি আবেদন”):** #89A305 fill, #FFFFFF text, 15.75px/500, 11.5px radius, padding 0px 36px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.1) 0px 8px 10px -6px`.
- **card:** #FFFFFF fill, #0F1729 text, 18px/400, 13.5px radius, padding 2.25px, shadow `rgb(255, 255, 255) 0px 0px 0px 0px, rgba(225, 231, 239, 0.6) 0px 0px 0px 1px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`.
- **link:** transparent fill, #F8FAFC text, padding 0px.

## Do's and Don'ts

- Do use #F9FAFB for the page and lift surfaces in small steps: #FFFFFF.
- Do keep text in 3 levels: #0F1729, #555B68, #65758B.
- Do reserve #0A574A for primary actions and key highlights.
- Do reuse the measured spacing steps (6.75px, 9px, 18px).
- Do make buttons and chips fully rounded (9999px); most other elements use 13.5px corners.
- Don't use #65758B for body text; it reaches 4.49:1 on #F9FAFB. Keep it for large text or metadata.
- Don't introduce new font families beyond CustomHeadingFont and CustomBodyFont.
- Don't use #0A574A for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.25s, 0.2s, 0.15s, 0.3s. Longer ambient animations run 1s, 0.85s, 0.7s.

- **Easing:** `ease`, `cubic-bezier(0.4, 0, 0.2, 1)`, `cubic-bezier(0, 0, 0.2, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/darurriyadah.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
