You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ Commands
24
24
Tokens / fonts
25
25
-`utils/theme.ts` is the single source for `var(--sc-*)`. Dark overrides in `GlobalStyles.tsx`.
26
26
- Display Figtree, body Inter, mono Google Sans Code; injected by next/font as `--font-sans` / `--font-display` / `--font-mono`.
27
+
-`next/og` routes cannot use those helpers; fonts come from committed TTFs under `assets/fonts/og/` (`utils/readOgFont.ts`), matching Next.js opengraph-image docs. `test/utils/opengraphImageFonts.spec.ts` guards against CDN font URLs in any `opengraph-image.tsx`.
27
28
- Three palette tiers: `lightPalette`, `darkPalette` (CVD-optimized; see theme.ts comments for seeds and pipeline) and the ring colors from `utils/logoPalette.ts`. `theme.palette[N]` auto-switches light/dark. Don't hand-pick oklch; derive from palette indices. Accent variants = L/C shift on the same hue, never adjacent indices.
28
29
- OKLCH hue 0° is pink/magenta, not red. See `logoPalette.ts` for the offset that places red at step 0.
0 commit comments