Search

Search components, tokens, patterns, architecture

Resources

Divergence Register

Where the Figma file and the shipped application disagree, this register rules. Behaviour defaults to the app; visual intent to Figma; purple artifacts are excluded as Tuluna legacy. Ten rulings, audited 2026-06-11.

Palette law (global ruling)

Purple, lavender, violet and magenta belong to Tuluna and are excluded from every Peri token, component and example. The two known purple artifacts in the Figma file are rulings #3 and #4 below — they are documented here and nowhere else.

The register

#TopicFigmaShipped appRuling
1Top barorange gradient, white contentwhite bar, brown content, sync statusGradient = design intent; both documented
2Tab barsome frames show 4 tabs (Insights/Treatments/History/Profile)3 tabs + FAB; History/Profile in drawerApp canonical
3Bottom sheet artifactpurple FAB + lavender tiles (node 15:2920)warm orange Log Activity drawerExcluded — Tuluna legacy
4Nav shadowpurple-tinted #6E3BD814neutral shadowExcluded — use warm #D8873B1F
5Primary dark#C2581D--accent-dark: #C94800Both kept: dark-ui (small active elements) vs dark-gradient (gradient end)
6Onboarding4 steps, per-step skips3 steps (cycle, sleep, symptoms)App canonical
7Home dashboardcapability ring · Recovery Capacity bar chart · Training Capability cardDailyFocus / Fueling / RecentTrends / WhatNext cardsFigma = next visual direction; behaviour per app
8Content margins24px16pxApp canonical (16px)
9Notifications bellpresent in top barnot shippedFigma-only; excluded from feature inventory
10Treatments exportPDF flow (generating → export-ready sheet, share/download)CSV per category (peri-{category}-export.csv) + toastApp canonical (CSV); PDF = visual intent

How to add a ruling

  1. 01Name the surface and both observed states (Figma node id, app file).
  2. 02Decide: app-canonical (behaviour), Figma-intent (visual), both-kept (with distinct roles), or excluded (legacy).
  3. 03Record the ruling here and reference it from the affected component page.
  4. 04Never resolve silently — an undocumented divergence is a future regression.