Skip to content

Commit e256941

Browse files
authored
Merge pull request #17 from codesyntax/photoswipe-migration
Photoswipe migration
2 parents e5fd934 + 99156c1 commit e256941

File tree

7 files changed

+1160
-333
lines changed

7 files changed

+1160
-333
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc
2323
- run: npm run release -- minor --ci
2424
# Deploy storybook to Github pages
25-
# - run: npm run deploy-storybook
25+
- run: npm run deploy-storybook
2626
env:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
NPM_TOKEN: ${{ secrets.NPM_TOKEN}}

.storybook/manager.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { addons } from '@storybook/addons';
2+
import { create } from "@storybook/theming";
3+
4+
const theme = create({
5+
base: "dark",
6+
brandTitle: "Ionic React Photo Viewer",
7+
brandUrl: "https://github.com/codesyntax/ionic-react-photo-viewer"
8+
});
9+
10+
addons.setConfig({
11+
theme
12+
});

.storybook/preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ export const parameters = {
5353
...INITIAL_VIEWPORTS,
5454
},
5555
defaultViewport: "iphonex",
56-
}
56+
},
5757
};

0 commit comments

Comments
 (0)