From e7591aa4534c361a936151613f1a9a8a15ef4864 Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Mon, 25 Aug 2025 10:41:16 -0300 Subject: [PATCH] chore: preload inter and ibm mono fonts in storybook (#19455) This aims to solve font rendering issues in Storybook like the inconsistent snapshot below. **Inconsistent snapshot:** image **References:** - https://www.chromatic.com/docs/troubleshooting-snapshots/#why-are-fonts-in-my-graph-component-rendering-inconsistently - https://fontsource.org/docs/getting-started/preload --- site/.storybook/preview-head.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 site/.storybook/preview-head.html diff --git a/site/.storybook/preview-head.html b/site/.storybook/preview-head.html new file mode 100644 index 0000000000..063faccb93 --- /dev/null +++ b/site/.storybook/preview-head.html @@ -0,0 +1,5 @@ + + + + +