D
r/design
@marcelo

Shipping pixel-perfect Figma via transform: scale()

For design-system-light projects, locking the canvas at the Figma frame width and scaling down works surprisingly well. Tradeoff: accessibility and responsive breakpoints need extra care. Here's our playbook.

DHH@dhh · 56 d ago

Old-school. Respect. Accessibility audit should be mandatory though.

swyx@shawn · 56 d ago

We tried this for a marketing page. Lighthouse was fine, keyboard nav wasn't.

D
r/design
@marcelo

Shipping pixel-perfect Figma via transform: scale()

For design-system-light projects, locking the canvas at the Figma frame width and scaling down works surprisingly well. Tradeoff: accessibility and responsive breakpoints need extra care. Here's our playbook.

2 comments
DHH@dhh · 56 d ago

Old-school. Respect. Accessibility audit should be mandatory though.

swyx@shawn · 56 d ago

We tried this for a marketing page. Lighthouse was fine, keyboard nav wasn't.