Id {id}

(shape = value)} /> (density = value)} /> (motion = value)} />
create()}>Create design system fromCurrentTheme()}>From the current theme
fromJson()} disabled={!pasted.trim()}>Check JSON
{#if errors.length > 0} {/if} {#if compiled}

{compiled.compiled.name} · {compiled.compiled.id}@{compiled.compiled.version}

    {#each Object.entries(contrast) as [mode, report] (mode)}
  • {mode}: {report.passed}/{report.total} contrast pairs pass
  • {/each}
{#each ['primary', 'secondary', 'accent', 'background', 'foreground'] as const as role (role)} {role} {/each}
{#if notes.length > 0}
{notes.length} note{notes.length === 1 ? '' : 's'}
    {#each notes as note (note)}
  • {note}
  • {/each}
{/if}
saveAndApply()}>Save and apply {#if documentHref} Download {compiled.compiled.id}.json {/if}

In the repository: pnpm protoyard ds use {runtime.manifest.slug} design-systems/{compiled.compiled.id}.json

{/if}