-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/clibug/1-hard-to-reproduceA reproduction is available, but it's hard to reproduce, so it has a lower priority.A reproduction is available, but it's hard to reproduce, so it has a lower priority.bug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-vitekind/bug 🐞
Description
What happened?
When integrating Tailwind CSS v4 into a Quasar v2+ SPA, Quasar’s core component styles always win over my Tailwind utilities. For example:
<q-card class="bg-red-900">
<!-- … -->
</q-card>renders with a white background because Quasar ships:
.q-card {
background: white;
}I don’t want to sprinkle !important or add custom selectors throughout a large project.
What did you expect to happen?
The bg-red-900 utility should apply a red background to without using !important.
Reproduction URL
https://stackblitz.com/~/github.com/devfawzey/quasar_tailwindcssv4
Platforms/Browsers
Chrome
timbze, CharliePlett, lajxw, evnchn, Kovszasz and 1 moreyaoyylm
Metadata
Metadata
Assignees
Labels
Qv2 🔝Quasar v2 issuesQuasar v2 issuesarea/clibug/1-hard-to-reproduceA reproduction is available, but it's hard to reproduce, so it has a lower priority.A reproduction is available, but it's hard to reproduce, so it has a lower priority.bug/1-repro-availableA reproduction is available and needs to be confirmed.A reproduction is available and needs to be confirmed.flavour/quasar-cli-vitekind/bug 🐞