{
  "name": "@matrix/theme",
  "version": "0.1.0",
  "description": "Design token management and theme switching for Matrix components",
  "components": [
    {
      "type": "MxTheme",
      "mount": "system.theme",
      "surface": "headless",
      "autoStart": true,
      "accepts": ["theme.set", "theme.get", "theme.list", "$tokens"],
      "emits": ["theme.changed", "$stateChanged"]
    }
  ],
  "preferences": {
    "colorMode": { "type": "string", "default": "system", "values": ["light", "dark", "system"] },
    "fontSize": { "type": "number", "default": 14, "min": 10, "max": 24 }
  },
  "state": { "scope": "principal", "persist": true },
  "skills": { "theme": { "description": "Manage design tokens and theme switching", "file": "theme.skill.md" } },
  "prompts": ["theme-context.prompt.md"]
}
