diff --git a/docs/reference-guides/theme-json-reference/theme-json-living.md b/docs/reference-guides/theme-json-reference/theme-json-living.md index 59a820a16697c..2cc73e2439699 100644 --- a/docs/reference-guides/theme-json-reference/theme-json-living.md +++ b/docs/reference-guides/theme-json-reference/theme-json-living.md @@ -270,8 +270,8 @@ Typography styles. | fontWeight | string, object | | | letterSpacing | string, object | | | lineHeight | string, object | | -| textAlign | string | | -| textColumns | string | | +| textAlign | string, object | | +| textColumns | string, object | | | textDecoration | string, object | | | writingMode | string, object | | | textTransform | string, object | | diff --git a/schemas/json/theme.json b/schemas/json/theme.json index 5b9e37ef7378a..839bd3d584925 100644 --- a/schemas/json/theme.json +++ b/schemas/json/theme.json @@ -1678,11 +1678,25 @@ }, "textAlign": { "description": "Sets the `text-align` CSS property.", - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/refComplete" + } + ] }, "textColumns": { "description": "Sets the `column-count` CSS property.", - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/definitions/refComplete" + } + ] }, "textDecoration": { "description": "Sets the `text-decoration` CSS property.",