From fa31176621f3e3233bb645bfc1a784ba8f1bb368 Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Thu, 31 Oct 2024 13:43:39 +0800 Subject: [PATCH] Removed Prata font (#21478) ref DES-926 --- ghost/custom-fonts/src/index.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ghost/custom-fonts/src/index.ts b/ghost/custom-fonts/src/index.ts index 111b18d373..c8eb248c3b 100644 --- a/ghost/custom-fonts/src/index.ts +++ b/ghost/custom-fonts/src/index.ts @@ -1,5 +1,5 @@ export type BodyFont = 'Fira Mono' | 'Fira Sans' | 'IBM Plex Serif' | 'Inter' | 'JetBrains Mono' | 'Lora' | 'Manrope' | 'Merriweather' | 'Nunito' | 'Noto Sans' | 'Noto Serif' | 'Poppins' | 'Roboto' | 'Space Mono'; -export type HeadingFont = 'Cardo' | 'Chakra Petch' | 'Old Standard TT' | 'Prata' | 'Rufina' | 'Space Grotesk' | 'Tenor Sans' | BodyFont; +export type HeadingFont = 'Cardo' | 'Chakra Petch' | 'Old Standard TT' | 'Rufina' | 'Space Grotesk' | 'Tenor Sans' | BodyFont; export type CustomFonts = {heading: HeadingFont[], body: BodyFont[]}; export type FontSelection = { @@ -24,7 +24,6 @@ export const CUSTOM_FONTS: CustomFonts = { 'Nunito', 'Old Standard TT', 'Poppins', - 'Prata', 'Roboto', 'Rufina', 'Space Grotesk', @@ -55,7 +54,6 @@ const classFontNames = { Merriweather: 'merriweather', Nunito: 'nunito', 'Old Standard TT': 'old-standard-tt', - Prata: 'prata', Roboto: 'roboto', Rufina: 'rufina', 'Tenor Sans': 'tenor-sans', @@ -93,9 +91,6 @@ export function generateCustomFontCss(fonts: FontSelection) { 'Old Standard TT': { family: 'old-standard-tt:400,700' }, - Prata: { - family: 'prata:400' - }, Roboto: { family: 'roboto:400,500,700' },