Stackblitz's previous versions included a styles.css
file where we could simply import prebuilt themes like this:
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
However, in the latest version of Stackblitz which utilizes global_styles.css
, this method causes errors.
Learn more at: https://stackblitz.com/edit/stackblitz-starters-od474b?file=src%2Fmain.ts,src%2Fglobal_styles.css
Seeking guidance on importing themes in Stackblitz with Angular 17. What steps should be taken?