Skip to content

Commit

Permalink
preload fonts to remove issues with chromatic
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecore committed Aug 9, 2024
1 parent 486405f commit ed905be
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions web-components/.storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>preview-head</title>
<link
rel="preload"
href="https://cdn.jsdelivr.net/fontsource/fonts/open-sans:vf@latest/latin-wght-normal.woff2"
as="font"
type="font/woff2"
crossorigin="anonymous"
/>
</head>
<body>
</body>
</html>

0 comments on commit ed905be

Please sign in to comment.