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
- How to add multiple custom blocks in custom WordPress theme using create-block?
- Full Site Editing, Block Theme, Gutenberg, Site Editor
- How to add custom css file in theme?
- get_template_part vs action hooks in themes
- how can I add an icon/image for a child theme?
- Get url of thumbnail from the media uploader
- How to show next Post Thumbnail image in WordPress using current post id
- How to add oEmbed support to my theme?
- WordPress Multisite: Have the same header and footer of main-blog on all sub-blogs
- How to Edit the style of header title of Twenty Eleven Theme?
- How can I let templates choose which stylesheets are enqueued?
- How do you replace content generated by custom fields with custom blocks in Block Editor?
- Can I add multiple arrays within add_theme_support( ‘colors’ )?
- How to place HTML tags in content from the_content()?
- Integrate WooCommerce theme with a WordPress theme [closed]
- Automated Footer information
- How do you use WordPress for a website that’s not in a blog format?
- Is There A WordPress Hook for Accessing Attachments for A Particular Page?
- How to track a users last visited page?
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- Open portfolio image in light box
- Let visitors show/hide a type of content
- how to add a badge on product based on filter?
- how to create/register menu items that can be added to menus later
- WP Gutenberg custom block – generate theme colors from SASS and use them in the inspector and php callback
- Theme does not allow shortcodes
- WordPress child theme, creating a custom php template page
- How to generate a rtl.css file for themes?
- hide/show a div in wordpress
- One-Page WordPress Template
- How one category can have different fields?
- Why WordPress gets old templates code instead of the last updated ones
- Show post thumbnail only if it exists using timthumb
- Extracting Distance from FacetWP Proximity Function to Display in WordPress Template
- Template for posts of category in block theme?
- How to add group-row to InnerBlock template?