saadeghi/daisyui

bug: Tailwind plugin causes build failures for next@canary

ctjlewis opened this issue · 2 comments

What version of daisyUI are you using?

latest

Which browsers are you seeing the problem on?

No response

Reproduction URL


Describe your issue

Just a heads up, on next@canary, try to build a project with plugins: [daisyui] in tailwind.config.ts:

Parsing css source code failed
  2298 | @media (hover:hover) {
  2299 |
> 2300 |   .table .\*\:hover > *tr:hover,
       |                         ^
  2301 |   .table .\*\:hover > *tr:nth-child(even):hover {
  2302 |     --tw-bg-opacity: 1;
  2303 |     background-color: var(--fallback-b2,oklch(var(--b2)/var(--tw-bg-opacity)));

Unexpected token Ident("tr") at [project]/app/global.css:2299:24

This may be their bug.

Thank you @ctjlewis 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.

Actually, this is just an issue with next dev --turbo. Not your bug.