Fonts
Load fonts where the canvas can see them.
A font loaded with a <link> in your root route or index.html never reaches the cards. They ask for the font, don't find it, and fall back to the system font: the text looks different from the site, and on a Mac it even changes shape as you zoom, so text seems to move.
Self-host and import from global CSS
Best: self-host the fonts and import them from your global CSS, so the site and the canvas share them.
pnpm add @fontsource-variable/inter/* src/styles/global.css */
@import "@fontsource-variable/inter/opsz.css";
:root {
--font-sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
}Otherwise, load the same stylesheet link from .canvas/setup.tsx. Either way, use the font through var(--font-sans) or font-sans rather than writing its name in each component.