From 6ae6e45e8c30e84118b4f66fb87f0b36d9c021e1 Mon Sep 17 00:00:00 2001 From: origami-z <5257855+origami-z@users.noreply.github.com> Date: Wed, 29 May 2024 10:14:09 +0100 Subject: [PATCH] Adds theme next snapshot --- packages/core/stories/text/text.qa.stories.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/packages/core/stories/text/text.qa.stories.tsx b/packages/core/stories/text/text.qa.stories.tsx index d1b879eeb57..38e3f5fe099 100644 --- a/packages/core/stories/text/text.qa.stories.tsx +++ b/packages/core/stories/text/text.qa.stories.tsx @@ -91,7 +91,20 @@ export const AllVariantsGrid: StoryFn = (props) => ( ); AllVariantsGrid.parameters = { - chromatic: { disableSnapshot: false }, + chromatic: { + disableSnapshot: false, + modes: { + theme: { + themeNext: "disabled", + }, + themeNext: { + themeNext: "enabled", + corner: "rounded", + accent: "teal", + // Ignore headingFont given font is not loaded + }, + }, + }, }; export const NoStyleInjectionGrid: StoryFn = (