Angular Material Components Theming System: Complete Guide

Angular Material Components Theming System: Complete Guide

# Setting up the project 1. Let’s first install the Angular CLI: ```bash npm i -g @angular/cli ``` 2. Next, create a new Angular Project with SCSS, no-testing framework and with standalone mode: ```bash ng new my-app --style=scss --defaults --skip-tests --standalone ``` 3. Remove all content from `src\app\app.component.html` 4. Use the Angular CLI's installation [schematic]( to set up your Angular Material project by running the following command: ```bash ng add @angular/material ``` When asked, select below responses: | Question | Response | | ------------------------------------------------------------- | ----------------------------- | | Choose a prebuilt theme name, or "custom" for a custom theme: | Custom | | Set up global Angular Material typography styles? | Yes | | Include the Angular animations module? | Include and enable animations | 5. You're done! Angular Material is now configured to be used in your application.
Support Free Content Creation

Contributions & Support

Even though the courses and articles are available at no cost, your support in my endeavor to deliver top-notch educational content would be highly valued. Your decision to contribute aids me in persistently improving the course, creating additional resources, and maintaining the accessibility of these materials for all. I'm grateful for your consideration to contribute and make a meaningful difference!

Don't miss any update

Stay up to date

Subscribe to the newsletter to stay up to date with articles, courses and much more!

Angular Material Dev

Angular Material Dev is one place stop for developers to learn about integrating Material Design in Angular applications like a pro.

Find us on X (Twitter) and LinkedIn