Skip to content

Commit

Permalink
changed ABC Favorit / Mono font for the alternative one with a standa…
Browse files Browse the repository at this point in the history
…rd 8
  • Loading branch information
fraincs committed Apr 22, 2024
1 parent 51e0c92 commit 8275589
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
/>
<link
rel="preload"
href="https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/ABCFavoritMono-Regular.woff2"
href="https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/alternative/ABCFavoritMono-Regular.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
<link
rel="preload"
href="https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/ABCFavoritVariable.woff2"
href="https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/alternative/ABCFavoritVariable.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
font-family: "ABC Favorit Mono";
font-style: normal;
font-weight: 400;
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/ABCFavoritMono-Regular.woff2") format("woff2-variations");
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/alternative/ABCFavoritMono-Regular.woff2") format("woff2-variations");
font-display: fallback;
}

@font-face {
font-family: "ABC Favorit";
font-style: normal;
font-weight: 100 900;
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/ABCFavoritVariable.woff2") format("woff2-variations");
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/alternative/ABCFavoritVariable.woff2") format("woff2-variations");
font-display: fallback;
}

Expand Down
4 changes: 2 additions & 2 deletions apps/docs/app/playground/typography/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function CodeBlockPage() {
consistency,
simplicity and excellence.
</p>
<span className="number">0123456789</span>
<span className="number">0123456789 - 8888888888</span>
</div>
<h5>Inter Variable</h5>
<div className="font-sample inter">
Expand Down Expand Up @@ -64,7 +64,7 @@ export default function CodeBlockPage() {
consistency,
simplicity and excellence.
</p>
<span className="number">0123456789</span>
<span className="number">0123456789 - 8888888888</span>
</div>
<h2 className="">Centering</h2>
<h3>Contained</h3>
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/app/playground/typography/typo.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
font-family: "ABC Favorit Mono";
font-style: normal;
font-weight: 400;
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/ABCFavoritMono-Regular.woff2") format("woff2-variations");
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/alternative/ABCFavoritMono-Regular.woff2") format("woff2-variations");
font-display: fallback;
}

@font-face {
font-family: "ABC Favorit";
font-style: normal;
font-weight: 100 900;
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/ABCFavoritVariable.woff2") format("woff2-variations");
src: url("https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/alternative/ABCFavoritVariable.woff2") format("woff2-variations");
font-display: fallback;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/tokens/src/tokens/asset/fonts.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"ABC Favorit Mono": {
"normal": {
"400": {
"value": "https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/ABCFavoritMono-Regular.woff2",
"value": "https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/mono/alternative/ABCFavoritMono-Regular.woff2",
"formats": ["woff2-variations"]
}
}
},
"ABC Favorit": {
"normal": {
"100 900": {
"value": "https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/ABCFavoritVariable.woff2",
"value": "https://cdn.platform.workleap.com/hopper/fonts/abc-favorit/alternative/ABCFavoritVariable.woff2",
"formats": ["woff2-variations"]
}
}
Expand Down

0 comments on commit 8275589

Please sign in to comment.