Stitch Wand

v0.1.1
io.github.dilshaus/stitch-wand Checked 3 days ago Published 7 months ago

Design token tools for Google Stitch: convert, validate, diff, lint, generate, and export.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

convert-tokens

Convert design tokens from various formats to DESIGN.md

ParameterTypeDescription
format *stringThe input token format
input *stringThe design token source content (JSON, CSS, or JS)
namestringName for the design system

validate-html

Validate HTML against a DESIGN.md specification

ParameterTypeDescription
designMd *stringThe DESIGN.md specification
html *stringThe HTML to validate

diff-systems

Compare two DESIGN.md versions

ParameterTypeDescription
versionA *stringFirst DESIGN.md version
versionB *stringSecond DESIGN.md version

lint-accessibility

Run accessibility linter on HTML

ParameterTypeDescription
html *stringThe HTML to lint

generate-component

Generate framework components from HTML

ParameterTypeDescription
html *stringThe HTML to convert
frameworkstringTarget framework

export-figma

Generate Figma Plugin API code from HTML

ParameterTypeDescription
html *stringThe HTML to export