From ef44d04394fc549917834d4f40b495d1df010542 Mon Sep 17 00:00:00 2001 From: Vicente Canales <1157901+vcanales@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:53:21 -0300 Subject: [PATCH 1/3] Revert "Font Library: Group fonts by source (#63211)" --- .../components/global-styles/font-families.js | 33 +++---------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/packages/edit-site/src/components/global-styles/font-families.js b/packages/edit-site/src/components/global-styles/font-families.js index 6a554b136317d..5332478823c21 100644 --- a/packages/edit-site/src/components/global-styles/font-families.js +++ b/packages/edit-site/src/components/global-styles/font-families.js @@ -1,7 +1,7 @@ /** * WordPress dependencies */ -import { __, _x } from '@wordpress/i18n'; +import { __ } from '@wordpress/i18n'; import { __experimentalText as Text, __experimentalItemGroup as ItemGroup, @@ -61,14 +61,9 @@ function FontFamilies() { ) } - { themeFonts.length > 0 && ( - - - { - /* translators: Heading for a list of fonts provided by the theme. */ - _x( 'Theme', 'font source' ) - } - + { [ ...themeFonts, ...customFonts ].length > 0 && ( + <> + { __( 'Fonts' ) } { themeFonts.map( ( font ) => ( ) ) } - - ) } - { customFonts.length > 0 && ( - - - { - /* translators: Heading for a list of fonts installed by the user. */ - _x( 'Custom', 'font source' ) - } - - - { customFonts.map( ( font ) => ( - - ) ) } - - + ) } { ! hasFonts && ( From 3912dfe5020a2eaa26a86f875f539043f07ae39a Mon Sep 17 00:00:00 2001 From: Vicente Canales <1157901+vcanales@users.noreply.github.com> Date: Wed, 25 Sep 2024 10:03:04 -0300 Subject: [PATCH 2/3] update typography screen description --- .../edit-site/src/components/global-styles/screen-typography.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c23592c51a6a2..f31445a701ad1 100644 --- a/packages/edit-site/src/components/global-styles/screen-typography.js +++ b/packages/edit-site/src/components/global-styles/screen-typography.js @@ -27,7 +27,7 @@ function ScreenTypography() {
From 178778007c884b8eea0b43bffe8525c9ee008cf2 Mon Sep 17 00:00:00 2001 From: Vicente Canales <1157901+vcanales@users.noreply.github.com> Date: Fri, 27 Sep 2024 10:46:34 -0300 Subject: [PATCH 3/3] update screen description --- .../edit-site/src/components/global-styles/screen-typography.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f31445a701ad1..82dfc072c4293 100644 --- a/packages/edit-site/src/components/global-styles/screen-typography.js +++ b/packages/edit-site/src/components/global-styles/screen-typography.js @@ -27,7 +27,7 @@ function ScreenTypography() {