WordPress / gutenberg-starter-theme

A simple theme for testing Gutenberg.
GNU General Public License v2.0
683 stars 163 forks source link

Update custom colors implementation. #66

Closed kjellr closed 6 years ago

kjellr commented 6 years ago

The current implementation of custom colors is depreciated.

Theme support for editor-color-palette should now include just a single array containing all colors. In addition, each custom color should have a slug defined. This PR makes those changes.

See: https://wordpress.org/gutenberg/handbook/extensibility/theme-support/

kjellr commented 6 years ago

😄 Nevermind, looks like this was already done.