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...
Which template should be used inside angular.json
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
You should use the themes provided by Morpheus so one way is adding it to the styles config;
src/assets/theme/theme-*.css
Example;
There are 10 theme choices and you can develop your own with sass variables as well.
src/assets/theme/theme-*.css
Example;
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"
],
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest