]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_fonts.scss
Merge branch 'release/3.4.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _fonts.scss
index d4694a747965cb63aadfe8b41b51264c8c0060b9..514261d01394c81686f1f13a1fa7973bc5bbffa5 100644 (file)
@@ -1,41 +1,17 @@
-$FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts';
-
-@font-face {
-  font-family: 'Source Sans Pro';
-  font-weight: 400;
-  font-style: normal;
-  font-stretch: normal;
-  src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2') format('woff2'),
-}
-
-@font-face {
-  font-family: 'Source Sans Pro';
-  font-weight: 400;
-  font-style: italic;
-  font-stretch: normal;
-  src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-It.ttf.woff2') format('woff2'),
-}
-
 @font-face {
   font-family: 'Source Sans Pro';
-  font-weight: 600;
+  font-weight: 200 900;
   font-style: normal;
   font-stretch: normal;
-  src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2') format('woff2'),
+  font-display: swap;
+  src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2') format('woff2');
 }
 
 @font-face {
   font-family: 'Source Sans Pro';
-  font-weight: 600;
+  font-weight: 200 900;
   font-style: italic;
   font-stretch: normal;
-  src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2') format('woff2'),
+  font-display: swap;
+  src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2') format('woff2');
 }
-
-@font-face {
-  font-family: 'Source Sans Pro';
-  font-weight: 700;
-  font-style: normal;
-  font-stretch: normal;
-  src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2') format('woff2'),
-}
\ No newline at end of file