Currently, I am in the process of incorporating new Google fonts into various Sass files. These particular fonts are locally stored, and I'm including them using Sass along with URLs with the code snippet below:
@font-face
font-family: 'Abril Fatface'
font-style: normal
font-weight: 400
src: url('abril-fatface-v9-latin-regular.eot')
src: local('Abril Fatface'), local('AbrilFatface-Regular'),
url('abril-fatface-v9-latin-regular.eot?#iefix')
format('embedded-opentype'),
/* IE6-IE8 */ url('abril-fatface-v9-latin-regular.woff2')
format('woff2'),
url('abril-fatface-v9-latin-regular.woff')
format('woff'),
url('abril-fatface-v9-latin-regular.ttf')
format('truetype'),
url('abril-fatface-v9-latin-regular.svg#AbrilFatface')
format('svg')
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: expected ":".
╷
7 │ url('abril-fatface-v9-latin-regular.eot?#iefix')
│ ^
╵
src/modules/editor/styles/fonts/abril-fatface-v9-latin/index.sass 7:12 @import
src/modules/editor/styles/fonts/fonts.sass 1:9 @import
src/modules/editor/styles/index.sass 10:9 root stylesheet