JacobLinCool / LeetCode-Stats-Card

Show your dynamically generated LeetCode stats on your GitHub profile or your website!
https://leetcard.jacoblin.cool
MIT License
663 stars 82 forks source link

Custom option to use our own theme #81

Closed RedHeadphone closed 1 year ago

RedHeadphone commented 1 year ago

Basically custom options which can be provided by query params which is used for theme. Like this

JacobLinCool commented 1 year ago

You can utilize external stylesheets, such as this one on Gist, to design your card.

This approach provides greater flexibility compared to utilizing querystring options.

The card by applying the above stylesheet:

https://leetcard.jacoblin.cool/JacobLinCool?sheets=https://gist.githubusercontent.com/JacobLinCool/4ba186dcd038b6d0fc4d69ab8480baba/raw/fd9a589398248bef3ed351374d07c300eb3abdb6/example.css
RedHeadphone commented 1 year ago

woah nice approach, but in future will you be down to add query parameters?