diff --git a/templates/css.hbs b/templates/css.hbs index 8d20f08..7fa00c4 100644 --- a/templates/css.hbs +++ b/templates/css.hbs @@ -1,5 +1,6 @@ @font-face { font-family: "{{fontName}}"; + font-display: block; src: {{{src}}}; } diff --git a/templates/scss.hbs b/templates/scss.hbs index 7d73ca2..fdb0248 100644 --- a/templates/scss.hbs +++ b/templates/scss.hbs @@ -1,5 +1,6 @@ @font-face { font-family: "{{fontName}}"; + font-display: block; src: {{{src}}}; }