change default component styles
-
- Posts: 5
- Joined: 26 Aug 2018, 07:31
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
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What is your version?
-
- Posts: 5
- Joined: 26 Aug 2018, 07:31
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
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Yes, new styling of 2.0+ has really improved things along with the Designer;
https://www.primefaces.org/primereact/#/theming
https://www.primefaces.org/primereact/#/theming
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests