From 5597d744fe47075a123333d5877721f52126f612 Mon Sep 17 00:00:00 2001 From: Francis Thibault Date: Fri, 6 Oct 2023 13:57:39 -0400 Subject: [PATCH] inverted condition --- .storybook/preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.storybook/preview.js b/.storybook/preview.js index 4d1be4d3b..33eb7b7d1 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -8,7 +8,7 @@ import { withBackgroundMatchingColorScheme, withCenteredCanvas, withDocsContaine import { Code, Highlight } from "@stories/mdx"; import { Themes } from "./styles/themes"; -if (isChromatic) { +if (!isChromatic) { // Custom font makes chromatic inconsistent and cause "false positive". View https://www.chromatic.com/docs/resource-loading#loading-custom-fonts. import("@css/font/index.css"); } else {