Skip to content
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

bug: DaisyUI 5 doesn't override @tailwindcss/typography style of <code> element, leading to unreadable text. #3245

Open
lts20050703 opened this issue Oct 20, 2024 · 2 comments
Assignees
Labels

Comments

@lts20050703
Copy link

What version of daisyUI are you using?

5.0.0-alpha.22

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://play.tailwindcss.com/FqTUMQGoCx

Describe your issue

DaisyUI 5: https://play.tailwindcss.com/FqTUMQGoCx

image

DaisyUI 4: https://play.tailwindcss.com/qWVj5jI7uw

image

Copy link

Thank you @lts20050703 for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@lts20050703 lts20050703 changed the title bug: DaisyUI 5 doesn't override @tailwindcss/typography style of <code> element, leading to unreadable text in. bug: DaisyUI 5 doesn't override @tailwindcss/typography style of <code> element, leading to unreadable text. Oct 20, 2024
@saadeghi saadeghi self-assigned this Oct 20, 2024
@saadeghi saadeghi added the v5 label Oct 31, 2024
@lts20050703
Copy link
Author

lts20050703 commented Dec 20, 2024

image

Just check DaisyUI 5 alpha 51, the text is now readable, but unlike DaisyUI 4, DaisyUI 5 doesn't override @tailwindcss/typography backticks (`this`) styles with DaisyUI's own style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants