Skip to content

Commit a734386

Browse files
committed
Fix captionTextLight for Labs Gallery
1 parent 1d70516 commit a734386

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

dotcom-rendering/src/layouts/GalleryLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
164164
contributionsServiceUrl={
165165
frontendData.contributionsServiceUrl
166166
}
167-
showSubNav={false}
167+
showSubNav={!isLabs}
168168
showSlimNav={true}
169169
hasPageSkin={false}
170170
hasPageSkinContentSelfConstrain={false}

dotcom-rendering/src/paletteDeclarations.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2639,7 +2639,12 @@ const captionTextLight: PaletteFunction = ({ design, theme }) => {
26392639
return sourcePalette.neutral[7];
26402640
}
26412641
case ArticleSpecial.Labs:
2642-
return sourcePalette.neutral[20];
2642+
switch (design) {
2643+
case ArticleDesign.Gallery:
2644+
return sourcePalette.neutral[86];
2645+
default:
2646+
return sourcePalette.neutral[20];
2647+
}
26432648
default:
26442649
switch (design) {
26452650
case ArticleDesign.PhotoEssay:

0 commit comments

Comments
 (0)