-$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