Skip to content

Commit

Permalink
Merge pull request #120 from Shopify/fd-fix-font-assets
Browse files Browse the repository at this point in the history
Use relative paths for fonts to fix prod
  • Loading branch information
frandiox committed Oct 24, 2022
2 parents a66020b + 589f642 commit 4509fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/styles/custom-font.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
font-family: 'IBMPlexSerif';
font-display: swap;
font-weight: 400;
src: url('/fonts/IBMPlexSerif-Text.woff2') format('woff2');
src: url('../../fonts/IBMPlexSerif-Text.woff2') format('woff2');
}
@font-face {
font-family: 'IBMPlexSerif';
font-display: swap;
font-weight: 400;
font-style: italic;
src: url('/fonts/IBMPlexSerif-TextItalic.woff2') format('woff2');
src: url('../../fonts/IBMPlexSerif-TextItalic.woff2') format('woff2');
}

0 comments on commit 4509fe8

Please sign in to comment.