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

💡 CSS custom props #138

Open
erikyo opened this issue Aug 8, 2022 · 3 comments
Open

💡 CSS custom props #138

erikyo opened this issue Aug 8, 2022 · 3 comments

Comments

@erikyo
Copy link

erikyo commented Aug 8, 2022

Is your feature request related to a problem? Please describe.

My feature request is as per the title to ask for the css custom props :) Would be really useful for customizing colors and although it would be handy to use them for margins/spacings as well. If any assistance is needed tell me, but i guess it is not very complicated for you! (ps. kudos for this repo is very nicely done)

Describe the solution you'd like

For each stylesheet at the beginning of the file add some variables in order to let the users customize easily the template

Describe alternatives you've considered

Currently there is no alternative, unless you want to use scss... however, we can say css custom props are more than widely supported so you can switch to those without any regret.

@github-actions
Copy link

github-actions bot commented Aug 8, 2022

Wonderful, you have created your first issue for clean-jsdoc-theme. Someone will talk to you soon!

@ankitskvmdam
Copy link
Owner

ankitskvmdam commented Aug 8, 2022

Hi @erikyo, Thanks for the feature request. I guess it won't be difficult to implement, and I also believe it would be a great addition. But it will take some time to implement.

For the time being, if you want to change the colour or margin of any element you can do this by creating a new CSS file and including it using Add style path. Of course, finding the class name to override would be a very tedious process.

I will try to work on this feature over the weekends.

@erikyo
Copy link
Author

erikyo commented Aug 8, 2022

no rush (I've already fixed it), thanks again!

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

2 participants