Merge pull request #324 from julien-gargot/release
Fix Font-Face Paths for variable fonts
This commit is contained in:
commit
4bbbf01dcf
|
@ -1,19 +1,19 @@
|
|||
@font-face{
|
||||
font-family: 'Source Code Variable';
|
||||
font-family: 'Source Code VF';
|
||||
font-weight: 200 900;
|
||||
font-style: normal;
|
||||
font-stretch: normal;
|
||||
src: url('./WOFF2/VAR/SourceCodeVariable-Roman.ttf.woff2') format('woff2-variations'),
|
||||
url('./WOFF/VAR/SourceCodeVariable-Roman.ttf.woff') format('woff-variations'),
|
||||
url('./VAR/SourceCodeVariable-Roman.ttf') format('truetype-variations');
|
||||
src: url('./WOFF2/VF/SourceCodeVF-Upright.ttf.woff2') format('woff2-variations'),
|
||||
url('./WOFF/VF/SourceCodeVF-Upright.ttf.woff') format('woff-variations'),
|
||||
url('./VF/SourceCodeVF-Upright.ttf') format('truetype-variations');
|
||||
}
|
||||
|
||||
@font-face{
|
||||
font-family: 'Source Code Variable';
|
||||
font-family: 'Source Code VF';
|
||||
font-weight: 200 900;
|
||||
font-style: italic;
|
||||
font-stretch: normal;
|
||||
src: url('./WOFF2/VAR/SourceCodeVariable-Italic.ttf.woff2') format('woff2-variations'),
|
||||
url('./WOFF/VAR/SourceCodeVariable-Italic.ttf.woff') format('woff-variations'),
|
||||
url('./VAR/SourceCodeVariable-Italic.ttf') format('truetype-variations');
|
||||
src: url('./WOFF2/VF/SourceCodeVF-Italic.ttf.woff2') format('woff2-variations'),
|
||||
url('./WOFF/VF/SourceCodeVF-Italic.ttf.woff') format('woff-variations'),
|
||||
url('./VF/SourceCodeVF-Italic.ttf') format('truetype-variations');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue