WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #48726


Ignore:
Timestamp:
03/23/2021 11:00:37 PM (3 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48726

    • Property Keywords needs-testing added
  • Ticket #48726 – Description

    initial v2  
    11To reproduce the issue:
    22
    3 - In the customizer inside the Colors panel set the Background Color to #000, it will generate a white text color
     3- In the customizer inside the Colors panel set the Background Color to `#000`, it will generate a white text color
    44- 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.
    55
     
    88The issue (front-end and editor) is caused by the CSS (which set the text to black) at the following lines:
    99
    10 https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwenty/style.css#L2730
    11 https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwenty/style.css#L2739
    12 https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwenty/assets/css/editor-style-block.css#L198
    13 https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentytwenty/assets/css/editor-style-block.css#L207
     10- [source:tags/5.3/src/wp-content/themes/twentytwenty/style.css#L2730 style.css line 2730]
     11- [source:tags/5.3/src/wp-content/themes/twentytwenty/style.css#L2739 style.css line 2739]
     12- [source:tags/5.3/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css#L198 editor-style-block.css line 198]
     13- [source:tags/5.3/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css#L207 editor-style-block.css line 207]