Add Dark UI support for Topic Discovery Experience on supported Dark UI page types#14191
Add Dark UI support for Topic Discovery Experience on supported Dark UI page types#14191pvaliani wants to merge 14 commits into
Conversation
…rgh into WS-2980-dark-ui-topic-discovery
It looked darker to me too but from the other example I looked at yday I presumed it was acceptable. Thought it pulled acceptable contrast via the existing theme. Do you perhaps have a different example link I can check against? thanks for flagging! |
I don't but I just used a colour grabber for that screenshot and inputted them into the web aim colour contrast checker, and it fails all WCAG standards https://webaim.org/resources/contrastchecker/?fcolor=255050&bcolor=141414 |
|
The pulse icon was already using the lighter live colour on dark UI, but the live label text was still using the darker live colour. I think i'm gonna update the shared |
|
@HarveyPeachey @LilyL0u updates applied I actually scoped the live label contrast fix to Live promos in curation grids now use |
|
Hia, according to the figma designs the play button on a promo in the topic discovery component should be black with white text, currently it is white with black text |
Sorted in latest update, good spot! Thank you |
Fixed, thanks! Have a wee check pls |




Resolves JIRA: https://bbc.atlassian.net/browse/WS-2980
Summary
Adds dark UI support for Topic Discovery when it appears on pages that already support dark UI in Simorgh
The change keeps the existing dark UI rules unchanged.
Topic Discovery now uses the correct link colours when it is rendered on supported dark UI page types such as media article, TV and live TV pages.
Before darkUI implemented Topic Discovery looked like this:
Code changes
Testing
See Topic Discovery on MAP below as an example

Note: the promo in this image in position 1 is NOT a Live promo, it was forced to show the Live label to demonstrate that colour contrast is adequate and as expected.
Useful Links