Docs

Schemas

JSON Schemas for validating Design Lasagna tokens, utilities, icons, and component lifecycle metadata. For how extensions and manifests fit together, read schema concepts.

Use a schema

$schema
https://designlasagna.recipes/schemas/<format>/<contract>.json, for example https://designlasagna.recipes/schemas/v0.4/tokens.json
Install
npm install @designlasagna/schemas@0.4.6
Import
import schema from '@designlasagna/schemas/v0.4/tokens.json' with { type: 'json' };

Format version ≠ package version: format v0.4 is what goes in $schema; package 0.4.6 is what you install (details).

v0.4 Current · default

v0.3 Previous · compatibility

Still on v0.3? Read the reference for DTCG token extensions, tokens, utilities, or components, then follow the migration guide (changelog).