You can merge palettes
$existing = get_theme_support( 'editor-color-palette' );
$new = array_merge( $existing[0], array(
array(
'name' => __( 'Strong magenta', 'themeLangDomain' ),
'slug' => 'strong-magenta',
'color' => '#a156b4',
),
array(
'name' => __( 'Light grayish magenta', 'themeLangDomain' ),
'slug' => 'light-grayish-magenta',
'color' => '#d0a5db',
),
));
add_theme_support( 'editor-color-palette', $new);
Related Posts:
- How to add theme support?
- How to add CSS class to custom logo?
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Editing the custom background CSS
- Child Theme not loading parent CSS
- add_image_size is scaling, even though crop is set to true
- How do I get a parent theme modification from a child theme?
- add_theme_support( ‘custom-header’ ) does not add option menu in dashboard
- CSS in child theme not overriding the parent theme [closed]
- Optimal solution to develop a wordpress theme?
- Should I update my _s theme?
- Create a theme by combining a parent and a child theme
- Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?
- Override Constants in Child theme
- how can I remove the sidebar from my wp homepage [closed]
- Does any theme support child theme?
- Am I supposed to create a child theme for every theme I use?
- How to remove a file included in parent theme with locate_template() via child theme?
- “add_theme_support” for custom footer color?
- Gutenberg – editor-font-sizes in functions not working
- Cannot figure out how to overwrite files in child theme
- create-guten-block in wordpress theme?
- Override template file i subfolders
- Include Parent functions.php in Child Theme functions.php
- Edit footer via customizer
- Theme Development: Starter Content after hook
- Why is it needed to enqueue parent stylesheet in child theme?
- Child Theme’s style.css not loading in mobile browser
- Renaming a theme so it aids SEO and the theme used is hidden
- Overrite parent functions using child functions
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- How to correctly enqueue the parent and child theme stylesheets in the creation of a child theme? [duplicate]
- Create a child theme from multiple themes
- Starting point for custom Themes [closed]
- Simple child theme modification but links are broken
- Why still output /wp-content/themes/twentynineteen?
- Alignment Problem [closed]
- What $handle does WordPress use for a theme’s implicit style.css?
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- LESS not working in WordPress [closed]
- Remove h1 from 2015 theme
- Converting a theme to a child theme in a network
- How to modify theme content in Thematic?
- How to update mark-up of a gallery block in a custom theme?
- Why front-page.php doesn’t show content of file instead shows loop
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- How can I access variables from theme in child theme? [closed]
- How to display home page last modified date in anywhere of wordpress theme?
- What is an alternative to not using child theme to customize a WordPress theme?
- Block validation failed for `core/pullquote` after adding theme support for editor-color-palette
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Child theme menu not appearing in Twenty Seventeen
- How can I fix my theme header for my CSS stylesheet?
- How to test another theme in a live WordPress website instead of live preview?
- Update modified Shopify third-party theme [closed]
- how can I re-utilize and class on a child theme
- Providing updates to your WordPress theme
- How do child themes work?
- How to migrate the menu from the site on my own theme in WordPress?
- adding navigation to genesis themes
- Standard Way To Do Custom Work Within A Page?
- Image Size wrong during upload
- Correct way to make a custom block theme responsive
- Full site editing templates folder vs block-templates
- Adding Action Hooks In Parent Theme For Easier Child Theme Customization
- register_sidebar ignores ‘id’ and ‘class’
- How do I get gallery thumbnail URL and change the default thumbnail size?
- Select menu on browser resize
- Create a customizable child theme
- Upgrading a custom theme through the Dashboard
- Cannot get full thumbnail size using the_post_thumbnail
- Is there a way to activate different theme for specified users? [closed]
- Can’t select my block by clicking on it
- How to add infinite scroll?
- get_option in header.php not returning value from customizer
- What happens to child theme if I change to new version of parent theme?
- Is accessing theme and using customizer GPL distribution?
- How to enqueue javascript for WP Customize options sidebar?
- WordPress 500 Internal server error when activating custom theme [closed]
- Customize how a WordPress theme looks like in the Theme Selector
- How to set a page as homepage in stead of the newspages?
- WordPress Theme Validator?
- Template for landing pages
- html5-reset theme does not show the image [closed]
- WordPress HTML5 Gallery Support – Convert HTML4 -> HTML5
- What exactly is “wordpress theming”? [closed]
- What is the difference between Twenty eleven & roots framework?
- Is there a list of default generated Gutenberg block CSS? Unable to align video blocks
- How to Modify WP_Includes/blocks/latest_posts.php
- Adding popup support to the theme
- Is it possible to echo a woocommerce prouct attribute discription?
- How to connect two child themes on different sub domains to the same base theme
- How to customize the colors within a stylesheet using a WordPress setting
- On wordpress, how do i require specific dimensions from user uploads only
- WordPress Theme Developments – Start from another theme
- Slider should be display in home template [closed]
- Extending arrays in parent theme without completely overriding the files
- Toolbox theme using printif statement – help needed understanding code block
- How to Create a Multi Purpose Theme?
- Custom Single Page Portfolio Theme [closed]