Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eyedropper] Integrate automatic font-matching #8

Open
kptdobe opened this issue Jun 23, 2022 · 0 comments
Open

[eyedropper] Integrate automatic font-matching #8

kptdobe opened this issue Jun 23, 2022 · 0 comments

Comments

@kptdobe
Copy link
Contributor

kptdobe commented Jun 23, 2022

The eyedropper simply capture the font name which in most of the cases is a non standard font.
On the production site, a default font is used until the font is loaded. In order to not break the CLS (Core Web Vitals...), you need to compute a default font setup that will not have an impact on the layout. This can be computed. Here is an example: https://www.industrialempathy.com/perfect-ish-font-fallback/?font=Montserrat (source is here https://github.com/googlefonts/cls_calculator)

We simply need to implement something similar and automatic to generate the proper a default font setup.

atopper pushed a commit to atopper/helix-importer-ui that referenced this issue May 24, 2024
- introduce express transformation option
- automatically generate transformation file from current mapping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant