X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_fonts.scss;h=514261d01394c81686f1f13a1fa7973bc5bbffa5;hb=d91b23b11ca46debfee320ce5c5dfaeae5811bb7;hp=61717e6f567405229498e0b7c5060b83fd26cb3a;hpb=fa40cbc3b26e2a7b01a6273def62fa8bb552c7b6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index 61717e6f5..514261d01 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss @@ -1,41 +1,17 @@ -$FontPathSourceSansPro: '../../node_modules/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