primefaces / primevue-sass-theme

PrimeVue Theming with SASS
https://primevue.org/theming/#customtheme
MIT License
64 stars 36 forks source link

New `@layer` implementation #24

Closed tugcekucukoglu closed 9 months ago

tugcekucukoglu commented 9 months ago

https://github.com/primefaces/primevue-sass-theme/commit/82bf9cf777f04915e7ec21002ea097df8d6c90d5

loxK commented 9 months ago

This broke some things in my app.

I have a css rule for labels:

label {
    color: $tertiaryColor;
}

This was superseded by this PrimeVue css rule :

.p-float-label > label {
    color: #898989;
}

Now that this rule is in a primevue layer (a feature I didn't know about). How am I supposed to handle that issue ?