@letterstory/design 0.2.15 → 0.2.16

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
@@ -1,4 +1,4 @@
1
- <!-- Published copy. The source is AGENTS.md at the root of github.com/letterstory/letterstory; edit there and run design/scripts/build.mjs. -->
1
+ <!-- Published copy. The source is docs/architecture/principles.md in github.com/letterstory/letterstory; edit there and run design/scripts/build.mjs. -->
2
2
 
3
3
  # Letter design principles
4
4
 
package/README.md CHANGED
@@ -20,7 +20,7 @@ Zero runtime dependencies, no build step to install. Published from this directo
20
20
  | `styled.js` + `.d.ts` | A plain object of resolved values (no stylesheet needed) for styled-components and similar |
21
21
  | `themes.json` | **Source.** The phantom theme registry: `groups` and `themes` (value, label, hint, group, tags) |
22
22
  | `themes.d.ts` | Literal-union types for the registry (`PhantomBlogTheme`, `PhantomBlogThemeGroup`, …) |
23
- | `PRINCIPLES.md` | The design principles, copied from the root `AGENTS.md` of the letterstory repo |
23
+ | `PRINCIPLES.md` | The design principles, copied from `docs/architecture/principles.md` in the letterstory repo |
24
24
 
25
25
  `tokens.json` and `themes.json` are the sources. Everything else is generated by
26
26
  `scripts/build.mjs` and committed; a test regenerates and diffs, so editing a generated file
@@ -91,7 +91,7 @@ The letterstory app is a **consumer**, not a source: `src/app/globals.css` impor
91
91
  `design/tokens.css` and `design/tailwind-v4.css` by relative path and defines no token of its
92
92
  own, and `src/types/deployments.ts` re-exports `themes.json` as `PHANTOM_BLOG_THEMES`. Edit
93
93
  `design/tokens.json` or `design/themes.json`, never `globals.css`. The principles in
94
- `PRINCIPLES.md` are generated from the root `AGENTS.md`; edit that.
94
+ `PRINCIPLES.md` are generated from `docs/architecture/principles.md`; edit that.
95
95
 
96
96
  ## Versioning
97
97
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/design",
3
- "version": "0.2.15",
3
+ "version": "0.2.16",
4
4
  "description": "Letter design tokens, the phantom theme registry, and the design principles — one source for every Letter repo.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",