Skip to content
Writing Labs Open source Work About
Josh Lane

Sage Midnight

Diagram design system

The Sage Midnight tokens, atoms, and patterns used in LaneJ.io’s essay diagrams.

Tokens Atoms Patterns

Semantic tokens

Each token has a job. Keep that meaning when the palette changes.

  • Canvas--diagram-canvasPanel backgrounds
  • Node fill--diagram-node-fillRaised node surfaces
  • Flow--diagram-flowOrdinary links between steps
  • Evidence--diagram-evidence-inkChecks and feedback
  • Caution--diagram-caution-inkUncertainty or a constraint
  • Attention--diagram-attention-inkA decision or escalation
  • Mismatch--diagram-mismatch-inkA broken guarantee

Atoms

Use a node for a labeled step and an arrow when the nearby text already explains the direction.

Node roles

TestRun the smallest credible check QuestionWhat remains uncertain? EvidenceWhat actually happened? EscalateAsk the person with authority MismatchThe result broke the promise DecisionChoose the next step

Direction

→Right
↓
Down

Sequence

Use a sequence for one ordered path. Compare the same component at two container widths.

Wide container

From question to evidence

A small test makes the next decision easier.

  1. QuestionWill the report change a decision?

    Name the uncertainty before building.

  2. TestDeliver one report on time.

    Observe what the reader does with it.

  3. EvidenceThe reader changed the plan.

    Record the outcome and its limits.

Figure 1. The label and outline identify the evidence step. The order remains visible in grayscale.

Phone container

From question to evidence

A small test makes the next decision easier.

  1. QuestionWill the report change a decision?

    Name the uncertainty before building.

  2. TestDeliver one report on time.

    Observe what the reader does with it.

  3. EvidenceThe reader changed the plan.

    Record the outcome and its limits.

Figure 1. The label and outline identify the evidence step. The order remains visible in grayscale.

Oakland, California

LinkedInGitHub