File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2513,7 +2513,16 @@ const cardHeadlineTextLight: PaletteFunction = () => sourcePalette.neutral[7];
2513
2513
2514
2514
const cardTextDark : PaletteFunction = ( ) => sourcePalette . neutral [ 86 ] ;
2515
2515
2516
- const cardTrailTextLight : PaletteFunction = ( ) => sourcePalette . neutral [ 46 ] ;
2516
+ const cardTrailTextLight : PaletteFunction = ( format ) => {
2517
+ switch ( format . design ) {
2518
+ case ArticleDesign . Audio :
2519
+ case ArticleDesign . Video :
2520
+ case ArticleDesign . Gallery :
2521
+ return sourcePalette . neutral [ 38 ] ;
2522
+ default :
2523
+ return sourcePalette . neutral [ 46 ] ;
2524
+ }
2525
+ } ;
2517
2526
const cardTrailTextDark : PaletteFunction = ( ) => sourcePalette . neutral [ 73 ] ;
2518
2527
2519
2528
const liveKickerBackgroundLight : PaletteFunction = ( format ) => {
You can’t perform that action at this time.
0 commit comments