Skip to content

Commit

Permalink
Try other SF
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Sep 5, 2023
1 parent 495a264 commit 1e80c7f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 13 additions & 1 deletion site/content/docs/5.3/examples/fonts/fonts.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
@font-face {
font-family: "San Francisco";
font-weight: 400;
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}

@font-face {
font-family: "San Francisco";
font-weight: 700;
src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-bold-webfont.woff");
}

.roboto {
font-family: 'Roboto', sans-serif !important;
}
Expand All @@ -19,7 +31,7 @@
}

.san-francisco {
font-family: 'SF Pro Display' !important;
font-family: 'San Francisco' !important;
}

.fw-400 {
Expand Down
3 changes: 1 addition & 2 deletions site/content/docs/5.3/examples/fonts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
<link href="https://fonts.cdnfonts.com/css/sf-pro-display" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">

<main class="p-5">
<h1 class="visually-hidden">Fonts examples</h1>
Expand Down

0 comments on commit 1e80c7f

Please sign in to comment.