---
version: alpha
name: CABIDOC
description: "Light interface measured from cabidoc.com: Inter type, dark teal accents, tonal surfaces and 8px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#101828"
  on-background: "#101828"
  on-surface-variant: "#4A5565"
  on-surface-muted: "#6A7282"
  on-surface-subtle: "#99A1AF"
  surface-container-low: "#FFFFFFE6"
  surface-container: "#F9FAFB"
  overlay: "#0B82771A"
  outline: "#F3F4F6"
  primary: "#0B8277"
  on-primary: "#FFFFFF"
  secondary: "#25D366"
  tertiary: "#00C950"
  warning: "#FDC700"
typography:
  headline-display:
    fontFamily: Inter
    fontSize: 72px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: Inter
    fontSize: 36px
    fontWeight: 700
    lineHeight: 1.11
  body-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: Inter
    fontSize: 20px
    fontWeight: 400
    lineHeight: 1.4
  body-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  caption:
    fontFamily: Inter
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 700
    lineHeight: 1.5
  label-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
  headline-display-mobile:
    fontFamily: Inter
    fontSize: 36px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: -0.025em
rounded:
  sm: 8px
  md: 12px
spacing:
  base: 4px
  xs: 4px
  sm: 8px
  md: 16px
  lg: 32px
  xl: 48px
  gutter: 8px
  section: 96px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    padding: 10px 20px
    height: 44px
  button-secondary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    padding: 16px
    height: 62px
  button-ghost:
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px
  link:
    textColor: "{colors.on-surface-subtle}"
---

# CABIDOC Design System

## Overview

CABIDOC describes itself as: “Gérez patients, ordonnances, agenda médical multi-praticiens et cabinets de groupe avec Cabidoc, logiciel médical sécurisé pour médecins au Maroc.” The interface is light, built on **White (#FFFFFF)** with **Deep Blue (#101828)** text, and **Dark Teal (#0B8277)** as the main accent.

Type is set in **Inter**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 8px.

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

## Colors

The palette has 14 roles, plus gradient stops #0B8277, #086E64.

- **White (#FFFFFF):** Page background, seen 7 times. Token `background`, CSS `--tw-ring-offset-color`.
- **Deep Blue (#101828):** Primary text and headings, seen 32 times. Token `on-surface`.
- **Dark Blue (#4A5565):** Secondary text, seen 24 times. Token `on-surface-variant`.
- **Blue (#6A7282):** Muted text and metadata, seen 22 times. Token `on-surface-muted`.
- **Blue (#99A1AF):** Subtle text and placeholders, seen 19 times. Token `on-surface-subtle`.
- **White 90% (#FFFFFFE6):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Snow (#F9FAFB):** Cards and panels, seen 4 times. Token `surface-container`.
- **Dark Teal 10% (#0B82771A):** Translucent fill for cards and controls, seen 5 times. Token `overlay`.
- **Snow (#F3F4F6):** Borders and dividers, seen 3 times. Token `outline`.
- **Dark Teal (#0B8277):** Primary buttons and calls to action, seen 23 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Green (#25D366):** Secondary buttons, seen 1 time. Token `secondary`.
- **Green (#00C950):** Accent, seen 6 times. Token `tertiary`.
- **Vivid Amber (#FDC700):** Warnings and highlights, seen 5 times. Token `warning`.

## Typography

**Inter** carries the whole interface. Fallback stack: `Inter, sans-serif`. Other loaded fonts: Font Awesome 5 Brands, Font Awesome 5 Pro.

- **headline-display:** Inter 72px at weight 700, line height 1.25, tracking -0.025em (36px on mobile). Page title (h1).
- **headline-lg:** Inter 36px at weight 700, line height 1.11. Section headings (h2).
- **body-md:** Inter 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Inter 20px at weight 400, line height 1.4. Lead paragraphs.
- **body-sm:** Inter 14px at weight 400, line height 1.43. Secondary and small text.
- **caption:** Inter 12px at weight 400, line height 1.33. Captions and fine print.
- **label-md:** Inter 16px at weight 700, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Inter 14px at weight 500, line height 1.43. Small labels and badges.

## Layout

Spacing follows a 4px grid: 96% of measured gaps and paddings are multiples of 4px.

- **Scale:** xs 4px, sm 8px, md 16px, lg 32px, xl 48px.
- **Sections:** 96px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.

## 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) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.546229 -0.0941527 -0.00721416 / 0.3) 0px 10px 15px -3px, oklab(0.546229 -0.0941527 -0.00721416 / 0.3) 0px 4px 6px -4px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.546229 -0.0941527 -0.00721416 / 0.3) 0px 20px 25px -5px, oklab(0.546229 -0.0941527 -0.00721416 / 0.3) 0px 8px 10px -6px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 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 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`

## Shapes

Most elements use 8px corners. Measured radii, most used first:

- **sm (8px):** 12 elements.
- **md (12px):** 4 elements.

## Components

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

- **button-primary (“Essai Gratuit”):** #0B8277 fill, #FFFFFF text, 16px/500, 3.35544e+07px radius, padding 10px 20px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, oklab(0.546229 -0.0941527 -0.00721416 / 0.3) 0px 10px 15px -3px, oklab(0.546229 -0.0941527 -0.00721416 / 0.3) 0px 4px 6px -4px`.
- **button-secondary (“Contactez-nous”):** #25D366 fill, #FFFFFF text, 16px/400, 3.35544e+07px radius, padding 16px, shadow `rgba(37, 211, 102, 0.024) 0px 0px 0px 14.5221px`.
- **button-ghost (“Fonctionnalités”):** transparent fill, 16px/500, padding 0px.
- **link:** transparent fill, #99A1AF text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FFFFFFE6, #F9FAFB.
- Do keep text in 4 levels: #101828, #4A5565, #6A7282, #99A1AF.
- Do reserve #0B8277 for primary actions and key highlights.
- Do set headlines in Inter with tight tracking (-0.025em).
- Do keep spacing on the 4px grid.
- Do use 8px corners on most elements; larger surfaces also use 12px.
- Don't use #99A1AF for body text; it reaches 2.60:1 on #FFFFFF. Keep it for large text or metadata.
- Don't introduce new font families beyond Inter.
- Don't use #0B8277 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.15s, 0.2s, 0.3s. Longer ambient animations run 2s.

- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `ease`.

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