Skip to content

Commit

Permalink
Merge pull request #512 from guardian/mz-fix-highlight-bg-text
Browse files Browse the repository at this point in the history
Fix banner design labels for highlighted text and background colours
  • Loading branch information
MaelGNM authored Oct 12, 2023
2 parents a6f4901 + 54ade2b commit 254d8fc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const HighlightedTextColoursEditor: React.FC<Props> = ({
<ColourInput
colour={colours.text}
name="colours.highlightedText.text"
label="Background Colour"
label="Text Colour"
isDisabled={isDisabled}
onChange={colour => onChange({ ...colours, text: colour })}
onValidationChange={onValidationChange}
Expand All @@ -42,7 +42,7 @@ export const HighlightedTextColoursEditor: React.FC<Props> = ({
<ColourInput
colour={colours.highlight}
name="colours.highlightedText.highlight"
label="Body Text Colour"
label="Background Colour"
isDisabled={isDisabled}
onChange={colour => onChange({ ...colours, highlight: colour })}
onValidationChange={onValidationChange}
Expand Down

0 comments on commit 254d8fc

Please sign in to comment.