Open abinashmohanty opened 7 years ago
Have you included the your CSS on the page where you're displaying the styleguide?
The Style guide generator does not include the CSS by default. And this is by design and what differs this styl eguide generator from others
As the README says:
The style guide simply contains HTML markup exemplifying how to use your css rules. That means that the generated html file will not do any good on it's own. Instead the intended use is to upload the generated HTML to your site where it will inherit your site's css. This also means that if you change your css - the look of the styleguide will change aswell. This way the styleguide will always tell the truth.
If you're using a CMS(-like system), this usually means that you create an article somewhere only accessible by developers and paste the content of the generated html file into that article (usually you'll have a source mode in your article editor).
Hello,
First of all thank you so much for creating this beautiful style guide. I've followed your guidelines and created my own theme. However, I'm facing this issue with the CSS. Within a style guide comment, you have mentioned the css goes after
*/
. Being said that I've implemented the following css code after the close css comment, but thestyleguide
doesn't reflect its css.This is how it renders without CSS
when I add the following css like this...
Please let me know how to fix this! Thanks a ton.