-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
bug: Apply on badge-outline not working #3617
Comments
Thank you @0xtlt
for reporting issues. It helps daisyUI a lot 💚
|
I'd say this is an unfortunate case of "working as intended" due to current TailwindCSS limitations This issue has been discussed before here: #3535 (comment) Basically, the reason this happens is those modifier classes ( .badge{
&.badge-outline {
/* style */
}
} So Maybe one way to solve this is for DaisyUI to expose these modifier classes as utility classes that does nothing. That would make it appear in Intellisense, and make |
As @bhuynhdev said.
I'm working on exposing the nested class names to make them show up in Intellisense… Let me know if you have a question. |
Reproduction URL (Required)
https://play.tailwindcss.com/2Ob1WJUIAx?file=css
What version of daisyUI are you using?
v5.0.0
Which browsers are you seeing the problem on?
Firefox, Chrome
Describe your issue
Hi!
When I'm applying a badge utility and badge-sm etc... in my css file, everything's working properly, but when I add in my
@apply
:badge-outline
Tailwind logs:
Cannot apply unknown utility class: badge-outline
What did I miss?
The text was updated successfully, but these errors were encountered: