Open modava opened 4 months ago
In v17 (or some late v16.x) PrimeNG started to use CSS layers.
The styles from your theme-blue.css
don't use CSS layers.
Styles without a layer have always higher specificity than styles with layers.
You could add your theme-blue.css
to the primeng layer. Maybe that's the easiest solution.
https://primeng.org/guides/csslayer https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Cascade_layers https://www.youtube.com/watch?v=EPRUy0lvgBA
Describe the bug
I have updated Primeng v16 to v17 but ../node_modules/primeng/resources/primeng.min.css do not receive priority.![Screenshot 2024-03-02 at 22 56 04](https://github.com/primefaces/primeng/assets/23411943/17720d58-75c3-4cb4-be83-cc79baa54f5b)
------index.html------------------
-----styles.scss..........................
Environment
/
Reproducer
No response
Angular version
17
PrimeNG version
17
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.10.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
/