Skip to content

Commit

Permalink
inverted condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Thibault committed Oct 6, 2023
1 parent 22a0fd8 commit 5597d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5597d74

Please sign in to comment.