We are using Morpheus with the green theme - and the green theme is being loaded in the index file.
which theme should i load in the angular.json file? (if I'm not loading any theme design starts to break), right now I'm using node_modules/primeng/resources/themes/flick/theme.css under the styles array but still, that isn't good enough since some elements don't get the actual classes, for example, danger button is green...
2 posts • Page 1 of 1
You should use the themes provided by Morpheus so one way is adding it to the styles config;
There are 10 theme choices and you can develop your own with sass variables as well.
Code: Select all
"styles": [ "src/assets/theme/theme-green.css", "node_modules/primeng/resources/primeng.min.css", "node_modules/primeicons/primeicons.css", "src/styles.scss" ],
Who is online
Users browsing this forum: No registered users and 0 guests