From ee7a71bfa243ae1f62f16e8d9b50ec1ba7d46b58 Mon Sep 17 00:00:00 2001 From: Nick Cernis Date: Mon, 11 Mar 2019 20:25:33 +0100 Subject: [PATCH] Update custom colors to use consistent slugs between themes See: - https://github.com/studiopress/genesis/issues/2204 - https://github.com/WordPress/gutenberg/issues/7553 --- config/editor-color-palette.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/editor-color-palette.php b/config/editor-color-palette.php index a372c416..d979b27c 100644 --- a/config/editor-color-palette.php +++ b/config/editor-color-palette.php @@ -14,12 +14,12 @@ return array( array( 'name' => __( 'Custom color', 'genesis-sample' ), // Called “Link Color” in the Customizer options. Renamed because “Link Color” implies it can only be used for links. - 'slug' => 'custom', + 'slug' => 'theme-primary', 'color' => get_theme_mod( 'genesis_sample_link_color', genesis_sample_customizer_get_default_link_color() ), ), array( 'name' => __( 'Accent color', 'genesis-sample' ), - 'slug' => 'accent', + 'slug' => 'theme-secondary', 'color' => get_theme_mod( 'genesis_sample_accent_color', genesis_sample_customizer_get_default_accent_color() ), ), array(