From 10dd6c51d35d6a088efa2b086998d72273d71e3d Mon Sep 17 00:00:00 2001 From: amcdnl Date: Fri, 26 Jul 2024 07:23:06 -0400 Subject: [PATCH] fix docs in light mode --- .storybook/preview.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index e374fd4..c8ad7d9 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -1,6 +1,7 @@ import { Preview } from '@storybook/react'; import { ThemeProvider, theme } from 'reablocks'; import { withThemeByClassName } from '@storybook/addon-themes'; +import sbTheme from './theme'; import './index.css'; const preview: Preview = { @@ -21,6 +22,9 @@ const preview: Preview = { parameters: { layout: 'centered', actions: { argTypesRegex: '^on.*' }, + docs: { + theme: sbTheme + }, options: { storySort: { order: [