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

Arbitrary variants doesn't work #2274

Closed
mirismaili opened this issue Aug 21, 2023 · 1 comment
Closed

Arbitrary variants doesn't work #2274

mirismaili opened this issue Aug 21, 2023 · 1 comment

Comments

@mirismaili
Copy link

mirismaili commented Aug 21, 2023

What version of daisyUI are you using?

v3.5.1

Describe your issue

According to my tests, arbitrary variants doesn't work for daisyui classes. This is an example:

<label className="swap-rotate swap [@media(prefers-color-scheme:dark)]:swap-active [@media(prefers-color-scheme:dark)]:bg-red-600">

And as you can see:
image
[@media(prefers-color-scheme:dark)]:bg-red-600" works, but [@media(prefers-color-scheme:dark)]:swap-active doesn't work.

What browsers are you seeing the problem on?

Chrome Version 115.0.5790.171 (Official Build) (64-bit)

Reproduction URL

No response

@saadeghi
Copy link
Owner

Fixed in 3.6.2

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

No branches or pull requests

2 participants