Skip to content

Commit

Permalink
Adjust Google Fonts loader url (#3167)
Browse files Browse the repository at this point in the history
* fix(mc-html-template): adjust google fonts loader url

* fix(mc-html-template): remove open sans support

* chore: changeset added

* refactor(visual-testing-app): update google fonts url

* refactor(visual-testing-app): restore loading open sans fonts

* chore: update changeset

* refactor(visual-testing-app): restore loading open sans fonts
  • Loading branch information
CarlosCortizasCT authored Aug 16, 2023
1 parent a0fda88 commit 34c2e4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/lazy-jokes-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/mc-html-template': patch
---

Adjust Google Fonts loader URL to not use the `slant` query parameter.
2 changes: 1 addition & 1 deletion packages/mc-html-template/html-docs/application.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="__CDN_URL__favicon_144x144px.png">

<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:slnt,wght@-10,400;-10,500;0,400;0,500;0,600;0,700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">

__APPLICATION_CSS_IMPORTS__

Expand Down
2 changes: 1 addition & 1 deletion visual-testing-app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:slnt,wght@-10,400;-10,500;0,400;0,500;0,600;0,700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<title>App-Kit | Visual testing app</title>
Expand Down
2 changes: 1 addition & 1 deletion website-components-playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:slnt,wght@-10,400;-10,500;0,400;0,500;0,600;0,700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<title>App-Kit | Components Playground</title>
Expand Down

1 comment on commit 34c2e4e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

Deploy preview for merchant-center-application-kit ready!

✅ Preview
https://merchant-center-application-oqkbsbkgj-commercetools.vercel.app

Built with commit 34c2e4e.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.