clean-jsdoc-theme icon indicating copy to clipboard operation
clean-jsdoc-theme copied to clipboard

💡 CSS custom props

Open erikyo opened this issue 3 years ago • 3 comments

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.

erikyo avatar Aug 08 '22 11:08 erikyo

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

github-actions[bot] avatar Aug 08 '22 11:08 github-actions[bot]

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.

ankitskvmdam avatar Aug 08 '22 11:08 ankitskvmdam

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

erikyo avatar Aug 08 '22 11:08 erikyo