Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Preload css for Inter font #631

Merged
merged 2 commits into from
Feb 27, 2020
Merged

Preload css for Inter font #631

merged 2 commits into from
Feb 27, 2020

Conversation

orzechdev
Copy link
Contributor

@orzechdev orzechdev commented Feb 27, 2020

I want to merge this change because... it adds preconnect to fetch css file describing required fonts. It will cause establish early connections to that file, what might be used in future rendering without blocking it due to required connection establishment.

Another improvement would be moving font source imports to Google fonts, although it is not yet available there due to not full support of this font rendering in modern browsers - google/fonts#1908 (comment) - we might expect it in the future.

@netlify
Copy link

netlify bot commented Feb 27, 2020

Deploy preview for saleor-storefront-stage processing.

Building with commit ad94e00

https://app.netlify.com/sites/saleor-storefront-stage/deploys/5e57b00358ac5d000807b3a3

@orzechdev orzechdev self-assigned this Feb 27, 2020
@orzechdev orzechdev marked this pull request as ready for review February 27, 2020 12:23
@mateuszkula mateuszkula merged commit 7849e51 into master Feb 27, 2020
@mateuszkula mateuszkula deleted the fix/preload-css-for-fonts branch February 27, 2020 13:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants