Tally and Fable integration reference
Fable lived in the Tally repository when Primer 0.4 adopted its theme. This design history page records how Fable’s application code mapped to Primer’s semantic roles. The foundation source record identifies the revision used.
Source layers at extraction
Section titled “Source layers at extraction”| Area | Application source |
|---|---|
| Global surfaces, accent variables, fonts and transitions | apps/client/src/index.css |
| Appearance preference defaults | apps/client/src/lib/themes.ts |
| Active Dovli surface mapping and preference overrides | apps/client/src/routes/app.tsx |
| Shell theme primitives | packages/dovli-theme/src/appThemes.ts |
| App-owned generic controls | apps/client/src/components/ui/ |
| Library, folio and reading preferences | apps/client/src/components/library/ |
| Native animated artwork and player integration | packages/icons/src/; apps/client/src/components/layout/ |
Semantic mapping
Section titled “Semantic mapping”| Application decision | Primer role |
|---|---|
| Inner canvas / card / raised content | color.background.subdued / base / strong |
| Outer workspace / panel / floating surface | color.shell.canvas / panel / raised |
| Reading and supporting text | color.text.base / subdued / subtle |
| Primary action and label | color.accent.fill / on-fill |
| Accent text and keyboard focus | color.accent.base; color.focus |
| Necessary control border / decorative separator | color.border.base / subdued |
| Interface font / reading size | font.interface; font.reading-size |
| Navigation, touch and folio dimensions | workspace.* |
Dovli’s surface mapping stays the application’s. Orange, Geist, and layer separation are now shared direction; contrast-safe action colors intentionally differ from Fable’s vivid primitive.
Adoption only when requested
Section titled “Adoption only when requested”Applications keep React and their current controls. Compare them against the behavior guidance. When the owner asks for adoption, use the design kit in agent kit. Preserve application font/accent preferences, portal scopes, disabled/loading behavior, and editor semantics. Check both themes, narrow widths, keyboard workflows, and actual saved work before changing a consumer.
Do not add a dependency on Primer’s source checkout or edit a delivered generated copy by hand. The kit snapshot is described in token procedures.