我知道使用此功能制作具有此功能的自定义古腾堡调色板的方法:
function mytheme_setup_theme_supported_features() {
add_theme_support( 'editor-color-palette', array(
array(
'name' => __( 'strong magenta', 'themeLangDomain' ),
'slug' => 'strong-magenta',
'color' => '#a156b4',
),
array( ...and so on
但是这种方法完全替代了现有的默认调色板。 有没有一种方法可以向现有调色板添加一些自定义颜色? 我无法找出这些默认调色板值存储在哪里?
谢谢 汤姆