@@ -143,14 +143,27 @@ const invertedFontLineHeight = css`
143
143
}
144
144
` ;
145
145
146
- const labsFont = css `
147
- ${ textSansBold28 } ;
148
- line-height: 2rem;
149
- ${ from . tablet } {
150
- ${ textSansBold34 } ;
151
- line-height: 2.375rem;
146
+ const labsFont = ( design : ArticleDesign ) => {
147
+ if ( design === ArticleDesign . Gallery ) {
148
+ return css `
149
+ ${ textSansBold34 } ;
150
+ line-height: 2.1875rem;
151
+ ${ from . desktop } {
152
+ ${ textSansBold34 } ;
153
+ font- size: 50px;
154
+ line-height: 3.125rem;
155
+ }
156
+ ` ;
152
157
}
153
- ` ;
158
+ return css `
159
+ ${ textSansBold28 } ;
160
+ line-height: 2rem;
161
+ ${ from . tablet } {
162
+ ${ textSansBold34 } ;
163
+ line-height: 2.375rem;
164
+ }
165
+ ` ;
166
+ } ;
154
167
155
168
const jumboLabsFont = css `
156
169
${ textSansBold34 } ;
@@ -426,7 +439,7 @@ export const ArticleHeadline = ({
426
439
< h1
427
440
css = { [
428
441
format . theme === ArticleSpecial . Labs
429
- ? labsFont
442
+ ? labsFont ( format . design )
430
443
: headlineFont ( format ) ,
431
444
invertedText ,
432
445
css `
@@ -508,7 +521,7 @@ export const ArticleHeadline = ({
508
521
< h1
509
522
css = { [
510
523
format . theme === ArticleSpecial . Labs
511
- ? labsFont
524
+ ? labsFont ( format . design )
512
525
: headlineFont ( format ) ,
513
526
topPadding ,
514
527
css `
@@ -549,7 +562,7 @@ export const ArticleHeadline = ({
549
562
< h1
550
563
css = { [
551
564
format . theme === ArticleSpecial . Labs
552
- ? labsFont
565
+ ? labsFont ( format . design )
553
566
: headlineFont ( format ) ,
554
567
topPadding ,
555
568
css `
@@ -584,7 +597,7 @@ export const ArticleHeadline = ({
584
597
< h1
585
598
css = { [
586
599
format . theme === ArticleSpecial . Labs
587
- ? labsFont
600
+ ? labsFont ( format . design )
588
601
: headlineFont ( format ) ,
589
602
topPadding ,
590
603
css `
@@ -626,7 +639,7 @@ export const ArticleHeadline = ({
626
639
< h1
627
640
css = { [
628
641
format . theme === ArticleSpecial . Labs
629
- ? labsFont
642
+ ? labsFont ( format . design )
630
643
: headlineFont ( format ) ,
631
644
topPadding ,
632
645
css `
@@ -667,7 +680,7 @@ export const ArticleHeadline = ({
667
680
< h1
668
681
css = { [
669
682
format . theme === ArticleSpecial . Labs
670
- ? labsFont
683
+ ? labsFont ( format . design )
671
684
: headlineFont ( format ) ,
672
685
invertedWrapper ,
673
686
invertedFontLineHeight ,
@@ -718,7 +731,7 @@ export const ArticleHeadline = ({
718
731
< h1
719
732
css = { [
720
733
format . theme === ArticleSpecial . Labs
721
- ? labsFont
734
+ ? labsFont ( format . design )
722
735
: headlineFont ( format ) ,
723
736
topPadding ,
724
737
css `
@@ -760,7 +773,7 @@ export const ArticleHeadline = ({
760
773
< h1
761
774
css = { [
762
775
format . theme === ArticleSpecial . Labs
763
- ? labsFont
776
+ ? labsFont ( format . design )
764
777
: headlineFont ( format ) ,
765
778
css `
766
779
color : ${ isMatch
@@ -805,7 +818,7 @@ export const ArticleHeadline = ({
805
818
}
806
819
css = { [
807
820
format . theme === ArticleSpecial . Labs
808
- ? labsFont
821
+ ? labsFont ( format . design )
809
822
: headlineFont ( format ) ,
810
823
topPadding ,
811
824
css `
@@ -832,7 +845,7 @@ export const ArticleHeadline = ({
832
845
< h1
833
846
css = { [
834
847
format . theme === ArticleSpecial . Labs
835
- ? labsFont
848
+ ? labsFont ( format . design )
836
849
: headlineFont ( format ) ,
837
850
topPadding ,
838
851
css `
@@ -859,7 +872,7 @@ export const ArticleHeadline = ({
859
872
< h1
860
873
css = { [
861
874
format . theme === ArticleSpecial . Labs
862
- ? labsFont
875
+ ? labsFont ( format . design )
863
876
: headlineFont ( format ) ,
864
877
css `
865
878
color : ${ themePalette (
@@ -905,7 +918,7 @@ export const ArticleHeadline = ({
905
918
< h1
906
919
css = { [
907
920
format . theme === ArticleSpecial . Labs
908
- ? labsFont
921
+ ? labsFont ( format . design )
909
922
: headlineFont ( format ) ,
910
923
topPadding ,
911
924
css `
0 commit comments