Skip to content
Primer printing platePrimer

Fable-derived foundations

Primer 0.4 adopts the user’s selected Fable direction as its default visual language. This is extraction into tokens and guidance; it does not modify or install anything in Fable.

The authored source snapshot is Tally/Fable commit 1e1bb450fe9fb7e460dc9246007ec42e852fcf40. GitLab comparison with main at 2ad0db8313055040958259df24372d210f750fd5 found only native build and CI changes, so the inspected style and icon files are unchanged there. Sources below are relative to that repository.

Decision Owning source Extraction
Active theme mapping apps/client/src/routes/app.tsx Soft Studio light / Night Desk dark surfaces, with Fable’s font and accent overrides
Font and accent preferences apps/client/src/lib/themes.ts; apps/client/src/index.css Geist; orange default; application preferences remain app-owned
Shell surfaces and radii packages/dovli-theme/src/appThemes.ts Light paper on #f1f0f8; dark shell #08090b, panel #101114, raised #18191d; 20px / 10px shell corners
Canvas and document layers apps/client/src/index.css Keep the inner canvas and document/card surface distinct from the outer shell
Interface and touch geometry packages/dovli-theme/src/tokens.ts; sidebar-frame.tsx 4px spacing, 20px icons, 44px touch targets, 272px navigation; drawer width min(304px, 86vw) at 860px and below
Compact folio apps/client/src/components/library/library.css 660px prose measure; 112px desktop artwork; 68×40px phone artwork; 36px desktop and 27px covered-phone titles
Reading preferences apps/client/src/components/library/reading-preferences.tsx 17px reading role; reading settings remain separate from interface density
Icon timelines packages/icons/src/animations/ and its library/ directory Bundled Lottie timelines for 13 fixed navigation icons and a larger custom-icon library; the motion reference records its separately inspected revision

Dovli’s optional Frost and Mica themes are not the default. Its violet/lime accents and system font definitions are overridden in Fable’s runtime, so copying those presets wholesale would produce the wrong appearance. Old standalone Fable reference audits remain dated evidence rather than the current extraction baseline.

  • Primitives hold the raw neutral and orange values, typography, spacing, radii, opacity, shadows, and motion values.
  • color.background.* describes canvas, document/card, and raised content. color.shell.* describes the outer workspace. color.text., color.border., color.focus, and accent pairs describe readable and interactive states.
  • workspace.* records the chosen composition dimensions. These values do not render a shell or a folio. Applications own the layout and its state.
  • Separate color and opacity primitives describe translucent layers. Existing color exports remain opaque and usable by terminal consumers; shadows retain their typed alpha values.

Fable’s vivid orange is #f97015 in light and #fa8638 in dark. White text on those fills measures about 2.85:1 and 2.47:1. Primer exposes them as color.accent.vivid for decoration while using darker orange action fills and theme-appropriate accent text to retain its existing contrast guarantees. Supporting text and necessary boundaries are also adjusted where the source pairing misses a guarantee.

Source font, geometry, and authored icon timing are retained. Compact control visuals do not reduce the 44px touch target. Existing public token names and aliases remain available, but values intentionally change with this 0.4 development baseline. Brown is now an explicit alternate accent.

The canonical logo and its evergreen/apricot artwork remain brand assets. They are independent of interface accent tokens.