Skip to content

Commit

Permalink
docs: remove the need to use figma/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Nov 17, 2023
1 parent aac7cc5 commit 2181756
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import choosePatternName from 'lithology-patterns/assets/svg/30000.svg
```
### Adding new pattern
1. Place new pattern in `figma/`
1. Place new pattern in `assets/svg`
2. Run `npm patterns:process`
3. Add new optimized pattern in `assets/`to git repository
3. Commit
### NuGet
TODO
Expand Down
8 changes: 6 additions & 2 deletions assets/svg/65121.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"patterns:process": "npm run patterns:optimize && npm run patterns:format",
"patterns:format": "prettier --write assets/**/**.svg",
"patterns:optimize": "svgo -f ./figma -o ./assets/svg"
"patterns:optimize": "svgo -f ./assets/svg -o ./assets/svg"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 2181756

Please sign in to comment.