How to use the parameters?
mirzafahad opened this issue · 2 comments
mirzafahad commented
Couldn't figure out how to use the parameters. Like, how to change the bgcolor. Can you provide an example?
ABSphreak commented
Hey @mirzafahad,
Thanks for reaching out.
You can change the colors on the card using following URL parameters:
bgColor
→ Background ColorborderColor
→ Border ColorqColor
→ Question ColoraColor
→ Answer ColortextColor
→ Normal text ColorcodeColor
→ Code Color
Example → If you want to change the bgColor
to #1b4332, you would change the #
symbol with %23
in URL and keep the color code same like this:
https://readme-jokes.vercel.app/api?bgColor=%231b4332
Hope it answers your query.
Reopen this issue or just comment on the thread if you have any further doubts/suggestions.
mirzafahad commented
Thank you very much!