File tree 4 files changed +13
-2
lines changed
4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1
- const path = require ( 'path' ) ;
2
1
module . exports = {
3
2
stories : [ '../stories/index.js' ] ,
4
3
} ;
Original file line number Diff line number Diff line change
1
+ import { addons } from '@storybook/addons' ;
2
+ import { create } from '@storybook/theming/create' ;
3
+
4
+ addons . setConfig ( {
5
+ theme : create ( {
6
+ base : 'light' ,
7
+ brandTitle : 'React Sortable Tree' ,
8
+ brandUrl : 'https://github.com/frontend-collective/react-sortable-tree' ,
9
+ gridCellSize : 12 ,
10
+ } ) ,
11
+ } ) ;
Original file line number Diff line number Diff line change 88
88
"@storybook/addon-storyshots" : " ^5.2.6" ,
89
89
"@storybook/addons" : " ^5.3.17" ,
90
90
"@storybook/react" : " ^5.2.6" ,
91
+ "@storybook/theming" : " ^5.3.17" ,
91
92
"autoprefixer" : " ^9.7.1" ,
92
93
"babel-core" : " ^7.0.0-bridge.0" ,
93
94
"babel-eslint" : " ^10.0.3" ,
Original file line number Diff line number Diff line change 1859
1859
qs "^6.6.0"
1860
1860
util-deprecate "^1.0.2"
1861
1861
1862
- "@storybook/theming@5.3.17":
1862
+ "@storybook/theming@5.3.17", "@storybook/theming@^5.3.17" :
1863
1863
version "5.3.17"
1864
1864
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.3.17.tgz#cf6278c4857229c7167faf04d5b2206bc5ee04e1"
1865
1865
integrity sha512-4JeOZnDDHtb4LOt5sXe/s1Jhbb2UPsr8zL9NWmKJmTsgnyTvBipNHOmFYDUsIacB5K4GXSqm+cZ7Z4AkUgWCDw==
You can’t perform that action at this time.
0 commit comments