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

chore(storefront): Update storefront to use the Altinn CDN for Inter font #809

Merged
merged 2 commits into from
Sep 13, 2023

Conversation

Magnusrm
Copy link
Contributor

@Magnusrm Magnusrm commented Sep 12, 2023

Removed font implementation in app.tsx and added link to Altinn CDN inter font in Meta component instead. The Inter font is now being set on the .root css class in the global css file for storefront. Also removed now unused package next/font.

Resolves: #808

@Magnusrm Magnusrm marked this pull request as ready for review September 12, 2023 12:07
@github-actions
Copy link
Contributor

Storefront preview deployment is available at https://storefront-d4acsk4vb-designsystemet.vercel.app

Copy link
Collaborator

@Thunear Thunear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CDN is loaded in <head> and the font-family is set. Looks good!

@Thunear Thunear merged commit bd819f9 into main Sep 13, 2023
7 checks passed
@Thunear Thunear deleted the chore/change-storefront-font-to-altinn-cdn-inter branch September 13, 2023 07:13
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

Successfully merging this pull request may close these issues.

Change Storefront font CDN
2 participants