Skip to content

Commit

Permalink
Load example font
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalw committed Dec 4, 2019
1 parent fb098dd commit d29a601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ This will be replaced by calls to the Google Fonts API */
@font-face {
font-family: Fraunces;
font-weight: 1 1000;

/* src: url("../fonts/Fraunces_GoofyAxis-VF.ttf"); */
}

@font-face {
font-family: Fraunces;
font-style: italic;

/* src: url("../fonts/FrauncesItalic_GoofyAxis-VF.ttf"); */
src: url("../fonts/example-font-file.woff2");
}

/* Variable font support */
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = {
]
},
{
test: /\.(png|jpg|svg)$/i,
test: /\.(png|jpg|svg|woff|woff2|ttf|eot)$/i,
use: [
{
loader: "url-loader",
Expand Down

0 comments on commit d29a601

Please sign in to comment.