Classes in the @layer 'components' override utility classes #16618
Unanswered
ofreivogel
asked this question in
Help
Replies: 1 comment
-
update: the problem seems to be, that in the final css, the layer "base" gets duplicated (the base from tailwind and my base declaration) and therefor the browsers (tested with safari, firefox and chrome) do not interpret the layer priority declaration |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi dear community

I have an angular 19 project. I have migrated from v3 to v4. In v4 my custom button classes in the component layer have higher priority than the styling in the utility classes in the final build:
When I use the development mode of angular the priority of the styles is correct. Someone has an idea how to fix it?
Here my css:
Beta Was this translation helpful? Give feedback.
All reactions