Skip to content

Commit 8b0b82a

Browse files
committed
chore: attempt to fix dark/light mode
1 parent 2c39b62 commit 8b0b82a

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

.storybook/main.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ const config: StorybookConfig = {
1515
disableTelemetry: true,
1616
builder: {
1717
name: '@storybook/builder-webpack5',
18-
options: {
19-
fsCache: true,
20-
lazyCompilation: true,
21-
},
18+
options: { lazyCompilation: true },
2219
},
2320
},
2421
framework: { name: '@storybook/nextjs', options: {} },

.storybook/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const preview: Preview = {
3131
),
3232
withThemeByDataAttribute<ReactRenderer>({
3333
themes: {
34-
light: 'light',
34+
light: '',
3535
dark: 'dark',
3636
},
3737
defaultTheme: 'light',

0 commit comments

Comments
 (0)