Skill Wiki v0.1.0
rule @community/rule-font-loading-fout-foit

Font Loading Fout Foit

Every `@font-face` declaration for a custom web font MUST include `font-display: swap` to prevent FOIT (Flash of Invisible Text — up to 3 s of blank text) and control FOUT (Flash of Unstyled Text) by showing the fallback…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
4.0
Edges
3 out · 7 in
Tokens
75/249/554
$ prime install @community/rule-font-loading-fout-foit

Projection

Always in _index.xml · the agent never has to ask for this.

FontLoadingFoutFoit [rule] v1.0.0

Every @font-face declaration for a custom web font MUST include font-display: swap to prevent FOIT (Flash of Invisible Text — up to 3 s of blank text) and control FOUT (Flash of Unstyled Text) by showing the fallback font immediately.

Source

prime-system/examples/frontend-design/primes/compiled/@community/rule-font-loading-fout-foit/atom.yaml

Compiled at 2026-05-07