[wp-trac] [WordPress Trac] #58608: Twenty Twenty-One: Text color is not reflected when having background color

WordPress Trac noreply at wordpress.org
Fri Jun 23 11:15:47 UTC 2023


#58608: Twenty Twenty-One: Text color is not reflected when having background color
---------------------------+-----------------------------
 Reporter:  wildworks      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Bundled Theme  |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Originally reported as a Gutenberg issue:
 https://github.com/WordPress/gutenberg/issues/51828

 In #52129, there was a problem with text being obscured in dark mode. The
 approach taken to solve this was to override the text color with
 `var(--table--has-background-text-color)` variable if it had a background
 color.
 Later, however, the table block now supports text color and can be set to
 any text color.
 The text color changed by block support i[[Image()]]s not applied because
 it is overwritten by the color of the `var(--table--has-background-text-
 color)` variable mentioned above.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58608>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list