Skip to content

Commit

Permalink
use fallback strategy for font loading
Browse files Browse the repository at this point in the history
  • Loading branch information
jbowdre committed Apr 23, 2024
1 parent 14916bb commit bbaf6a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
font-family: 'Berkeley Mono';
font-style: normal;
font-weight: 400;
font-display: fallback;
src: local('Berkeley Mono'),
url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Regular.woff2') format('woff2'),
url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Regular.woff') format('woff')
Expand All @@ -17,6 +18,7 @@
font-family: 'Berkeley Mono';
font-style: italic;
font-weight: 400;
font-display: fallback;
src: local('Berkeley Mono Italic'),
url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Italic.woff2') format('woff2'),
url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Italic.woff') format('woff')
Expand All @@ -26,6 +28,7 @@
font-family: 'Berkeley Mono';
font-style: normal;
font-weight: 600;
font-display: fallback;
src: local('Berkeley Mono Bold'),
url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Bold.woff2') format('woff2'),
url('https://cdn.runtimeterror.dev/fonts/BerkeleyMono-Bold.woff') format('woff')
Expand Down

0 comments on commit bbaf6a5

Please sign in to comment.