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:
parent
c2cab76069
commit
7cb10704ff
|
@ -1505,6 +1505,11 @@ export const COLOR_PALETTES = [
|
||||||
...color.styles.blocks,
|
...color.styles.blocks,
|
||||||
},
|
},
|
||||||
elements: {
|
elements: {
|
||||||
|
heading: {
|
||||||
|
color: {
|
||||||
|
text: 'var(--wp--preset--color--foreground)',
|
||||||
|
},
|
||||||
|
},
|
||||||
button: {
|
button: {
|
||||||
':active': {
|
':active': {
|
||||||
color: {
|
color: {
|
||||||
|
|
|
@ -35,6 +35,10 @@ export const ColorPanel = () => {
|
||||||
'core/button': {
|
'core/button': {
|
||||||
color: {},
|
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 ) => ( {
|
setUserConfig( ( currentConfig ) => ( {
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Fix: CYS - change heading color.
|
Loading…
Reference in New Issue