Summary
The docs show Font.local usage but lack a complete example of using the generated GoogleFont catalog in a layout.
What to do
Add a section to docs/quickstart.md or a new recipe showing:
- How to call
GoogleFont.Inter(...) in a font entry module
- How to apply the font class in a root layout
- The
next/font literal-object requirement
A working example already exists in examples/nextfs-starter — extract and document the pattern.
Files likely involved
docs/quickstart.md
- Reference:
examples/nextfs-starter/src/NextFs.Starter/App.Fonts.fs
Summary
The docs show
Font.localusage but lack a complete example of using the generatedGoogleFontcatalog in a layout.What to do
Add a section to
docs/quickstart.mdor a new recipe showing:GoogleFont.Inter(...)in a font entry modulenext/fontliteral-object requirementA working example already exists in
examples/nextfs-starter— extract and document the pattern.Files likely involved
docs/quickstart.mdexamples/nextfs-starter/src/NextFs.Starter/App.Fonts.fs