Skip to content
Discussion options

You must be logged in to vote

Your reading is right: switching the app to unstyled: true will not keep the Lara look.

PrimeNG's unstyled mode deliberately removes the theme CSS variables and component rule sets. The built-in presets, including Lara-style presets, belong to the styled theming path. So there is no built-in switch that says "unstyled, but keep Lara for now."

For a gradual migration, I would keep the app in styled mode first and opt individual components into unstyled mode with the per-component unstyled input while you add replacement CSS for those components. Once enough of the surface is covered, flip the global setting. If you need the Lara appearance during the transition, use the Lara preset as a vi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mariovyord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants