[wp-trac] [WordPress Trac] #50120: [Multiple Bundled Themes] Custom color palette styles need to be added to the editor stylesheet

WordPress Trac noreply at wordpress.org
Sat Jun 5 17:36:50 UTC 2021


#50120: [Multiple Bundled Themes] Custom color palette styles need to be added to
the editor stylesheet
--------------------------------------------------+-----------------------
 Reporter:  kjellr                                |       Owner:  notlaura
     Type:  defect (bug)                          |      Status:  assigned
 Priority:  normal                                |   Milestone:  5.8
Component:  Bundled Theme                         |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  reporter-feedback dev-feedback close  |     Focuses:  css
--------------------------------------------------+-----------------------

Comment (by sabernhardt):

 Testing Twenty Twenty 1.7 with WordPress 5.7 and Gutenberg 10.7.2:
 - When text and/or background colors are applied to the paragraph block,
 the inline style correctly applies that color in the editor (whether the
 primary color is default or custom).
 - If one of the theme's standard colors is applied to text within a
 paragraph block, that also is correct.
 - When the primary color is custom, though, inline text given the standard
 Accent color class does not match the front end. Because it's only the one
 color that doesn't match, I made a simpler patch for consideration.

 Custom theme colors could be outside the scope of this ticket, so I would
 accept closing as fixed on 5.5 with changeset:48459 if that patch is not
 desirable. Then if any changes are necessary for Twenty Nineteen, those
 can be part of #49787.

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


More information about the wp-trac mailing list