diff --git a/angular.json b/angular.json index 9fb4c4d..8d6f6c9 100644 --- a/angular.json +++ b/angular.json @@ -28,6 +28,7 @@ ], "styles": [ "src/styles.css", + "src/material.scss", "node_modules/datatables.net-dt/css/jquery.dataTables.css" ], "scripts": [ diff --git a/src/material.scss b/src/material.scss new file mode 100644 index 0000000..50525af --- /dev/null +++ b/src/material.scss @@ -0,0 +1,9 @@ +@import '~@angular/material/theming'; +@include mat-core(); +$my-app-primary: mat-palette($mat-gray, 900); +$my-app-accent: mat-palette($mat-light-green, 700); + +$my-app-theme: mat-light-theme($my-app-primary, $my-app-accent); + +@include angular-material-theme($my-app-theme); + diff --git a/src/styles.css b/src/styles.css index 403d0a9..47fab39 100644 --- a/src/styles.css +++ b/src/styles.css @@ -1,7 +1,4 @@ /* You can add global styles to this file, and also import other style files */ -@import '~@angular/material/prebuilt-themes/indigo-pink.css'; - - @import "assets/common-assets/common/theme.css"; @import "assets/common-assets/common/custom.css"; @import "assets/common-assets/library.css";