3
"styles": [
              "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
              "node_modules/bootstrap/dist/css/bootstrap.min.css",
              "src/styles.css",
              "node_modules/primeicons/primeicons.css",  
              "./node_modules/primeng/resources/primeng.min.css",
              "./node_modules/primeng/resources/themes/omega/theme.css" //wont work
            ]

omega/theme.css always shows :-

ERROR in multi ./node_modules/@angular/material/prebuilt-themes/indigo-pink.css ./node_modules/bootstrap/dist/css/bootstrap.min.css ./src/styles.css ./node_modules/primeicons/primeicons.css ./node_modules/primeng/resources/primeng.min.css ./node_modules/primeng/resources/themes/omega/theme.css Module not found: Error: Can't resolve 'path'

I also tried to import this in style.css but no change. No error in any thing else. I also installed:- npm install primeng font-awesome npm install @angular/animations --save

Is priming licensed or not?

Max Vollmer
  • 8,412
  • 9
  • 28
  • 43
Anees Hassan
  • 88
  • 1
  • 7
  • 1
    'Url' issue You can find help here `https://stackoverflow.com/questions/42012329/angular-2-primeng-style-not-working` – Awais Dec 10 '19 at 11:49
  • 1
    That theme is no long a part of the primeng package. They removed it several months ago. – R. Richards Dec 10 '19 at 11:49
  • Does this answer your question? [Angular 2 - PrimeNg style not working](https://stackoverflow.com/questions/42012329/angular-2-primeng-style-not-working) – Awais Dec 10 '19 at 11:50

1 Answers1

7

Omega theme is not available.Because Deprecate all free themes and remove them in PrimeNG 7.0

Introduce a new Nova free theme generated by the PrimeNG Theme Designer to give free themes a premium look, Nova has 3 alternatives;

  • nova-light
  • nova-colored
  • nova-dark

Use above themes.

Pranav MS
  • 2,235
  • 2
  • 23
  • 50