# Madaraka Express design system

> Madaraka Express design system measured from premium.metickets.krc.co.ke: Plus Jakarta Sans font, 17 color hex codes, type scale and spacing.

Canonical page: https://sitepeel.dev/design-md/premium.metickets.krc.co.ke/

Madaraka Express’s website (premium.metickets.krc.co.ke) uses the Plus Jakarta Sans font and #882430 as its main color on a #F9FAFB background. Measured by Sitepeel on November 23, 2026.

## What font does Madaraka Express use?

Madaraka Express uses Plus Jakarta Sans (weights 400, 600, 700 and 800) on premium.metickets.krc.co.ke. Page titles are 61px at weight 700 (35px on phones) and body text is 14px. Measured on November 23, 2026.

- Plus Jakarta Sans (weights 400, 600, 700, 800)

## Madaraka Express colors: palette and hex codes

Madaraka Express’s main colors are #F9FAFB (snow) for the background, #111827 (deep blue) for text and #882430 (dark red) as the main accent, with #C99300 (amber) and #FFC107 (vivid amber) as other accents. Measured on November 23, 2026.

- #F9FAFB: snow (rgb(249, 250, 251), hsl(210, 20%, 98%))
- #111827: deep blue (rgb(17, 24, 39), hsl(221, 39%, 11%))
- #4A5565: dark blue (rgb(74, 85, 101), hsl(216, 15%, 34%))
- #6A7282: blue (rgb(106, 114, 130), hsl(220, 10%, 46%))
- #99A1AF: blue (rgb(153, 161, 175), hsl(218, 12%, 64%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #E5E7EB: cool mist (rgb(229, 231, 235), hsl(220, 13%, 91%))
- #882430: dark red (rgb(136, 36, 48), hsl(353, 58%, 34%))

## What is Madaraka Express built with?

Madaraka Express’s website (premium.metickets.krc.co.ke) is built with React, React Router, Tailwind CSS and Google Fonts. Measured on November 23, 2026.

- JavaScript framework: React 19.2.6, React Router 7.15.1
- UI & CSS: Tailwind CSS 4.x
- Fonts & icons: Google Fonts

## Questions and answers

### What font does Madaraka Express use?

Madaraka Express’s website uses Plus Jakarta Sans (weights 400, 600, 700 and 800). Page titles are 61px at weight 700 (35px on phones) and body text is 14px. Measured on November 23, 2026.

### What are the Madaraka Express colors and hex codes?

On premium.metickets.krc.co.ke: #F9FAFB (snow) for the background, #111827 (deep blue) for text and #882430 (dark red) as the main accent, with #C99300 (amber) and #FFC107 (vivid amber) as other accents. The color palette above lists all 17 colors with their hex codes and where each one is used.

### What is the Madaraka Express design system?

The design system on this page is premium.metickets.krc.co.ke’s, as measured on November 23, 2026: Plus Jakarta Sans type, #882430 as the main color and 12px corners, written down as a DESIGN.md. It is not Madaraka Express’s own documentation.

### What is Madaraka Express built with?

Madaraka Express’s website (premium.metickets.krc.co.ke) is built with React, React Router, Tailwind CSS and Google Fonts. Measured on November 23, 2026.

### What is the Madaraka Express DESIGN.md?

A plain-text file with Madaraka Express’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Madaraka Express’s official design system?

No. Sitepeel measured it from premium.metickets.krc.co.ke’s public page on November 23, 2026. It is an independent analysis, not made or approved by Madaraka Express.

### Can I use Madaraka Express’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Madaraka Express’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/premium.metickets.krc.co.ke/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Madaraka Express.

## The DESIGN.md file

```markdown
---
version: alpha
name: Madaraka Express
description: "Light interface measured from premium.metickets.krc.co.ke: Plus Jakarta Sans type, dark red accents, tonal surfaces and 12px corners."
colors:
  background: "#F9FAFB"
  surface: "#F9FAFB"
  on-surface: "#111827"
  on-background: "#111827"
  on-surface-variant: "#4A5565"
  on-surface-muted: "#6A7282"
  on-surface-subtle: "#99A1AF"
  surface-container-low: "#FFFFFF"
  surface-container: "#E5E7EB"
  overlay: "#8824301A"
  overlay-strong: "#F5B30033"
  outline: "#E5E7EB"
  outline-variant: "#88243033"
  primary: "#882430"
  on-primary: "#FFFFFF"
  inverse-surface: "#101828"
  secondary: "#C99300"
  tertiary: "#FFC107"
  warning: "#F5B300"
typography:
  headline-display:
    fontFamily: Plus Jakarta Sans
    fontSize: 61px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg:
    fontFamily: Plus Jakarta Sans
    fontSize: 24px
    fontWeight: 700
    lineHeight: 1.33
  body-md:
    fontFamily: Plus Jakarta Sans
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-sm:
    fontFamily: Plus Jakarta Sans
    fontSize: 11px
    fontWeight: 400
    lineHeight: 1.25
  label-lg:
    fontFamily: Plus Jakarta Sans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: Plus Jakarta Sans
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
  label-sm:
    fontFamily: Plus Jakarta Sans
    fontSize: 12px
    fontWeight: 800
    lineHeight: 1.5
    letterSpacing: 0.1em
  headline-display-mobile:
    fontFamily: Plus Jakarta Sans
    fontSize: 35px
    fontWeight: 700
    lineHeight: 1.25
rounded:
  sm: 6px
  md: 12px
  lg: 16px
  xl: 24px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 20px
  xl: 48px
  gutter: 8px
  section: 48px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 12px 20px
    height: 44px
  button-outline:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.inverse-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.lg}"
    padding: 16px
    height: 80px
  button-ghost:
    backgroundColor: "{colors.background}"
    textColor: "{colors.inverse-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 10px 12px
    height: 42px
  link:
    textColor: "{colors.on-surface-muted}"
---

# Madaraka Express Design System

## Overview

Madaraka Express describes itself as: “Book Madaraka Express SGR train tickets online: search trips, choose your seats and pay securely via M-Pesa.” The interface is light, built on **Snow (#F9FAFB)** with **Deep Blue (#111827)** text, and **Dark Red (#882430)** as the main accent.

Type is set in **Plus Jakarta Sans**. Headlines run large; body text is 14px. Depth comes from soft drop shadows. Corners are mostly 12px.

Measured from [premium.metickets.krc.co.ke](https://premium.metickets.krc.co.ke/) on November 23, 2026 at 1440×900 and 390×844 from 274 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 17 roles, plus gradient stops #882430, #6B1C26, #3D0F15.

- **Snow (#F9FAFB):** Page background, seen 3 times. Token `background`.
- **Deep Blue (#111827):** Primary text and headings, seen 19 times. Token `on-surface`.
- **Dark Blue (#4A5565):** Secondary text, seen 7 times. Token `on-surface-variant`.
- **Blue (#6A7282):** Muted text and metadata, seen 30 times. Token `on-surface-muted`.
- **Blue (#99A1AF):** Subtle text and placeholders, seen 9 times. Token `on-surface-subtle`.
- **White (#FFFFFF):** Raised areas one step from the page, seen 10 times. Token `surface-container-low`, CSS `--tw-ring-offset-color`.
- **Cool Mist (#E5E7EB):** Cards and panels, seen 1 time. Token `surface-container`.
- **Dark Red 10% (#8824301A):** Translucent fill for cards and controls, seen 4 times. Token `overlay`.
- **Vivid Amber 20% (#F5B30033):** Stronger translucent fill, seen 3 times. Token `overlay-strong`.
- **Cool Mist (#E5E7EB):** Borders and dividers, seen 3 times. Token `outline`.
- **Dark Red 20% (#88243033):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Dark Red (#882430):** Brand color in the header, seen 22 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Deep Blue (#101828):** High-contrast fills, seen 1 time. Token `inverse-surface`.
- **Amber (#C99300):** Accent (CSS variable), seen 8 times. Token `secondary`, CSS `--color-accent-dark`.
- **Vivid Amber (#FFC107):** Accent (CSS variable). Token `tertiary`.
- **Vivid Amber (#F5B300):** Warnings and highlights, seen 8 times. Token `warning`, CSS `--color-accent`.

## Typography

**Plus Jakarta Sans** carries the whole interface. Fallback stack: `Plus Jakarta Sans, system-ui, -apple-system, Segoe UI`.

- **headline-display:** Plus Jakarta Sans 61px at weight 700, line height 1.25 (35px on mobile). Page title (h1).
- **headline-lg:** Plus Jakarta Sans 24px at weight 700, line height 1.33. Section headings (h2).
- **body-md:** Plus Jakarta Sans 14px at weight 400, line height 1.43. Body text.
- **body-sm:** Plus Jakarta Sans 11px at weight 400, line height 1.25. Secondary and small text.
- **label-lg:** Plus Jakarta Sans 16px at weight 400, line height 1.5. Large buttons and tabs.
- **label-md:** Plus Jakarta Sans 14px at weight 600, line height 1.43. Buttons, navigation and labels.
- **label-sm:** Plus Jakarta Sans 12px at weight 800, line height 1.5, tracking 0.1em, uppercase. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (84% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

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

## 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, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 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, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`
- `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 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`

Hairline rings and inset highlights also appear: `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.05) 0px 2px 4px 0px inset`.

## Shapes

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

- **md (12px):** 32 elements.
- **sm (6px):** 24 elements.
- **lg (16px):** 24 elements.
- **xl (24px):** 4 elements.

## Components

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

- **button-primary (“One Way”):** #882430 fill, #FFFFFF text, 14px/700, padding 12px 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, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px inset`.
- **button-outline (“One Way Single trip”):** #FFFFFF fill, #101828 text, 16px/400, 16px radius, padding 16px, border 2px solid #88243033.
- **button-ghost (“0 Passengers”):** #F9FAFB fill, #101828 text, 16px/400, 12px radius, padding 10px 12px, border 1px solid #E5E7EB.
- **link:** transparent fill, #6A7282 text, padding 0px.

## Do's and Don'ts

- Do use #F9FAFB for the page and lift surfaces in small steps: #FFFFFF, #E5E7EB.
- Do keep text in 4 levels: #111827, #4A5565, #6A7282, #99A1AF.
- Do use #882430 as the brand accent: header, logo and key highlights.
- Do reuse the measured spacing steps (8px, 16px, 20px).
- Do use 12px corners on most elements; larger surfaces also use 6px, 16px and 24px.
- Don't use #99A1AF for body text; it reaches 2.49:1 on #F9FAFB. Keep it for large text or metadata.
- Don't introduce new font families beyond Plus Jakarta Sans.
- Don't use #882430 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.

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

Generated by [Sitepeel](https://sitepeel.dev/design-md/premium.metickets.krc.co.ke/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).

```
