garygreen / tsg

Tailwind Style Guide - Generate your own personalized style guide for your tailwind configs.
77 stars 6 forks source link

Having trouble using this #1

Open timkindberg opened 6 years ago

timkindberg commented 6 years ago

So I have a ~/projects/foo where I currently have my tailwind.config.js and my exported styles.css built from tailwind.

I cloned this project to ~/projects/tsg and inside the folder I ran node index ../foo/tailwind.config.js ../foo/styles.css and I'm not sure what happened... does it export some files? I don't see any extra files generated. What is supposed to happen?

stursby commented 6 years ago

Yea, same here. I followed your instructions in the README and not getting any output (tailwind-generated.css) file. What are we missing? Thanks for the awesome project BTW! 🙌🏻

davidohlin commented 6 years ago

@timkindberg @stursby Maybe you figured it out, but the documentation is off here. The correct command is node index build <config> <generated css>. In your case Tim, it's node index build ../foo/tailwind.config.js ../foo/styles.css.

I opened a pull request to fix the documentation. 😸

kristiansp commented 5 years ago

I must also be doing something wrong … I get it to it parse my config file, and when opening the HTML, it shows the right configurations, and values in the lables, it's just doesn't apply the actual styles. Meaning, for all the colors, there is just a white rectangle, with the color hex value correctly printed below.

How do I get it to actually apply the styles?