Visit endpoint url for all available cards and available options for each card
Endpoint URL: https://github-cards.onrender.com
Embed one of these in your README:
<!-- Markdown -->
![Card](https://github-cards.onrender.com/any_card_name)
<!-- HTML -->
<img src="https://github-cards.onrender.com/any_card_name" alt="Card" />
- light
- dark
- dark_2
- rgb
- pattern_1
- pattern_2
- pattern_3
- random - Any random theme will we applied
- custom - You can set your custom arguments
args: {
card_color: "Card color. Default: #ffffff [Optional]",
font_color: "Card text color. Default: #000000 [Optional]",
bg_color: "Card Background color. Default: #fff [Optional]",
shadow: "Card shadow. Default: false [Optional]",
shadow_color: "Card shadow color. Default: #000000 [Optional]",
},
https://github-cards.onrender.com/
- Fork this repository.
- Add your card in
src/cards
directory, you can take the refrence from already added cards. - Add any data file inside data directory that your card will use.
- Add route of your card in
index.js
file. - Add your card api refrence inside in
src/help.js
file and also in README.md file. - Create pull request.
- Fork this repository.
- If you want to add gradient background then add your gradient code in
src/gradients.js
file.Take refrence from already added gradients.
- Add your theme name in the
src/themes.js
file.Theme name should be unique and should be in the second last position of the array.
- Create your theme in
src/themes.js
file.Take refrence from already added themes.
- Add your theme api refrence inside in
src/help.js
file and also in README.md file.