Skip to content

Commit

Permalink
adding URL and changing theme
Browse files Browse the repository at this point in the history
  • Loading branch information
VTEX committed Jun 18, 2021
1 parent f75e9c7 commit 42af97d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/store-ui/.storybook/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { addons } from '@storybook/addons'
import { themes } from '@storybook/theming'

addons.setConfig({
theme: themes.normal,
theme: themes.light,
})
1 change: 1 addition & 0 deletions packages/store-ui/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const parameters = {
color: /(background|color)$/i,
date: /Date$/,
},
theme,
},
options: {
theme,
Expand Down
4 changes: 3 additions & 1 deletion packages/store-ui/.storybook/theme.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { create } from '@storybook/theming'
import { create } from '@storybook/theming/create'
import { version } from '../package.json'

export default create({
base: 'light',
brandImage: null,
brandTitle: `Store UI v${version}`,
brandUrl: 'https://github.com/vtex/faststore/tree/master/packages/store-ui',
})

0 comments on commit 42af97d

Please sign in to comment.