๐ badges: support style selections
jeongukjae opened this issue ยท 3 comments
jeongukjae commented
Plugin Name
badges
๐ Feature description
Currently, only flat-square
style is possible in badges plugin. It should be much better to generate other badge styles.
๐ค Context
I want to match all badge styles into 'flat' in my repo!
โ๏ธ Possible Implementation
For the simplest implementation, I think two changes required.
- In the frontend plugin, added dropdown or similar component to select styles.
- In the backend plugin, retrieve styles param and pass it to
badge-maker
plugin.
For pre-defined styles list, check this link: https://github.com/badges/shields/blob/8df3f70da91854f5607a8a240ea5e363abd02949/badge-maker/lib/badge-renderers.js#L985-L991
๐ Have you spent some time to check if this feature request has been raised before?
- I checked and didn't find similar issue
๐ข Have you read the Code of Conduct?
- I have read the Code of Conduct
Are you willing to submit PR?
Yes I am willing to submit a PR!
awanlin commented
Go for it @jeongukjae, contributions welcome to add this. ๐
jeongukjae commented
Okay! will raise a PR soon!
jeongukjae commented