File tree 3 files changed +10
-6
lines changed
3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ const cli = meow(`
14
14
--platform, -p Platform to generate icons for
15
15
--background, -b Color of the icon background if the icon is transparant [Default: white]
16
16
--contentRatio, -r Logo-icon ratio [Default: 1]
17
+ --roundedCorners Generate icons with rounded corners [Default: true for pwa and Android]
18
+ --borderRadius Border radius percentage [Default: 0.0909]
17
19
--out, -o Output directory [Default: cwd]
18
20
19
21
Examples
Original file line number Diff line number Diff line change 38
38
"dependencies" : {
39
39
"log-symbols" : " ^3.0.0" ,
40
40
"meow" : " ^5.0.0" ,
41
- "mobicon" : " ^2 .0.0" ,
41
+ "mobicon" : " ^3 .0.0" ,
42
42
"update-notifier" : " ^3.0.1"
43
43
},
44
44
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -21,15 +21,17 @@ $ mobicon --help
21
21
$ mobicon <file>
22
22
23
23
Options
24
- -p, --platform Platform to generate icons for
25
- -b, --background Color of the icon background if the icon is transparant [Default: white]
26
- -r, --contentRatio Logo-icon ratio [Default: 1]
27
- -o, --out Output directory [Default: cwd]
24
+ --platform, -p Platform to generate icons for
25
+ --background, -b Color of the icon background if the icon is transparant [Default: white]
26
+ --contentRatio, -r Logo-icon ratio [Default: 1]
27
+ --roundedCorners Generate icons with rounded corners [Default: true for pwa and Android]
28
+ --borderRadius Border radius percentage [Default: 0.0909]
29
+ --out, -o Output directory [Default: cwd]
28
30
29
31
Examples
30
32
$ mobicon icon.png -p=android
31
33
✔ success
32
- $ mobicon icon.png -p=android -p=ios
34
+ $ mobicon icon.png -p=android -p=ios -p=pwa
33
35
✔ success
34
36
$ mobicon icon.svg -p=ios -o=resources
35
37
✔ success
You can’t perform that action at this time.
0 commit comments