@letterstory/design 0.2.14 → 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.14",
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",
package/themes.d.ts CHANGED
@@ -73,7 +73,8 @@ export type PhantomBlogTheme =
73
73
  | "riot"
74
74
  | "circuit"
75
75
  | "canvas"
76
- | "codex";
76
+ | "codex"
77
+ | "tender";
77
78
 
78
79
  /** The classic-design front pages (Lettersprite `src/components/home`), one per theme. */
79
80
  export type PhantomBlogHome =
@@ -101,6 +102,7 @@ export type PhantomBlogHome =
101
102
  | "relay"
102
103
  | "riot"
103
104
  | "stark"
105
+ | "tender"
104
106
  | "timeline"
105
107
  | "vitrine"
106
108
  | "wire";
package/themes.json CHANGED
@@ -549,6 +549,14 @@
549
549
  "group": "publication",
550
550
  "tags": ["editorial", "serif", "essay", "tech", "literary", "minimal"],
551
551
  "home": "codex"
552
+ },
553
+ {
554
+ "value": "tender",
555
+ "label": "Tender",
556
+ "hint": "American-Banker-style finance-news portal: clean black-ink masthead + section nav, dominant lead, Partner Insights native band, accent-ruled rivers, takeover + leaderboard + rail ads, violet/pink/blue gradient graphics",
557
+ "group": "business",
558
+ "tags": ["finance", "banking", "news", "portal", "editorial", "ad-supported"],
559
+ "home": "tender"
552
560
  }
553
561
  ]
554
562
  }