File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/material/schematics/ng-generate/theme-color Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,7 @@ html {
10911091
10921092 /* Tertiary palette variables */
10931093 --mat-sys-tertiary: light-dark(#4d1f00, #ffece4);
1094- --mat-sys-on-tertiary: light-dark(#4d1f00 , #ffece4 );
1094+ --mat-sys-on-tertiary: light-dark(#ffffff , #000000 );
10951095 --mat-sys-tertiary-container: light-dark(#7a3500, #ffb184);
10961096 --mat-sys-on-tertiary-container: light-dark(#ffffff, #190600);
10971097 --mat-sys-tertiary-fixed: light-dark(#7a3500, #ffdbc9);
Original file line number Diff line number Diff line change @@ -531,8 +531,8 @@ function getColorSysVariablesCSS(
531531 css += createLightDarkVar (
532532 leftSpacing ,
533533 'on-tertiary' ,
534- isHighContrast ? lightScheme . tertiary : lightScheme . tertiaryPalette . tone ( 100 ) ,
535- isHighContrast ? darkScheme . tertiary : darkScheme . tertiaryPalette . tone ( 20 ) ,
534+ isHighContrast ? lightScheme . onTertiary : lightScheme . tertiaryPalette . tone ( 100 ) ,
535+ isHighContrast ? darkScheme . onTertiary : darkScheme . tertiaryPalette . tone ( 20 ) ,
536536 ) ;
537537 css += createLightDarkVar (
538538 leftSpacing ,
You can’t perform that action at this time.
0 commit comments