Skip to content

Commit ddd0bfd

Browse files
janhasselkodiakhq[bot]tw15egan
authored
docs: match story docs and shell themes (#12399)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: TJ Egan <tw15egan@gmail.com>
1 parent b29b3b3 commit ddd0bfd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/react/.storybook/preview.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import React from 'react';
1414
import { breakpoints } from '@carbon/layout';
1515
import { GlobalTheme } from '../src/components/Theme';
1616

17+
import theme from './theme';
18+
1719
export const globalTypes = {
1820
locale: {
1921
name: 'Locale',
@@ -87,6 +89,9 @@ export const parameters = {
8789
darkMode: {
8890
current: 'light',
8991
},
92+
docs: {
93+
theme,
94+
},
9095
// Small (<672)
9196
// Medium (672 - 1056px)
9297
// Large (1056 - 1312px)

0 commit comments

Comments
 (0)