[wp-trac] [WordPress Trac] #49787: Twenty Nineteen: Highlight text color isn't reflected in the editor

WordPress Trac noreply at wordpress.org
Mon May 27 12:57:38 UTC 2024


#49787: Twenty Nineteen: Highlight text color isn't reflected in the editor
-------------------------------------+-----------------------------
 Reporter:  karmatosed               |       Owner:  poena
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:  css
-------------------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:  needs-testing has-patch needs-refresh => needs-testing has-
               patch


Comment:

 > How do we test "everything else" ?

 Exactly. I asked the question because I do not know what else might become
 a problem. If only two items need to specify the element/block, the CSS
 would not look as clean as one selector, but two probably is not
 excessive:
 {{{
 mark.has-primary-color,
 .wp-calendar-table.has-primary-color {
     color: #0073A8;
 }
 }}}

 > fallback for older versions

 If colors are changed to custom properties in //existing// rulesets,
 fallback would be necessary (and that change might not be the best
 option). However, if the custom properties are only used to support colors
 in ways that have never worked with the theme, making those work in the
 latest version of WordPress would be a success.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49787#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list