Skip to content

Commit

Permalink
Adds Gutenberg color palette support
Browse files Browse the repository at this point in the history
  • Loading branch information
coreymcollins committed Jan 25, 2019
1 parent b32e4fa commit a1dbd11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ function _s_setup() {

// Add theme support for selective refresh for widgets.
add_theme_support( 'customize-selective-refresh-widgets' );

// Gutenberg color palette support.
add_theme_support( 'editor-color-palette', _s_get_theme_colors_gutenberg() );
}
endif; // _s_setup
add_action( 'after_setup_theme', '_s_setup' );
Expand Down

0 comments on commit a1dbd11

Please sign in to comment.