Skip to content

Commit

Permalink
Add font swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusrickert authored and athul committed Aug 14, 2022
1 parent 26f57dd commit fa13b87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions assets/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* fira-sans-regular - latin */
@font-face {
font-display: swap;
font-family: 'Fira Sans';
font-style: normal;
font-weight: 400;
Expand All @@ -12,10 +13,11 @@
url('../fonts/fira-sans-v10-latin-regular.svg#FiraSans') format('svg'); /* Legacy iOS */
}
/* roboto-mono-regular - latin */
@font-face {
@font-face {
font-display: swap;
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
font-weight: 400;
src: url('../fonts/roboto-mono-v12-latin-regular.eot'); /* IE9 Compat Modes */
src: url('../fonts/roboto-mono-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/roboto-mono-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
Expand All @@ -25,6 +27,7 @@
}
/* ibm-plex-mono-500italic - latin */
@font-face {
font-display: swap;
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 500;
Expand Down

0 comments on commit fa13b87

Please sign in to comment.