Design tokens
On this page

Design tokens

How Orvio extracts tokens from a product's source, and why the source stays the authority.

Updated 15 October 2026

Design tokens are a product's named values: colours, type, spacing, radii. Orvio finds them in the source and lists them with their values and where they are defined.

Where tokens come from#

Orvio reads the product's source. For a static product, that is its CSS custom properties, such as --sotto-blush: #F2D2C8. The list is in design-system/tokens.json in the release, and the read_tokens tool serves it.

Each token has:

  • a name as written in the source,
  • a category, such as color,
  • a value: the raw text and, when Orvio understands it, a normalised form (a colour as a hex),
  • the file and line that define it,
  • how it was found (extracted).

A token whose value refers to another token is an alias. Its value names the target.

The source stays authoritative#

The token index lists facts Orvio extracted. If it and the source ever disagree, the source wins. read_tokens returns the files that define the tokens beside the list, so you can check.

Themes#

A product can have several themes, for example light and dark. When it does, each token knows its theme and read_tokens accepts a theme.

Ask for tokens#

TokensTurn tokens into a theme
Using Orvio, read Sotto's colour, type and spacing tokens and write them as CSS variables for my project, grouped and named for my codebase.
Works with Remote MCP·Replace the highlighted parts
TokensCompare with my brand colours
Using Orvio, read Sotto's colour tokens and compare them with the brand colours in tailwind.config.js. Tell me which of mine are closest, and where contrast between text and background would suffer.
Works with Remote MCP·Replace the highlighted parts

In the tool#

See read_tokens for the inputs and a result.

Honest limits#

The extraction records what it finds. If a product has no tokens, the result says "The package records no tokens." and lists any limitations of the extraction.

Was this page clear? Yes · Not reallyEdit suggestions: support@orvio.design