I am currently navigating through theming in Angular Material and feeling a bit disoriented. I have implemented the prebuilt indigo-pink theme by importing it into my styles.scss as shown below:
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
Following the documentation, I created a new file named theme.scss and included it in the angular.json after styles.scss. Here is how my theme.scss looks:
@import '~@angular/material/theming';
@include mat-core();
$sg-app-primary: mat-palette($mat-indigo);
$sg-app-accent: mat-palette($mat-pink, A200, A100, A400);
$sg-app-theme: mat-light-theme($sg-app-primary, $sg-app-accent);
@include angular-material-theme($sg-app-theme);
My Objective All I want to do is change the default font color to white instead of black everywhere. I do not intend to modify anything else. I simply copied the primary and accent palette from the example, so I also feel they might not need any alterations.