Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
- run: npm run release -- minor --ci
# Deploy storybook to Github pages
# - run: npm run deploy-storybook
- run: npm run deploy-storybook
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN}}
12 changes: 12 additions & 0 deletions .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { addons } from '@storybook/addons';
import { create } from "@storybook/theming";

const theme = create({
base: "dark",
brandTitle: "Ionic React Photo Viewer",
brandUrl: "https://github.com/codesyntax/ionic-react-photo-viewer"
});

addons.setConfig({
theme
});
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ export const parameters = {
...INITIAL_VIEWPORTS,
},
defaultViewport: "iphonex",
}
},
};
Loading