Typography overrides, pinned where they render
Retouche is a dev overlay for React. It pins every call site that overrides your design system’s typography, and every nested corner that doesn’t follow its container’s curve, and shows what changed, so you decide whether to fix it or keep it.
To set it up, give this prompt to Claude Code, Codex or Cursor in your React app:
Set up Retouche in this React app by following https://retouche.dev/setup.md
The agent installs the package and finds the components that own your typography, whatever styles them. Then open localhost.
Obs: React 19 with Vite, or Next.js 16 with the App Router and Turbopack. Retouche runs only in development and is not on npm; the agent installs it from a tarball hosted here.
Properties
What Retouche watches. The titles below override each one as you scroll, and the first tile’s corner stops fitting.
Size
A font size or line height set at the call site.
Weight
A font weight set at the call site.
Family
A font family set at the call site.
Texture
Tracking, case, italics, underline or figures set at the call site.
Text color
A text color set at the call site. This site allows ink and muted in its config.
Corners
A corner that doesn’t follow the curve it sits in. A pill in a pill or an avatar circle fits.
Overlay
Pins on the page, and a panel that explains each one.
Pins
Every call site that overrides your design system’s typography gets a numbered pin, right where it renders.
Panel
The bar opens into a panel: every override on the page, grouped by component, with what it replaced and what replaces it.
Inspector
Open one to see each property it changes: the classes it replaced and their measured values.
Compare
Hold the button to see the element without its override, in place.
Code trace
The line that adds the override, the component it overrides with the classes marked, and the config entry that would allow it.
Fix or allow
Each part of the code carries a prompt for your coding agent: use an existing variant at the call site, add one to the component, or allow the override in the config. Once fixed, the pin is gone.