From 1e80c7fc0bad9e5d8516d09e13bea73031a4a158 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Tue, 5 Sep 2023 15:36:15 +0200 Subject: [PATCH] Try other SF --- site/content/docs/5.3/examples/fonts/fonts.css | 14 +++++++++++++- site/content/docs/5.3/examples/fonts/index.html | 3 +-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/site/content/docs/5.3/examples/fonts/fonts.css b/site/content/docs/5.3/examples/fonts/fonts.css index 2239a3a3d9..b1db9b6ffa 100644 --- a/site/content/docs/5.3/examples/fonts/fonts.css +++ b/site/content/docs/5.3/examples/fonts/fonts.css @@ -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; } @@ -19,7 +31,7 @@ } .san-francisco { - font-family: 'SF Pro Display' !important; + font-family: 'San Francisco' !important; } .fw-400 { diff --git a/site/content/docs/5.3/examples/fonts/index.html b/site/content/docs/5.3/examples/fonts/index.html index 7bbe43a3c1..c294b4e45a 100644 --- a/site/content/docs/5.3/examples/fonts/index.html +++ b/site/content/docs/5.3/examples/fonts/index.html @@ -12,8 +12,7 @@ - - +

Fonts examples