File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
src/material/core/theming/tests Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -79,26 +79,6 @@ describe('theming api', () => {
7979 expectNoWarning ( / T h e s a m e c o l o r s t y l e s a r e g e n e r a t e d m u l t i p l e t i m e s / ) ;
8080 } ) ;
8181
82- it ( 'should be possible to modify color configuration directly' , ( ) => {
83- const result = transpile ( `
84- $theme: mat.m2-define-light-theme((
85- color: (
86- primary: mat.m2-define-palette(mat.$m2-red-palette),
87- accent: mat.m2-define-palette(mat.$m2-blue-palette),
88- )
89- ));
90-
91- // Updates the "icon" foreground color to hotpink.
92- $color: map-get($theme, color);
93- $theme: map-merge($color,
94- (foreground: map-merge(map-get($color, foreground), (icon: hotpink))));
95-
96- @include mat.all-component-themes($theme);
97- ` ) ;
98-
99- expect ( result ) . toContain ( ': hotpink' ) ;
100- } ) ;
101-
10282 it ( 'should warn if default density styles are duplicated' , ( ) => {
10383 spyOn ( process . stderr , 'write' ) ;
10484
You can’t perform that action at this time.
0 commit comments