ad2app-lib 1.27.1 → 1.28.0

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/brand/brand.d.ts CHANGED
@@ -47,9 +47,18 @@ export interface ColorTokens {
47
47
  }
48
48
  export const color: ColorTokens;
49
49
 
50
+ export interface DisplayFontTokens {
51
+ /** Direction-5 display face (spec 099 US5, OFL). Display roles only. */
52
+ family: string;
53
+ weights: readonly number[];
54
+ /** Below this size the face is illegible by design — fall back to `family`. */
55
+ minSizePx: number;
56
+ role: string;
57
+ }
50
58
  export interface FontTokens {
51
59
  family: string;
52
60
  fallback: string;
61
+ display: DisplayFontTokens;
53
62
  }
54
63
  export const font: FontTokens;
55
64
 
package/brand/brand.mjs CHANGED
@@ -47,6 +47,20 @@ export const color = {
47
47
  export const font = {
48
48
  family: 'Funnel Sans',
49
49
  fallback: '-apple-system, Segoe UI, Roboto, Helvetica Neue, sans-serif',
50
+ // The Direction-5 DISPLAY face (spec 099 US5; Jan-picked from a five-font exploration; OFL).
51
+ // It lived only in the landing (SiteShell.tsx wires it through next/font, globals.css exposes it
52
+ // as --font-display) until 2026-08-12, when a rendered story card was judged against the live
53
+ // landing and read as another company's: every headline in the motion lane was being set in the
54
+ // BODY face, because this token had no home here. Display roles ONLY — H1/H2 and big numerals.
55
+ // Below ~24px Unbounded is illegible by design, so body and UI stay Funnel Sans.
56
+ // A non-Next consumer (the Remotion lane) must self-host the same family; there is no CDN at
57
+ // render time.
58
+ display: {
59
+ family: 'Unbounded',
60
+ weights: [500, 700],
61
+ minSizePx: 24,
62
+ role: 'display only: h1, h2, big numerals — never body or UI',
63
+ },
50
64
  };
51
65
 
52
66
  // Social canvas sizes (px), the canonical ad set.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ad2app-lib",
3
- "version": "1.27.1",
3
+ "version": "1.28.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",