Skip to content
Projets

southleft/ds-contracts-poc

Voir sur GitHub

À propos

Component contracts: one machine-readable source of truth that generates both a React library and a Figma library, proves they match with a three-way differ, extracts contracts back out of existing code or designs, and runs the whole loop in a browser playground. Candidate spec for design-system contracts.

Design et médias

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
+3
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

Design System Contracts

Connect an existing React component and editable Figma variants through a declared contract. Capture, conversion and checking are deterministic; no AI model runs in that path.

Start here

Use this with your design system → GETTING-STARTED.md

The guide covers cloning or downloading this repository, building the CLI and matching Figma companion, and choosing a starting point:

  • Existing React: declare one component's source, styles, states and tokens; create its Figma projection; review supported token edits before applying them to the original source.
  • Existing Figma: export one component family and its reference images; generate and check a separate React package; inspect it in the component workspace.
  • Both already exist: start from the code-owned session. Unrelated code and Figma components are not automatically paired by name.

Current scope

This is ready for a guided trial on a declared component, not automatic migration of an entire design system. Prepared Checkbox and Eventz workflows have been rehearsed; outside-user and fresh-desktop onboarding remain unverified. Profiles still require authoring, and visual checks do not establish application behavior or accessibility. Missing fonts and unsupported inputs are reported explicitly.

Use the checked-out CLI and matching companion, or the complete trial kit supplied by the maintainer. The guide does not depend on an npm tag or the hosted playground containing the current implementation.

The work order is docs/GOAL.md; current evidence and remaining limits are in docs/STATUS.md. Detailed commands and profile fields are in the CLI reference. Contributor setup and gates are in CONTRIBUTING.md.

Security reports: SECURITY.md. License: MIT (LICENSE).

Explorer des projets similaires

Chargement…