mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 00:58:46 +01:00
Editor: Fix specificity of core block style variations.
Adds styles for default block style variations to core `theme.json` so they can override core element styles where needed. Props aaronrobertshaw, isabel_brison. Follows r58241. See #61165. Built from https://develop.svn.wordpress.org/trunk@58393 git-svn-id: http://core.svn.wordpress.org/trunk@57842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
797fa55a03
commit
d20c68f9df
@ -332,6 +332,40 @@
|
||||
}
|
||||
},
|
||||
"styles": {
|
||||
"blocks": {
|
||||
"core/button": {
|
||||
"variations": {
|
||||
"outline": {
|
||||
"border": {
|
||||
"width": "2px",
|
||||
"style": "solid",
|
||||
"color": "currentColor"
|
||||
},
|
||||
"color": {
|
||||
"text": "currentColor",
|
||||
"gradient": "transparent none"
|
||||
},
|
||||
"spacing": {
|
||||
"padding": {
|
||||
"top": "0.667em",
|
||||
"right": "1.33em",
|
||||
"bottom": "0.667em",
|
||||
"left": "1.33em"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core/site-logo": {
|
||||
"variations": {
|
||||
"rounded": {
|
||||
"border": {
|
||||
"radius": "9999px"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"elements": {
|
||||
"button": {
|
||||
"color": {
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.6-beta2-58392';
|
||||
$wp_version = '6.6-beta2-58393';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user