Skip to content

Homepage flashes fallback font before loading Prisma font #8088

Description

@akshy-rai

Bug description

The Prisma homepage briefly displays a fallback font during initial page load before switching to the intended Prisma font.

This causes a noticeable font flash (FOUT - Flash of Unstyled Text) during page rendering.

Steps to reproduce

  1. Open https://www.prisma.io/
  2. Perform a hard refresh (Ctrl + Shift + R)
  3. Observe the text rendering during the initial load

Expected behaviour

The correct font should load without a visible font swap or layout shift.

Actual behaviour

The page initially renders with a fallback font and then switches to the Prisma font after the font assets load.

Environment

  • Browser: Edge
  • OS: Windows
  • Reproducible on a fresh page load

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions