X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_fonts.scss;h=514261d01394c81686f1f13a1fa7973bc5bbffa5;hb=9bedf70b23cc01ca44ca2f82935c7cc28cb75232;hp=d4694a747965cb63aadfe8b41b51264c8c0060b9;hpb=161b061d4e51eb1e2b2b7e9482d5299489ef7c45;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index d4694a747..514261d01 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss @@ -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