Skip to content

Commit

Permalink
Allow default duotone styles in classic themes. (#57191)
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines authored Dec 19, 2023
1 parent c868408 commit 50f2ae2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,6 @@ public static function get_theme_data( $deprecated = array(), $options = array()
}
$theme_support_data['settings']['color']['defaultGradients'] = $default_gradients;

// Classic themes without a theme.json don't support global duotone.
$theme_support_data['settings']['color']['defaultDuotone'] = false;

// Allow themes to enable all border settings via theme_support.
if ( current_theme_supports( 'border' ) ) {
$theme_support_data['settings']['border']['color'] = true;
Expand Down

0 comments on commit 50f2ae2

Please sign in to comment.