_sass/hima/fonts.scss in hima-1.0.4 vs _sass/hima/fonts.scss in hima-1.0.5
- old
+ new
@@ -1,20 +1,23 @@
@font-face {
font-family: 'Oswald';
+ font-display: swap;
src:
local('Oswald'),
- url('../fonts/Oswald.ttf') format('truetype');
+ url('../fonts/Oswald.woff2') format('woff2');
}
@font-face {
font-family: 'OpenSans';
+ font-display: swap;
src:
local('Open Sans'),
- url('../fonts/OpenSans.ttf') format('truetype');
+ url('../fonts/OpenSans.woff2') format('woff2');
}
@font-face {
font-family: 'FiraCode';
+ font-display: swap;
src:
local('Fira Code'),
- url('../fonts/FiraCode.ttf') format('truetype');
+ url('../fonts/FiraCode.woff2') format('woff2');
}