Skip to content

bug: Possibly-invalid CSS in daisyui? #4313

@lukehutch

Description

@lukehutch

Reproduction URL (Required)

Will give source code below

What version of daisyUI are you using?

v5.5.5

Which browsers are you seeing the problem on?

Chrome

Describe your issue

I am using DaisyUI with tailwind 4.1.17, using simply @plugin "daisyui";.

This causes the produced styles.css to include three errors, at least according to the VS Code CSS parser:

Image

The errors are, in order:

  • ) expectedcss(css-rparentexpected)
  • { expectedcss(css-lcurlyexpected)
  • at-rule or selector expectedcss(css-ruleorselectorexpected)

I don't know enough about CSS to know whether the issue is with DaisyUI or with VS Code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions