Skip to content

Commit 65dd8b5

Browse files
committed
storybook: fix default background
1 parent 27a9157 commit 65dd8b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.storybook/preview.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ import type { Preview } from '@storybook/react-vite';
22
import '../src/frontend/theme.css';
33

44
const preview: Preview = {
5-
parameters: {
6-
backgrounds: {
7-
default: 'dark',
8-
},
5+
initialGlobals: {
6+
backgrounds: { value: 'dark' },
97
},
108
};
119

0 commit comments

Comments
 (0)