Skip to content

Incompatibility between Tailwind v4 and DaisyUI in Astro Project #13200

@arthurgubaidullin

Description

@arthurgubaidullin

Astro Info

Astro                    v5.2.5
Node                     v22.12.0
System                   Linux (arm64)
Package Manager          npm
Output                   server
Adapter                  @astrojs/cloudflare
Integrations             none

Clipboard command not found!
Please manually copy the text above.

If this issue only occurs in one browser, which browser is a problem?

Any

Describe the Bug

After updating TailwindCSS to version 4 in the Astro project, DaisyUI no longer functions as expected. Component styling and utility classes provided by DaisyUI are either missing or incorrectly applied, breaking the UI.

What's the expected result?

I expect the update to not break anything.

Link to Minimal Reproducible Example

None

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions