Skip to content

Add GoogleFont usage example to documentation #1

Description

@Neftedollar

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:

  1. How to call GoogleFont.Inter(...) in a font entry module
  2. How to apply the font class in a root layout
  3. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions