-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Tailwind color codes are incompatible #2155
Comments
okay, using |
Hi! Thank you for this report. This is actually a missing feature of tinycss2 (Kozea/tinycss2#47), and a duplicate of #1630. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all!, thanks for weasyprint ❤️
So, I'm using weasyprint v62.1 with Tailwind 3.4.1, and the issue that I'm having is that all the color codes Tailwind generates seem to be incompatible.
First I thought it was #1998 but it turns out the problem seems to be different.
Tailwind takes e.g.
bg-red-500
and turns it into this:which does not render. I can however force Tailwind to put
/ 1
by usingbg-red-500/100
, which gives me:Both don't work.
The problem seems to be the format. If I manually put:
it works.
(I'm gonna see if I can tell tailwind to use the other format.)
Thank you!
The text was updated successfully, but these errors were encountered: