From 525c1048f377d6bd995f94d2fc5d8b61685bb82e Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Thu, 15 Sep 2022 10:31:20 +0200 Subject: [PATCH] add typography supports --- .../components/global-styles/screen-typography-element.js | 4 ++++ .../src/components/global-styles/screen-typography.js | 6 ++++++ packages/edit-site/src/components/global-styles/ui.js | 6 ++++++ 3 files changed, 16 insertions(+) diff --git a/packages/edit-site/src/components/global-styles/screen-typography-element.js b/packages/edit-site/src/components/global-styles/screen-typography-element.js index 76d7d6de5df90d..f28bf2bfe1706e 100644 --- a/packages/edit-site/src/components/global-styles/screen-typography-element.js +++ b/packages/edit-site/src/components/global-styles/screen-typography-element.js @@ -29,6 +29,10 @@ const elements = { description: __( 'Manage the fonts and typography used on headings.' ), title: __( 'Headings' ), }, + caption: { + description: __( 'Manage the fonts and typography used on captions.' ), + title: __( 'Captions' ), + }, button: { description: __( 'Manage the fonts and typography used on buttons.' ), title: __( 'Buttons' ), diff --git a/packages/edit-site/src/components/global-styles/screen-typography.js b/packages/edit-site/src/components/global-styles/screen-typography.js index 3f7a5eb3eb8670..0d1a8d2713c11d 100644 --- a/packages/edit-site/src/components/global-styles/screen-typography.js +++ b/packages/edit-site/src/components/global-styles/screen-typography.js @@ -110,6 +110,12 @@ function ScreenTypography( { name } ) { element="heading" label={ __( 'Headings' ) } /> + + + + +