8000 Feature request: being able to add fonts to the head of a page so we can prevent FOUT · Issue #323 · nextjournal/clerk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Feature request: being able to add fonts to the head of a page so we can prevent FOUT #323
Open
@pfeodrippe

Description

@pfeodrippe

When opening https://clerk.vision/ in Chrome (didn't try it in other browsers), we have some FOUT happening as the font loading takes some time.

One way of trying to solve this (which I've tested locally and it worked for Chrome at least) would be to add fonts to the head of the page at nextjournal.clerk.view/->html (and also for the static app). We could pass options through the call to main or some other function that keeps an atom with the options we want to be used, let me know what you think o/

Metadata

Metadata

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

    0