Please insert below code into your styles.css which is located in your src folder.
@import "../node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css";
You can select any css under the prebuilt-themes folder.
More Related Contents:
- Angular 2/4 component with dynamic template or templateUrl
- What is the proper use of an EventEmitter?
- Could not find module “@angular-devkit/build-angular”
- Angular how to get the multiple checkbox values?
- How to add font-awesome to Angular 2 + CLI project
- No ‘Access-Control-Allow-Origin’ header in Angular 2 app
- *ngIf and local template variables
- ng: command not found while creating new project using angular-cli
- What is the difference between production and development mode in Angular2?
- Angular4 Exception: Can’t bind to ‘ngClass’ since it isn’t a known property of ‘input’
- No provider for AngularFireDatabase, AngularFireAuth
- To enable or disable the input field based on the value of select component in angular
- Is there a way to remove unused imports and declarations from Angular 2+? [closed]
- Filtering specific column in Angular Material table in angular 5 [duplicate]
- TS2531: Object is possibly ‘null’
- Custom ExceptionHandler change detection lag
- ng2 – dynamically creating a component based on a template
- angular-i18n work-around for translations in code?
- Get access to FormControl from the custom form component in Angular
- How do I navigate to a sibling route?
- Trigger update of component view from service – No Provider for ChangeDetectorRef
- TypeError: You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable
- Mocking Child Components – Angular 2
- What is the meaning of question mark in expressions in Angular 2?
- How to solve the circular dependency
- tap() isn’t triggered in RXJS Pipe
- What is the lifecycle of a service in Angular 5
- Angular load external configuration before AppModule loads
- Firestore Error: The query requires an index
- Do we need to unsubscribe from observable that completes/errors-out?