DX

Design-system tokens from musical relationships

A local token engine that turns explicit generation rules into coordinated design-system tokens. People describe how a design should feel; an agent operates the system; the result can be opened as pages.

Follow the DX project

Role

An explicit environment needs representations that intelligence can operate and people can still read. DX makes the relationships of a design system calculable: scales, intervals, roles, and generated tokens. The person keeps the ordinary language of design — stronger, quieter, noisier. The agent holds the system those words act on. Pages show what was generated.

One generating system

A conventional design system is a set of named constants chosen family by family. DX treats type, space, radius, color, and related values as degrees of one generating system, using musical and mathematical scales, filters, and intervals as the grammar.

The tool is an instrument an agent can operate. A person does not have to sit in a settings UI to make the system exist. They describe how a design should feel; the agent changes explicit parameters; the human interface is the generated page.

The claim is theoretical as well as practical: design-system relationships can be recast through music theory — scale, degree, interval, filter, consonance — while people continue to speak in the expressive language that design and music already share.

How it works

Calculate the system

An editable definition retains generation rules: musical or mathematical scales, filters, color generation, typography roles, and semantic assignments. DX resolves that definition deterministically into tokens, diagnostics, and provenance. Generated CSS cannot substitute for the rules, because exports lose what is needed to revise the system.

Let people speak; let the agent understand

A request such as “make this quieter and more editorial” is ordinary design language. The agent interprets it using guidance and visual evidence, then changes explicit parameters. DX does not map phrases to values. It calculates the system the agent specified.

Inspect the result as pages

The same compiled tokens produce portable HTML specimens and a locally served preview. A person can open the agent’s work as a page: palettes, type, spacing, relationships, and differences. Failed generation keeps the last successful specimen visible and labelled.

Technical detail

The design definition, musical and mathematical calculations, generated specimens, and a revision through ordinary design language.

Read the DX technical guide