css/fonts: Set font-display: swap
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
2e86a91ac7
commit
32eaf59798
|
@ -3,6 +3,7 @@
|
|||
font-family: 'PT Sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('PT Sans'), local('PTSans-Regular'),
|
||||
url('../fonts/pt-sans-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/pt-sans-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||
|
@ -14,6 +15,7 @@
|
|||
font-family: 'PT Sans';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: local('PT Sans Italic'), local('PTSans-Italic'),
|
||||
url('../fonts/pt-sans-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/pt-sans-v11-latin-italic.woff') format('woff'), /* Modern Browsers */
|
||||
|
@ -25,6 +27,7 @@
|
|||
font-family: 'PT Sans';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: local('PT Sans Bold'), local('PTSans-Bold'),
|
||||
url('../fonts/pt-sans-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
||||
url('../fonts/pt-sans-v11-latin-700.woff') format('woff'), /* Modern Browsers */
|
||||
|
|
Loading…
Reference in New Issue