- Issue created by @osama nuserat
- Issue was unassigned.
- Status changed to Needs review
6 months ago 2:58pm 5 June 2024 tailwind jit styles was added as a last element in the head section so we couldnt do general styles for the h2 , h3 ..etc it was always taking the inherent style for them so we had to add it first element inside the head so our styles files comes next and override the jit styles file
- 🇦🇹Austria hudri Austria
This is by design. Tailwind JIT is operating on theme level, so it always should load last, after any CSS from parent themes or modules.
To solve your problem, use the
@layer base { ... }
directive from Tailwind, which orders your CSS styles.Or, if you don't want Tailwind's base styles at all, better do not include it in the Tailwind CSS input file:
@tailwind base; // <<< remove this line @tailwind components; @tailwind utilities;
- Status changed to Closed: won't fix
6 months ago 7:30am 6 June 2024