Skip to content

Commit bab468f

Browse files
deedeehmarjisound
authored andcommitted
Fix captionTextLight for Labs Gallery
1 parent df31e72 commit bab468f

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
@@ -187,7 +187,7 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
187187
contributionsServiceUrl={
188188
frontendData.contributionsServiceUrl
189189
}
190-
showSubNav={false}
190+
showSubNav={!isLabs}
191191
showSlimNav={true}
192192
hasPageSkin={false}
193193
hasPageSkinContentSelfConstrain={false}

dotcom-rendering/src/paletteDeclarations.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2672,7 +2672,12 @@ const captionTextLight: PaletteFunction = ({ design, theme }) => {
26722672
return sourcePalette.neutral[7];
26732673
}
26742674
case ArticleSpecial.Labs:
2675-
return sourcePalette.neutral[20];
2675+
switch (design) {
2676+
case ArticleDesign.Gallery:
2677+
return sourcePalette.neutral[86];
2678+
default:
2679+
return sourcePalette.neutral[20];
2680+
}
26762681
default:
26772682
switch (design) {
26782683
case ArticleDesign.PhotoEssay:

0 commit comments

Comments
 (0)