Skip to content

Commit

Permalink
Add data attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
khiga8 committed Jan 28, 2025
1 parent ef9f485 commit 8b8c9ae
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/react/.storybook/preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const preview = {
['*', 'Playground', /Playground$/, 'Features', 'Examples'],
],
],
]
]
],
],
],
'Behaviors',
'Hooks',
Expand All @@ -82,8 +82,8 @@ const preview = {
['*', 'Playground', /Playground$/, 'Features', 'Examples'],
],
],
]
]
],
],
],
[
'Private',
Expand All @@ -100,8 +100,8 @@ const preview = {
['*', 'Playground', /Playground$/, 'Features', 'Examples'],
],
],
]
]
],
],
],
'*',
]
Expand Down Expand Up @@ -290,6 +290,7 @@ export const decorators = [
data-color-mode={theme.startsWith('dark') ? 'dark' : 'light'}
data-light-theme={theme.startsWith('light') ? theme : undefined}
data-dark-theme={theme.startsWith('dark') ? theme : undefined}
data-a11y-link-underlines="true"
>
<BaseStyles>
<Story {...context} />
Expand All @@ -304,6 +305,7 @@ export const decorators = [
dayScheme={context.globals.colorScheme}
nightScheme={context.globals.colorScheme}
colorMode="day"
data-a11y-link-underlines="true"
>
<div className={clsx('story-wrap')}>
<BaseStyles>
Expand Down

0 comments on commit 8b8c9ae

Please sign in to comment.