@letterstory/design 0.1.0 → 0.1.1
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/README.md +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -75,6 +75,11 @@ import registry from "@letterstory/design/themes"; // themes.json, typed by them
|
|
|
75
75
|
import type { PhantomBlogTheme } from "@letterstory/design/themes";
|
|
76
76
|
```
|
|
77
77
|
|
|
78
|
+
The registry says which looks a customer may **choose**; `src/themes/` in lettersprite says
|
|
79
|
+
what each one **is**. Neither half is complete alone, and an unregistered theme is unpickable
|
|
80
|
+
while an unimplemented one silently renders the default. `src/themes/registry.test.ts` there
|
|
81
|
+
asserts both directions against this package, so a theme added at either end cannot land alone.
|
|
82
|
+
|
|
78
83
|
## Where the values come from
|
|
79
84
|
|
|
80
85
|
The letterstory app is a **consumer**, not a source: `src/app/globals.css` imports
|
package/package.json
CHANGED