@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 +1 -1
- package/README.md +2 -2
- package/package.json +1 -1
package/PRINCIPLES.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- Published copy. The source is
|
|
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
|
|
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
|
|
94
|
+
`PRINCIPLES.md` are generated from `docs/architecture/principles.md`; edit that.
|
|
95
95
|
|
|
96
96
|
## Versioning
|
|
97
97
|
|
package/package.json
CHANGED