Skip to content

Commit

Permalink
fix docs in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Jul 26, 2024
1 parent 22cae13 commit 10dd6c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand All @@ -21,6 +22,9 @@ const preview: Preview = {
parameters: {
layout: 'centered',
actions: { argTypesRegex: '^on.*' },
docs: {
theme: sbTheme
},
options: {
storySort: {
order: [
Expand Down

0 comments on commit 10dd6c5

Please sign in to comment.