Design Brief

Guidelines and principles for the Nizam design system.

This document outlines the core design principles, color palette, typography scale, and component patterns used across Nizam products.

Design Principles#

  1. Clarity over cleverness — every element should communicate its purpose immediately
  2. Consistency across surfaces — the same patterns in docs, dashboard, and kiosk
  3. Respect the content — the UI should frame content, not compete with it

Color Palette#

TokenValueUsage
primary-500BlueCTAs, active states, links
neutral-800Dark grayHeadings, primary text
neutral-600Medium grayBody text
neutral-400Light grayDescriptions, muted text
neutral-200Border grayDividers, borders

Typography Scale#

Font Stack

The platform uses the system font stack for body text and a monospace stack for code. No custom fonts are loaded.

ClassSizeUsage
text-display-136pxHero headings
text-heading-130pxPage titles
text-heading-224pxSection headers
text-heading-320pxSubsections
text-heading-416pxCard titles
text-body-116pxLead paragraphs
text-body-215pxBody text
text-body-314pxSecondary text
text-ui-214pxUI labels
text-ui-313pxSmall UI
text-ui-412pxCaptions

Component Patterns#

Cards#

Cards use rounded-xl borders with hover:shadow-lg on interaction. Group cards with the card-group tag.

Steps#

Use numbered steps for sequential workflows. Each step has a number, title, and description.

1

Define the layout

Start with the Shell component which provides header, sidebar, and content areas.

2

Add navigation

Pass a navigation array to the Sidebar component with sections and links.

3

Render content

Use Markdoc to parse and render documentation pages with the shared component library.