Create a custom theme

A theme package lets an agent create diagrams in your brand without rewriting the skill. Keep colors semantic, not decorative: roles like ink, paper, accent, and evidence_bg tell the agent what each color means.

Scaffold

npx @excalidraw-skill-pack/create-theme my-brand
cd theme-my-brand
npm publish --access public

What to edit

  1. theme.json: name, version, description, roles, and inheritance.
  2. palette.json: machine-readable tokens for tools and renderers.
  3. palette.md: agent-readable rules for when each token should be used.
  4. typography.json: optional font and scale rules.
  5. elements/*.json: optional per-element overrides.
  6. layouts/*.md: optional reusable composition patterns.

Quality bar

Full contract: theme manifest spec.