From b6b9c02fb6df9da668a0a8ab650c4ee95a07a994 Mon Sep 17 00:00:00 2001 From: Graham Barber Date: Sat, 6 Jun 2026 13:15:16 -0700 Subject: [PATCH] build(theme): regenerate tokens.gen.ts for the colophon scale tokens The extract pass added size.colophon-*, size.marquee, size.qr-label, size.avatar-*, size.qr, size.icon-social, and tracking.allcaps to the token JSON, but the generated DimensionName union in tokens.gen.ts was never rebuilt. qr.ts referenced dimension("size.qr-label") and dimension("tracking.allcaps"), both of which failed deno check against the stale type. Regenerated via the theme build task so the generated types match the token source. Co-Authored-By: Claude Opus 4.8 --- packages/theme/tokens.gen.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/theme/tokens.gen.ts b/packages/theme/tokens.gen.ts index 6656542..1d6ef49 100644 --- a/packages/theme/tokens.gen.ts +++ b/packages/theme/tokens.gen.ts @@ -76,12 +76,23 @@ type DimensionName = | "radius.md" | "radius.none" | "radius.sm" + | "size.avatar-outro" + | "size.avatar-title" + | "size.avatar-title-balanced" + | "size.avatar-title-dense" | "size.body" | "size.caption" | "size.code" + | "size.colophon-byline" + | "size.colophon-meta" + | "size.colophon-name" | "size.display" | "size.headline" + | "size.icon-social" | "size.label" + | "size.marquee" + | "size.qr" + | "size.qr-label" | "size.title" | "space.hairline" | "space.lg" @@ -89,6 +100,7 @@ type DimensionName = | "space.sm" | "space.xl" | "space.xs" + | "tracking.allcaps" | "tracking.display" | "tracking.headline" | "tracking.normal" -- 2.51.2