From 428eebeaf80c545cb896775963f50cacfb191a3b Mon Sep 17 00:00:00 2001 From: Steve Larson <9larsons@gmail.com> Date: Thu, 5 Dec 2024 10:39:41 -0600 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8Added=20custom=20font=20support=20for?= =?UTF-8?q?=20themes=20(#21817)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref [DES-949](https://linear.app/tryghost/issue/DES-949/ https://github.com/TryGhost/Ghost/commit/177e604501728df2dd085cfd9bdf34f56257a221 This adds custom fonts feature allowing users to select heading and body fonts for their themes from a curated list. This allows publishers to have more control over their brand, and allows themes to have a wider range of styles to appeal to different audiences. Without custom fonts support, themes will continue to work as normal, but users won't be able to customize their typography. As for the official themes, all of them will support custom fonts. --- .../components/settings/advanced/labs/BetaFeatures.tsx | 4 ---- ghost/core/core/frontend/helpers/body_class.js | 6 +++--- ghost/core/core/shared/labs.js | 4 ++-- ghost/core/package.json | 2 +- .../e2e-api/admin/__snapshots__/settings.test.js.snap | 2 +- ghost/core/test/unit/frontend/helpers/body_class.test.js | 3 ++- yarn.lock | 8 ++++---- 7 files changed, 13 insertions(+), 16 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx index 71d3cb4ddd..97daa8bb2c 100644 --- a/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx +++ b/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx @@ -27,10 +27,6 @@ const BetaFeatures: React.FC = () => { action={} detail={<>Translate your membership flows into your publication language (supported languages). Don’t see yours? Get involved} title='Portal translation' /> - } - detail={<>Enable new custom font settings. Learn more →} - title='Custom fonts' />