Primng setup #3684
-
Hello guys, please can anyone help out here. I tried to installing primeng in my version 18 Angular project. Using this gave me a dark themed components. Pleas how do I change it to light theme. <p-select [options]="cities" optionLabel="name" placeholder="Select a City" class="w-full md:w-56" /> This component is showing in a dark form and I don't want that |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Yes, now on primeng without this, options: { darkModeSelector: 'none' } , it will take the System config,
|
Beta Was this translation helpful? Give feedback.
-
I am having the same issue. The suggested article does not address this. Add the following to the providePrimeNG did work for me
|
Beta Was this translation helpful? Give feedback.
-
options: { This worked for me too |
Beta Was this translation helpful? Give feedback.
I am having the same issue. The suggested article does not address this.
Add the following to the providePrimeNG did work for me
options: { darkModeSelector: 'none' }