I'm getting an error when trying to load an external font in my SASS file. Here is the code to load the font-face from all.sass (which is in the same directory as leaguespartan-bold-webfont.woff and leaguespartan-bold-webfont.woff2):
@font-face {
font-family: 'league_spartanbold';
src: url('leaguespartan-bold-webfont.woff2') format('woff2'),
url('leaguespartan-bold-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
And the error message when I try to run this locally:
@font-face {
^
Invalid CSS after "@font-face {": expected "}", was "{"