primefaces / primevue-sass-theme

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

Colors and !default #20

Closed timyourivh closed 10 months ago

timyourivh commented 10 months ago

The $colors lists do not have a !default tag in most (if not all) themes which makes it impossible to change the colors without copying the whole variables file and base theme.

It would be great if this tag is added so it can be modified like every other variable in the variables file.

Example:

https://github.com/primefaces/primevue-sass-theme/blob/49b6c05472de06175f98eba483c9f9aa92ff5867/themes/material/material-dark/_variables.scss#L1-L14

Proposed changes:

     "red": #F44336,
     "primary": $primaryColor
-);
+) !default;