You should be able to add more colors using the add_theme_support
function as per the docs here
add_theme_support( 'editor-color-palette', array(
array(
'name' => __( 'strong magenta', 'themeLangDomain' ),
'slug' => 'strong-magenta',
'color' => '#a156b4',
),
array(
'name' => __( 'light grayish magenta', 'themeLangDomain' ),
'slug' => 'light-grayish-magenta',
'color' => '#d0a5db',
),
array(
'name' => __( 'very light gray', 'themeLangDomain' ),
'slug' => 'very-light-gray',
'color' => '#eee',
),
array(
'name' => __( 'very dark gray', 'themeLangDomain' ),
'slug' => 'very-dark-gray',
'color' => '#444',
),
) );
I hope it helps!
Related Posts:
- Is it possible to access Gutenbergs reusable blocks in CPT block templates?
- How do I change Twenty Nineteen’s primary color without using the color slider in the theme customizer?
- Add transparency to wordpress color picker?
- Error defining a gutenberg block in a theme
- How do you approach block structured content?
- How can I add class to every quote element?
- Can “Classic Editor” plugin help to replicate the old website / theme development experience from c. 2011?
- WordPress 5.1 upgrade has lost the parent theme JavaScript
- conditional statement if wordpress theme block is empty then hide block
- How to fix Gutenberg with SiteOrigin page builder deleting content when editing
- Should you directly edit Template Parts and Templates from themes?
- Setting colors in theme.json changes default font size and family in backend
- How to change or add theme to Android Studio?
- Remove JSON API links in header html
- Starter Theme vs Parent Theme? Pros and cons
- What is meant by __(‘page’,’twentytwelve’)
- Adding Language Support using .pot and .mo files to a WordPress Theme?
- Looking for a way to load a function after customizer preview refresh complete
- Visually change theme via query string?
- What does the term “bundled-theme” mean?
- Creating Multiple Menus when using the TwentyTen Theme?
- What does “Trying to get property of non object in..” mean?
- How to delete default themes
- Exclude file from theme editor
- Change Theme from Plugin based on query_vars
- Archiving annual festival site
- WordPress can’t see symlinked theme in Ubuntu
- adding multiple sidebars on pages
- Varying Search Result Pages
- Does theme update also update a child theme zip
- Add js into a theme [closed]
- How to know if user choose to show full post or excerpt?
- .htaccess edits
- Broken link to theme asset after restoring backup
- What are the things that will be affected in case there is some wordpress updates or theme updates?
- Create more than one section in Theme Customizer
- Theme settings default, strange behavior before first save
- Is that worth it to find a designer for creating a WordPress theme for selling on ThemeForest? [closed]
- Color palet in the WordPress’ front-end?
- Get name of current page template in Gutenberg era
- Mobile issue – website isn’t properly detecting screen size [closed]
- Redux callback action
- translation does not work for ‘Home’
- Should I implement my own custom theme
- How to translate a string that contains a WordPress sitename
- How can I manually activate my previous theme without browser access to dashboard?
- Advantages of wordpress theme vs wordpress as a backend only [closed]
- Is that a malicious code?
- Theme, WordPress Version, MySQL Version, PHP Version Update affected files and folders
- Creating custom meta box throws PHP warning error in WordPress
- What is the point of needing add_theme_support( ‘html5’) in WordPress 5.x
- Plugin and themes are adding the same stylesheets
- How to display footer menus in wordpress
- WordPress EduPress and businessbite Theme Installation Failed [closed]
- How can my user make their own Blog/Diary
- Where do I find (free) fully-internationalized themes? [closed]
- Debugging in WordPress at Theme installation [duplicate]
- understanding theme hierarchy
- Re-zipping or extracting theme from wordpress site files
- Why does wordpress add Theme not list a specific theme anymore?
- WordPress theme layout problem
- current_user_can(‘manage_options’) causes white screen of death?
- header.php-tweak: How to do that getting Meta-Slider into the header-center?
- enqueue_script doesn’t work with HTML5 blank theme
- different theme in one website
- WordPress | Theme error
- Fix threaded comments
- Using DePo Masthead with WP 3+
- How to get this taxonomy name from wp_get_object_terms()?
- Load elements without reload page [closed]
- How to change wordpress gutenberg editor font to match default theme font?
- Facebook Icon on top of WordPress Site Header and Top Bar
- Any way that guest users see the site as registered users?
- WP Gutenberg custom block – generate theme colors from SASS and use them in the inspector and php callback
- Webflow Interactions on WordPress site?
- How to make wordpress theme option page in columns?
- 404 not working, going to homepage; how to fix?
- Local LAMP Stack on Linux Mint theme upload fails
- WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
- How do WordPress themes work in relation to content?
- Custom CSS is overwritten by WordPress?
- Incorrect Theme and Upload URLs After Migration
- Edit box-header on WordPress Dashboard
- Using two stylesheets for mobile compatibility
- Copy from wordpress for dev gives different output in browser
- Target Internal Link Of Another Page On Website
- Lost for direction on how to continue building a theme
- How to change images size after theme modification?
- Unable to access new installed theme
- Using a page (Blog template) for home page blog posts is problematic?
- Capcha not getting displayed
- Theme URLs problem
- I can’t install theme: theme install failed
- Static front page displaying twice
- Changing appearance of WooCommerce product layout [closed]
- Can’t install vEstate Real Estate WP Themes
- WordPress premiuim [closed]
- How to get postId from the argument $block when register_block_type()?
- What’s the best way to go from a design to a customized WordPress site?
- Alternative to Underscore.me for gen custom blank theme [closed]