loading tailwind full color palette #415
Unanswered
sandeep-gh
asked this question in
Q&A
Replies: 1 comment
-
Justpy comes out of the box with the CDN version of Tailwind. What you can do, is use npm to generate a css file to your liking and then add it to your pages using the css attribute: https://justpy.io/reference/webpage/#css When you do this, don't forget to create your WebPages with tailwind=False or add TAILWIND=False to justpy.env: def request_handler(request):
wp = jp.WebPage(tailwind=False, css=my_css)
.....
return wp |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can I load (prefrebly from justpy) the full color palette? Typically, there is tailwind.config.js that needs to be modified [1]
. But can't seem to find that in justpy codebase.
Can I add the config snippet in loca/templates/tailwind.html?
Beta Was this translation helpful? Give feedback.
All reactions