This repository has been archived by the owner on Aug 13, 2023. It is now read-only.
Add a background colour prop to psammead-section-label #3263
Labels
ws-home
Tasks for the WS Home Team
Is your feature request related to a problem? Please describe.
Currently, the
psammead-section-label
component has a background colour ofC_GHOST
on theHeading
. This presents a problem for front page sections that do not haveC_GHOST
as a background colour (an example of this is the RadioSchedules, which will have a background colour ofC_LUNAR
as specified in bbc/simorgh#5745)Describe the solution you'd like
Add a background colour prop to
psammead-section-label
that defaults toC_GHOST
to make it possible to change the section label's background colour as neededDescribe alternatives you've considered
N/A
Testing notes
[Tester to complete]
Dev insight: Will there be any potential regression? etc
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: