Skip to content

Commit

Permalink
issue #631: font-display dterministic
Browse files Browse the repository at this point in the history
  • Loading branch information
gullerya committed Feb 4, 2021
1 parent 4f07900 commit f329b39
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions common/fonts/src/vvd-fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
@font-face {
font-family: 'SpeziaWeb';
src: url('//fonts.resources.vonage.com/fonts/v1/SpeziaWeb-Regular.woff2') format('woff2');
font-display: block;
font-style: normal;
font-weight: 400;
font-weight: 400;
}

/*
Expand All @@ -20,6 +21,7 @@
@font-face {
font-family: 'SpeziaWeb';
src: url('//fonts.resources.vonage.com/fonts/v1/SpeziaWeb-WideMedium.woff2') format('woff2');
font-display: block;
font-style: normal;
font-weight: 500;
}
Expand All @@ -30,6 +32,7 @@
@font-face {
font-family: 'SpeziaWeb';
src: url('//fonts.resources.vonage.com/fonts/v1/SpeziaWeb-SemiBold.woff2') format('woff2');
font-display: block;
font-style: normal;
font-weight: 600;
}
Expand All @@ -40,6 +43,7 @@
@font-face {
font-family: 'SpeziaMonoWeb';
src: url('//fonts.resources.vonage.com/fonts/v1/SpeziaWeb-MonoRegular.woff2') format('woff2');
font-display: block;
font-style: normal;
font-weight: 400;
}
Expand All @@ -52,6 +56,7 @@
@font-face {
font-family: 'SpeziaWebVariable';
src: url('//fonts.resources.vonage.com/fonts/v1/Spezia_Web_Complete_Upright.woff2') format('woff2-variations');
font-display: block;
font-style: normal;
font-weight: 1 1000;
font-stretch: 50% 200%;
Expand All @@ -60,7 +65,8 @@
@font-face {
font-family: 'SpeziaMonoWebVariable';
src: url('//fonts.resources.vonage.com/fonts/v1/Spezia_Web_Monospace_Complete.woff2') format('woff2-variations');
font-style: normal;
font-display: block;
font-style: normal;
font-weight: 1 1000;
font-stretch: 50% 200%;
}
Expand Down

0 comments on commit f329b39

Please sign in to comment.