Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#60134 closed enhancement (fixed)

Output theme color palette presets when appearance tools are enabled

Reported by: isabel_brison Owned by: isabel_brison
Priority: normal Milestone: 6.5
Component: Editor Version: 6.5
Severity: normal Keywords: gutenberg-merge has-patch
Cc: Focuses:

Description

The changes from ​https://github.com/WordPress/gutenberg/pull/57190 need to be synced to core to prepare for appearance tools theme support in #60118.

This change should make sure that theme color palette presets are output when either appearance tools or border theme support are enabled.

Change History (6)

This ticket was mentioned in ​PR #5816 on ​WordPress/wordpress-develop by ​@isabel_brison.


3 years ago
#1

  • Keywords has-patch added

#2 @isabel_brison
3 years ago

  • Owner set to isabel_brison
  • Resolution → fixed
  • Status new → closed

In 57259:

Editor: output palette presets when appearance tools or border are enabled.

Adds color palette presets to global styles output if current theme supports either appearance tools or border.

Props andrewserong, noisysocks.
Fixes #60134.

​@isabel_brison commented on ​PR #5816:


3 years ago
#3

Thanks for the reviews folks! Committed in r57259.

This ticket was mentioned in ​PR #5853 on ​WordPress/wordpress-develop by ​@mukesh27.


3 years ago
#4

#5 @isabel_brison
3 years ago

In 57261:

Editor: fix inline comment formatting.

Correctly formats inline comment in wp_get_global_stylesheet.

Follow-up to [57259].

Props mukesh27.
See #60134.

​@isabel_brison commented on ​PR #5853:


3 years ago
#6

Committed in r57261.

Note: See TracTickets for help on using tickets.