X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_fonts.scss;h=514261d01394c81686f1f13a1fa7973bc5bbffa5;hb=9bedf70b23cc01ca44ca2f82935c7cc28cb75232;hp=46cd37971c9900f393f8ef27c965cfc87e69b4cd;hpb=a1758df8a3c3f866460edd8f9bbc94e8dd41fd80;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss index 46cd37971..514261d01 100644 --- a/client/src/sass/include/_fonts.scss +++ b/client/src/sass/include/_fonts.scss @@ -1,46 +1,17 @@ -$FontPathSourceSansPro: '~npm-font-source-sans-pro/fonts'; - @font-face { font-family: 'Source Sans Pro'; - font-weight: 400; + font-weight: 200 900; font-style: normal; font-stretch: normal; font-display: swap; - src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2') format('woff2'), + src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Roman.ttf.woff2') format('woff2'); } @font-face { font-family: 'Source Sans Pro'; - font-weight: 400; + font-weight: 200 900; font-style: italic; font-stretch: normal; font-display: swap; - src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-It.ttf.woff2') format('woff2'), + src: url('../fonts/source-sans/WOFF2/VAR/SourceSans3VF-Italic.ttf.woff2') format('woff2'); } - -@font-face { - font-family: 'Source Sans Pro'; - font-weight: 600; - font-style: normal; - font-stretch: normal; - font-display: swap; - src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2') format('woff2'), -} - -@font-face { - font-family: 'Source Sans Pro'; - font-weight: 600; - font-style: italic; - font-stretch: normal; - font-display: swap; - src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2') format('woff2'), -} - -@font-face { - font-family: 'Source Sans Pro'; - font-weight: 700; - font-style: normal; - font-stretch: normal; - font-display: swap; - src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2') format('woff2'), -} \ No newline at end of file