0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Removed Prata font (#21478)

ref DES-926
This commit is contained in:
Sodbileg Gansukh 2024-10-31 13:43:39 +08:00 committed by GitHub
parent e01b952ed2
commit fa31176621
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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'
},