[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 09:33:37 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 needs-       |     Focuses:  css
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by poena):

 By the way, since WordPress 6.5, WordPress outputs the registered colors
 as variables also for classic themes:

 {{{
     --wp--preset--color--primary: #0073a8;
     --wp--preset--color--secondary: #005075;
     --wp--preset--color--dark-gray: #111;
     --wp--preset--color--light-gray: #767676;

 }}}
 How can we take advantage of that (with a fallback for older versions)?

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


More information about the wp-trac mailing list