Icon Genie v2.3.0 profile generator incorrectly checking for hash in splashscreenColor hex value
See original GitHub issueDescribe the bug Icon Genie profile generator incorrectly checking for hash in splashscreenColor hex value, and won’t accept a hex value without a hash.
Codepen/jsFiddle/Codesandbox (required) N/A
To Reproduce Steps to reproduce the behavior:
- Try to generate an IconGenie profile (replacing with relevant filenames):
icongenie profile -o foo -a spa,capacitor -i app-icon.png -b app-splashscreen.png --quality 2 --splashscreen-color 286DD7
- See error where matching pattern expects the hash:
- Now try to generate a profile with the hash:
icongenie profile -o foo -a spa,capacitor -i app-icon.png -b app-splashscreen.png --quality 2 --splashscreen-color #286DD7
- See error
- Now escape the hash
icongenie profile -o foo -a spa,capacitor -i app-icon.png -b app-splashscreen.png --quality 2 --splashscreen-color \#286DD7
- Profile generates successfully, so try to generate icons:
icongenie generate -p ./icongenie-foo.json
- See error (obviously, since the profile should not include the hash)
Expected behavior The profile should generate without the hash prepending the color (remove the hash from the pattern matching check).
Screenshots See above.
Platform (please complete the following information): OS: MacOS Catalina 0.15.5 Node: v14.2.0 NPM: 6.14.4
Additional context N/A
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Create Icons & Splash Screens for Android, iOS ... - YouTube
In this video, I'm gonna show how to generate Icons & Splash Screens for Android, iOS, Mac, Windows & Web Apps Instantly -...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok good, the fix will be made available after the next round of updates.
I’ll be able to test / look into this over the weekend all being well. Had my eye on it but hadn’t got to it yet 😃