Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Theme #102

Open
balajirai opened this issue Oct 1, 2023 · 3 comments
Open

Custom Theme #102

balajirai opened this issue Oct 1, 2023 · 3 comments

Comments

@balajirai
Copy link

Hi there,
I was thinking to create a PR for a new theme which matches the github default dark theme, then I realize that it would be much better if custom theme option would be there.
Like in url itself as a params user passes back-ground color, text-color, and content color similar to the custom font. Then selecting a theme will be more flexible.

@Lo-Wang
Copy link

Lo-Wang commented Dec 7, 2023

Hi, I don't quite understand how to use custom themes, I tried using gist for this, but nothing worked. Could you give an example of the code for gist? Thanks

@JacobLinCool
Copy link
Owner

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

This approach allows you full control over the card's design.

Here is the card with the applied stylesheet:

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

@balajirai
Copy link
Author

balajirai commented Jan 29, 2024

@Lo-Wang, @JacobLinCool

<img align="center" src="https://github-readme-stats.vercel.app/api/top-langs/?username=balajirai&hide_border=true&title_color=ffffff&icon_color=34abeb&text_color=CFD6DB&bg_color=0D1117&include_all_commits=false&count_private=false&layout=compact" alt="balaji" />

Like in the above URL, almost all customization is available regarding theme, font, icons etc... that's what I was talking about.
By the way thanks for the gist idea, @JacobLinCool, @Lo-Wang

Preview :
balaji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants