guardian / guardian/dotcom-rendering

Align Sublink Headline Colour with Main Headline Colour

Open
#13,009 0 comments 0 reactions 0 assignees View on GitHub
Team Candidate: Fronts and Curation
Dominant language
TypeScript
Stars
274
Forks
34
Avg merge
2d 22h
Merged PRs (30d)
121

Description

We need to make the sublink headline colour match the main headline of the cards colour.
Its currently checking the format if its a gallery, audio or video which is a problem if article in the sublink is not

https://github.com/guardian/dotcom-rendering/blob/9cd5a5017cc9119e8c1427b850bfe79c31c7f1f6/dotcom-rendering/src/paletteDeclarations.ts#L2490

https://github.com/guardian/dotcom-rendering/blob/9cd5a5017cc9119e8c1427b850bfe79c31c7f1f6/dotcom-rendering/src/lib/cardHelpers.ts#L4

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.