File tree 2 files changed +3
-3
lines changed
src/material/schematics/ng-generate/theme-color 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,7 @@ html {
1091
1091
1092
1092
/* Tertiary palette variables */
1093
1093
--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 );
1095
1095
--mat-sys-tertiary-container: light-dark(#7a3500, #ffb184);
1096
1096
--mat-sys-on-tertiary-container: light-dark(#ffffff, #190600);
1097
1097
--mat-sys-tertiary-fixed: light-dark(#7a3500, #ffdbc9);
Original file line number Diff line number Diff line change @@ -531,8 +531,8 @@ function getColorSysVariablesCSS(
531
531
css += createLightDarkVar (
532
532
leftSpacing ,
533
533
'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 ) ,
536
536
) ;
537
537
css += createLightDarkVar (
538
538
leftSpacing ,
You can’t perform that action at this time.
0 commit comments