Page 1 of 1
change default component styles
Posted: 26 Aug 2018, 07:48
by omar dweikat
I have some primereact components with default styles such as the spinner, but I want to change stuff like the spinner's button colors, also how can I change a dropdownlist's placeholder styling. Thank you in advance
Re: change default component styles
Posted: 27 Aug 2018, 12:02
by cagatay.civici
What is your version?
Re: change default component styles
Posted: 29 Dec 2018, 10:58
by omar dweikat
old versions were hard, doing this required changing the original styling of the component, such as using the class p-placeholder and such, now it is simply using the className attribute on the component and styling as you wish, peace
Re: change default component styles
Posted: 10 Jan 2019, 12:14
by cagatay.civici
Yes, new styling of 2.0+ has really improved things along with the Designer;
https://www.primefaces.org/primereact/#/theming