summaryrefslogtreecommitdiffstats
path: root/wp-includes/theme.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/theme.json')
-rw-r--r--wp-includes/theme.json79
1 files changed, 78 insertions, 1 deletions
diff --git a/wp-includes/theme.json b/wp-includes/theme.json
index d9ed478..3287385 100644
--- a/wp-includes/theme.json
+++ b/wp-includes/theme.json
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/theme.json",
- "version": 2,
+ "version": 3,
"settings": {
"appearanceTools": false,
"useRootPaddingAwareAlignments": false,
@@ -190,6 +190,46 @@
],
"text": true
},
+ "dimensions": {
+ "defaultAspectRatios": true,
+ "aspectRatios": [
+ {
+ "name": "Square - 1:1",
+ "slug": "square",
+ "ratio": "1"
+ },
+ {
+ "name": "Standard - 4:3",
+ "slug": "4-3",
+ "ratio": "4/3"
+ },
+ {
+ "name": "Portrait - 3:4",
+ "slug": "3-4",
+ "ratio": "3/4"
+ },
+ {
+ "name": "Classic - 3:2",
+ "slug": "3-2",
+ "ratio": "3/2"
+ },
+ {
+ "name": "Classic Portrait - 2:3",
+ "slug": "2-3",
+ "ratio": "2/3"
+ },
+ {
+ "name": "Wide - 16:9",
+ "slug": "16-9",
+ "ratio": "16/9"
+ },
+ {
+ "name": "Tall - 9:16",
+ "slug": "9-16",
+ "ratio": "9/16"
+ }
+ ]
+ },
"shadow": {
"defaultPresets": true,
"presets": [
@@ -225,6 +265,7 @@
"margin": false,
"padding": false,
"customSpacingSize": true,
+ "defaultSpacingSizes": true,
"units": [ "px", "em", "rem", "vh", "vw", "%" ],
"spacingScale": {
"operator": "*",
@@ -236,6 +277,7 @@
},
"typography": {
"customFontSize": true,
+ "defaultFontSizes": true,
"dropCap": true,
"fontSizes": [
{
@@ -263,6 +305,7 @@
"fontWeight": true,
"letterSpacing": true,
"lineHeight": false,
+ "textAlign": true,
"textDecoration": true,
"textTransform": true,
"writingMode": false
@@ -289,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": {