Skip to content

Commit

Permalink
Publish scripts and remove comic margin
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeIJ committed Nov 5, 2022
1 parent b5279d4 commit 0056441
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"custom:publish": "npm publish && npx clean-package restore && git restore . && git push",
"docs": "rimraf ./docs && npm run build-storybook && mv ./storybook-static ./docs && npm run gh",
"preview": "vite preview",
"lint": "eslint . --fix && prettier -w .",
Expand All @@ -76,7 +77,10 @@
"storybook-docs": "sb dev --docs --no-manager-cache -p 8009",
"build-storybook": "sb build",
"build-storybook-docs": "sb build --docs --no-manager-cache",
"gh": "gh-pages -d docs"
"gh": "gh-pages -d docs",
"publish:major": "npm version major && npm run custom:publish",
"publish:minor": "npm version minor && npm run custom:publish",
"publish:patch": "npm version patch && npm run custom:publish"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 0 additions & 1 deletion src/components/Comic/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
height: var(--h, 100%);
position: relative;
outline: var(--t, 2px) solid var(--c, #888888);
margin: 3rem auto;
overflow: hidden;
background-color: var(--bgc, transparent);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Stick/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
background-color: transparent;
padding: 0;
--bh: calc(var(--h) * 0.2);
/* todo: when --h < ~50rem, limb segments can be disjointed */
position: absolute;
transition: all 0.25s ease-in-out;
/* @Property on angle variables can solve animation */
Expand Down

0 comments on commit 0056441

Please sign in to comment.