From 6d19e0ac5e76b4cd9949aa3c1b8b791884951b14 Mon Sep 17 00:00:00 2001 From: Barsnes Date: Fri, 24 Jan 2025 09:16:37 +0100 Subject: [PATCH] ci: `forcedColors` for inputs in chromatic --- packages/react/src/components/Input/Input.stories.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/react/src/components/Input/Input.stories.tsx b/packages/react/src/components/Input/Input.stories.tsx index f441b143bb..8d4e0ea6a1 100644 --- a/packages/react/src/components/Input/Input.stories.tsx +++ b/packages/react/src/components/Input/Input.stories.tsx @@ -46,6 +46,9 @@ export default { rules: [{ id: 'color-contrast', selector: ':read-only' }], }, }, + chromatic: { + forcedColors: 'active', + }, }, } as Meta;