Page 1 of 1

Basic Install

Posted: 17 Apr 2019, 01:33
by WallaceSociety
I just purchased this but am having issues installing it. None of the elements are styled. It seems like the theme stylesheet isn't complete for example the layout-green.css is missing the .ui-inputtext class that styles all my text inputs.

This is what I have done:

Unzipped archive copied everything (except demo) from the barcelona-ng-7.0.0/src/assets folder into my-project/src/assets
Edited my angular.json file with the following:
"styles": [
"node_modules/primeicons/primeicons.css",
"node_modules/primeng/resources/primeng.min.css",
"src/assets/layout/css/layout-green.css",
"src/styles.scss"
],

If I change the layout-green.css line to "node_modules/primeng/resources/themes/nova-light/theme.css" it works, but not with the them I just bought.

Please help!

Re: Basic Install

Posted: 26 Apr 2019, 08:51
by merve7
Hi,
Layout files are needed for the layout color for example; topbar color. You need to add theme stylesheet file for input and other components. You can see theme files in src/assets/theme/theme-*.scss