@@ -104,7 +104,7 @@ describe('ng-add schematic', () => {
104
104
const workspace = await getWorkspace ( tree ) ;
105
105
const project = getProjectFromWorkspace ( workspace , baseOptions . project ) ;
106
106
107
- expectProjectStyleFile ( project , '@angular/material/prebuilt-themes/indigo-pink .css' ) ;
107
+ expectProjectStyleFile ( project , '@angular/material/prebuilt-themes/azure-blue .css' ) ;
108
108
} ) ;
109
109
110
110
it ( 'should support adding a custom theme' , async ( ) => {
@@ -124,7 +124,8 @@ describe('ng-add schematic', () => {
124
124
const themeContent = buffer ! . toString ( ) ;
125
125
126
126
expect ( themeContent ) . toContain ( `@use '@angular/material' as mat;` ) ;
127
- expect ( themeContent ) . toContain ( `$material-primary: mat.define-palette(` ) ;
127
+ expect ( themeContent ) . toContain ( `@use '@angular/material-experimental' as matx;` ) ;
128
+ expect ( themeContent ) . toContain ( `$material-theme: matx.define-theme((` ) ;
128
129
} ) ;
129
130
130
131
it ( 'should create a custom theme file if no SCSS file could be found' , async ( ) => {
@@ -312,7 +313,7 @@ describe('ng-add schematic', () => {
312
313
313
314
describe ( 'theme files' , ( ) => {
314
315
/** Path to the default prebuilt theme file that will be added when running ng-add. */
315
- const defaultPrebuiltThemePath = '@angular/material/prebuilt-themes/indigo-pink .css' ;
316
+ const defaultPrebuiltThemePath = '@angular/material/prebuilt-themes/azure-blue .css' ;
316
317
317
318
/** Writes a specific style file to the workspace in the given tree */
318
319
function writeStyleFileToWorkspace ( tree : Tree , stylePath : string ) {
@@ -560,7 +561,7 @@ describe('ng-add schematic', () => {
560
561
const workspace = await getWorkspace ( tree ) ;
561
562
const project = getProjectFromWorkspace ( workspace , baseOptions . project ) ;
562
563
563
- expectProjectStyleFile ( project , '@angular/material/prebuilt-themes/indigo-pink .css' ) ;
564
+ expectProjectStyleFile ( project , '@angular/material/prebuilt-themes/azure-blue .css' ) ;
564
565
} ) ;
565
566
566
567
it ( 'should add material app styles' , async ( ) => {
@@ -630,7 +631,7 @@ describe('ng-add schematic', () => {
630
631
const workspace = await getWorkspace ( tree ) ;
631
632
const project = getProjectFromWorkspace ( workspace , baseOptions . project ) ;
632
633
633
- expectProjectStyleFile ( project , '@angular/material/prebuilt-themes/indigo-pink .css' ) ;
634
+ expectProjectStyleFile ( project , '@angular/material/prebuilt-themes/azure-blue .css' ) ;
634
635
} ) ;
635
636
636
637
it ( 'should add material app styles' , async ( ) => {
0 commit comments