Skip to content

Commit 905b3d8

Browse files
committed
fix(scss): use various supported font file formats
1 parent 4f95cc3 commit 905b3d8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

global.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
@font-face {
22
font-family: 'ServerMono-Regular';
3-
src: url('https://intdev-global.s3.us-west-2.amazonaws.com/public/internet-dev/6c8ad1f3-2ad9-44a9-88db-46ff3f19c4f3.woff') format('woff');
3+
src: url('/fonts/ServerMono-Regular.woff2') format('woff2'), /* Best compression, modern browsers */
4+
url('/fonts/ServerMono-Regular.woff') format('woff'), /* Good compression, wider support */
5+
url('/fonts/ServerMono-Regular.otf') format('opentype'); /* Largest files, universal support */
46
}
57

68
@font-face {
79
font-family: 'ServerMono-Regular-Italic';
8-
src: url('https://intdev-global.s3.us-west-2.amazonaws.com/public/internet-dev/952cb532-3021-434a-b0ac-f4fcc8acf330.woff') format('woff');
10+
src: url('/fonts/ServerMono-RegularSlanted.woff2') format('woff2'),
11+
url('/fonts/ServerMono-RegularSlanted.woff') format('woff'),
12+
url('/fonts/ServerMono-RegularSlanted.otf') format('opentype');
913
}
1014

1115
html,

0 commit comments

Comments
 (0)