You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new DaisyUI so I might be doing something wrong here. But looking at the source code, I think I have found the culprit. When using Tailwind's @apply does not work.
a {
@apply tooltip-primary tooltip tooltip-right;
}
It has no background. Looking at the code, I noticed that colors is implemented as .tooltip.tooltip-primary { ... } which means that they only works with classes on DOM.
Is this to be expected? I have searched through all issues and didn't find anything.
The reason I am using @apply is because 1000+ nodes which adding each class seems repetitive.
What browsers are you seeing the problem on?
Chrome
Reproduction URL
No response
The text was updated successfully, but these errors were encountered:
What version of daisyUI are you using?
3.7.7
Describe your issue
I am new DaisyUI so I might be doing something wrong here. But looking at the source code, I think I have found the culprit. When using Tailwind's
@apply
does not work.Here is an example:
works
But using a class
It has no background. Looking at the code, I noticed that colors is implemented as
.tooltip.tooltip-primary { ... }
which means that they only works with classes on DOM.Is this to be expected? I have searched through all issues and didn't find anything.
The reason I am using
@apply
is because 1000+ nodes which adding each class seems repetitive.What browsers are you seeing the problem on?
Chrome
Reproduction URL
No response
The text was updated successfully, but these errors were encountered: