@@ -3023,12 +3023,12 @@ const articleBackgroundLight: PaletteFunction = ({
3023
3023
case ArticleSpecial . Labs :
3024
3024
switch ( display ) {
3025
3025
case ArticleDisplay . Immersive :
3026
- return 'transparent' ;
3026
+ return sourcePalette . neutral [ 100 ] ;
3027
3027
default :
3028
3028
return sourcePalette . neutral [ 97 ] ;
3029
3029
}
3030
3030
default :
3031
- return 'transparent' ;
3031
+ return sourcePalette . neutral [ 100 ] ;
3032
3032
}
3033
3033
}
3034
3034
} ;
@@ -4210,7 +4210,7 @@ const linkKickerTextDark: PaletteFunction = ({ theme }) => {
4210
4210
const ageWarningWrapperBackground : PaletteFunction = ( format ) => {
4211
4211
switch ( format . design ) {
4212
4212
case ArticleDesign . Interview :
4213
- return articleBackgroundLight ( format ) ;
4213
+ return 'transparent' ;
4214
4214
default :
4215
4215
return headlineBackgroundLight ( format ) ;
4216
4216
}
@@ -5439,58 +5439,6 @@ const pinnedPostBorderDark: PaletteFunction = ({ theme }) => {
5439
5439
} ;
5440
5440
5441
5441
const tagLinkBackground : PaletteFunction = ( ) => sourcePalette . sport [ 800 ] ;
5442
- const tagLinkFillBackground : PaletteFunction = ( { design, display, theme } ) => {
5443
- switch ( design ) {
5444
- case ArticleDesign . LiveBlog :
5445
- case ArticleDesign . DeadBlog :
5446
- return sourcePalette . neutral [ 97 ] ;
5447
- // Order matters. We want comment special report pieces to have the opinion background
5448
- case ArticleDesign . Letter :
5449
- return sourcePalette . opinion [ 800 ] ;
5450
- case ArticleDesign . Comment :
5451
- switch ( theme ) {
5452
- case ArticleSpecial . SpecialReportAlt :
5453
- return sourcePalette . specialReportAlt [ 800 ] ;
5454
- default :
5455
- return sourcePalette . opinion [ 800 ] ;
5456
- }
5457
- case ArticleDesign . Editorial :
5458
- return sourcePalette . opinion [ 800 ] ;
5459
- case ArticleDesign . Analysis :
5460
- switch ( theme ) {
5461
- case ArticleSpecial . SpecialReportAlt :
5462
- return sourcePalette . specialReportAlt [ 800 ] ;
5463
- default :
5464
- return sourcePalette . news [ 800 ] ;
5465
- }
5466
- case ArticleDesign . Picture :
5467
- case ArticleDesign . Audio :
5468
- case ArticleDesign . Video : {
5469
- switch ( theme ) {
5470
- case ArticleSpecial . Labs :
5471
- return sourcePalette . neutral [ 86 ] ;
5472
- default :
5473
- return sourcePalette . neutral [ 0 ] ;
5474
- }
5475
- }
5476
- default :
5477
- switch ( theme ) {
5478
- case ArticleSpecial . SpecialReport :
5479
- return sourcePalette . specialReport [ 800 ] ;
5480
- case ArticleSpecial . SpecialReportAlt :
5481
- return sourcePalette . specialReportAlt [ 800 ] ;
5482
- case ArticleSpecial . Labs :
5483
- switch ( display ) {
5484
- case ArticleDisplay . Immersive :
5485
- return 'transparent' ;
5486
- default :
5487
- return sourcePalette . neutral [ 97 ] ;
5488
- }
5489
- default :
5490
- return sourcePalette . neutral [ 100 ] ;
5491
- }
5492
- }
5493
- } ;
5494
5442
5495
5443
const tagLinkAccent : PaletteFunction = ( ) => sourcePalette . sport [ 400 ] ;
5496
5444
@@ -6702,10 +6650,6 @@ const paletteColours = {
6702
6650
light : tagLinkBackground ,
6703
6651
dark : tagLinkBackground ,
6704
6652
} ,
6705
- '--tag-link-fill-background' : {
6706
- light : tagLinkFillBackground ,
6707
- dark : tagLinkFillBackground ,
6708
- } ,
6709
6653
'--timeline-atom-bullet' : {
6710
6654
light : timelineAtomBulletLight ,
6711
6655
dark : timelineAtomBulletDark ,
0 commit comments