saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.2k stars 1.31k forks source link

bug: Tailwind plugin causes build failures for next@canary #2930

Closed ctjlewis closed 8 months ago

ctjlewis commented 8 months ago

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.

github-actions[bot] commented 8 months ago

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.

ctjlewis commented 8 months ago

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