Should custom theme from theme designer should also upgraded when upgrading primereact version

UI Components for React
Post Reply
Sharmilla
Posts: 12
Joined: 01 Aug 2019, 12:09

27 Dec 2021, 13:20

If the application is build with primereact v6.0 and uses a theme designed from theme designer, if the primereact version is upgraded to v7.0 can the same theme used again?

If there are multiple components using same primereact component and needs different style which way is recommended? Overriding the style?

Eg: Changing the toggle icon of the tree component from "\e901" to "\e905" in one of the component. Is the below example a recommended way?

.pi-chevron-right::before {
content: '\e905' !important;
}

mcandu
Posts: 107
Joined: 20 Jan 2021, 16:31

05 Jan 2022, 13:55

1. if you're gonna upgrade designer 7 , we recommend you to upgrade PrimeReact version 7 too.
2.There is no problem to overwrite styles for each different component that uses same PrimeReact components.
3. It's ok to change that.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests