fix: CYS - change heading color (#43076)

* fix: CYS - change heading color

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
This commit is contained in:
Luigi Teschio 2023-12-26 13:07:52 +01:00 committed by GitHub
parent c2cab76069
commit 7cb10704ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View File

@ -1505,6 +1505,11 @@ export const COLOR_PALETTES = [
...color.styles.blocks,
},
elements: {
heading: {
color: {
text: 'var(--wp--preset--color--foreground)',
},
},
button: {
':active': {
color: {

View File

@ -35,6 +35,10 @@ export const ColorPanel = () => {
'core/button': {
color: {},
},
// Reset the "core/heading" color that may have been set via predefined color palette to ensure it uses the custom heading color.
'core/heading': {
color: {},
},
},
} );
setUserConfig( ( currentConfig ) => ( {

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Fix: CYS - change heading color.