Clonix extracts real design tokens from live websites for AI code editors
Clonix is a Chrome extension, built with the Sqaron team, that measures a live webpage in the browser instead of letting AI editors guess a site's style. A scan script running in the page reads computed styles, loaded fonts and the live DOM, considering only elements a visitor can actually see, within a limited element and time budget. It weights colours by how much they paint and assigns roles such as primary, ink, muted, link and border, using contrast checks and CSS variable names where available. Typography and spacing are derived similarly, with a base unit inferred when a value divides most measured spacing. The results are written as design rules and token files for tools including Cursor, Claude Code, Windsurf, Codex, Copilot and Tailwind.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in