From 14a2f8b6369c0a714275319589741fb8062882a5 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 a14801c43a3b0e..33a8bbc7b42302 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 @@ -22,6 +22,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' ) } /> + + + + +