Skip to content

Commit

Permalink
feat(preset-web-fonts): add font-display: swap support for bunny (#2828)
Browse files Browse the repository at this point in the history
  • Loading branch information
agenordebriat committed Jul 8, 2023
1 parent 95f9c93 commit f131ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-web-fonts/src/providers/bunny.ts
Expand Up @@ -22,7 +22,7 @@ export function createBunnyFontsProvider(

return `${formattedName}:${weightsAsString.join(',')}`
})
return `${host}/css?family=${fontFamilies.join('|')}`
return `${host}/css?family=${fontFamilies.join('|')}&display=swap`
},
}
}
Expand Down

0 comments on commit f131ee6

Please sign in to comment.