Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#48726 new defect (bug)

Twenty Twenty: Wrong Text Color for Background Color & Subtle Background when used as background color for blocks

Reported by: collet's profile collet Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: needs-testing
Focuses: css Cc:

Description (last modified by sabernhardt)

To reproduce the issue:

  • In the customizer inside the Colors panel set the Background Color to #000, it will generate a white text color
  • In the editor, insert a block that supports background color (e.g. Paragraph) and select Background Color or Subtle Background as the background color using the color palette.

The text color is black instead of white, which makes the text unreadable.

The issue (front-end and editor) is caused by the CSS (which set the text to black) at the following lines:

Change History (2)

#1 @ianbelanger
4 years ago

  • Keywords needs-testing added

#2 @sabernhardt
3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.