WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#50120 new defect (bug)

[Multiple Bundled Themes] Custom color palette styles need to be added to the editor stylesheet

Reported by: kjellr Owned by:
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

Recent changes in Gutenberg 7.9 require themes to bundle their custom color styles in the editor. Previously, these styles were only needed on the front end:

https://github.com/WordPress/gutenberg/pull/21428#issuecomment-610874932

If themes do not include their custom colors in the editor styles, the color swatches will have no effect:

https://cldup.com/m5GNXkhznA.png


The following default themes need their custom color palette rules included in their editor styles by the time 7.9 gets into core (or sooner, as they won't hurt anything if they're in there beforehand):

  • Twenty Nineteen
  • Twenty Sixteen
  • Twenty Fifteen
  • Twenty Fourteen
  • Twenty Thirteen
  • Twenty Twelve
  • Twenty Eleven

Change History (1)

#1 @SergeyBiryukov
3 weeks ago

  • Milestone changed from Awaiting Review to 5.5
Note: See TracTickets for help on using tickets.