Manifest

The manifest is the source of truth for generated utility metadata used by docs, doctor checks, and migration tooling.

What it contains

Each utility entry includes class name, category, first CSS declaration, token reference (when present), and supported variants. The site Utilities page reads this file directly.

/generated/emily.manifest.json

How it is generated

Running emily-css build writes the manifest to the output path set in emily.config.json. In this site, npm run emily:sync runs automatically before dev, build, and generate.

{
  "manifest": {
    "enabled": true,
    "output": "data/generated/emily.manifest.json"
  }
}

Current schema (v1)

{
  "schemaVersion": "1",
  "package": "emily-css",
  "version": "1.2.3",
  "manifestVersion": "1.1.0",
  "generatedAt": "2026-05-15T...",
  "utilities": [
    {
      "class": "bg-brand-80",
      "category": "background",
      "property": "background-color",
      "value": "var(--color-brand-80)",
      "token": "--color-brand-80",
      "declarations": { "background-color": "var(--color-brand-80)" },
      "variants": ["hover", "focus", "focus-visible", "sm", "md"],
      "source": "generated-css"
    }
  ]
}

Next step

Next: IntelliSense output for editor-focused JSON.