@letterstory/design 0.1.2 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/PRINCIPLES.md CHANGED
@@ -21,8 +21,8 @@
21
21
 
22
22
  3. **One operation, one function, many projections.** UI route, MCP tool, REST endpoint and CLI
23
23
  command are _projections_ of one lib function with one Zod schema. The manifest is `TOOLS`
24
- in `src/lib/mcp/registry.ts`; MCP, OpenAPI and `/docs` are derived from it at request time
25
- and cannot drift (`src/app/docs/AGENTS.md`). Where the UI has its own `/api/*` route, that
24
+ in `src/lib/mcp/registry.ts`; MCP, OpenAPI and `/docs/api` are derived from it at request time
25
+ and cannot drift (`src/app/docs/api/AGENTS.md`). Where the UI has its own `/api/*` route, that
26
26
  route and the tool must call the same lib function and share the schema — derive the tool
27
27
  contract with `.omit()` for key-derived fields exactly as
28
28
  `src/lib/validations/collection-onboard.ts` does. A `// mirrors /api/...` comment is a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/design",
3
- "version": "0.1.2",
3
+ "version": "0.1.5",
4
4
  "description": "Letterstory design tokens, the phantom theme registry, and the design principles — one source for every Letterstory repo.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
package/themes.d.ts CHANGED
@@ -63,7 +63,8 @@ export type PhantomBlogTheme =
63
63
  | "bourse"
64
64
  | "folio"
65
65
  | "kiosk"
66
- | "vitrine";
66
+ | "vitrine"
67
+ | "commons";
67
68
 
68
69
  export interface PhantomBlogThemeGroupEntry {
69
70
  readonly id: PhantomBlogThemeGroup;
package/themes.json CHANGED
@@ -413,6 +413,13 @@
413
413
  "hint": "Franklin Azzi-style minimalist gallery, dense image grid",
414
414
  "group": "publication",
415
415
  "tags": ["editorial", "minimal", "gallery", "tech", "developer", "design"]
416
+ },
417
+ {
418
+ "value": "commons",
419
+ "label": "Commons",
420
+ "hint": "syg.ma-style minimal publishing archive, mixed masonry feed",
421
+ "group": "publication",
422
+ "tags": ["editorial", "minimal", "archive", "publishing", "text", "system-font"]
416
423
  }
417
424
  ]
418
425
  }