0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Add Inter font to the list of available custom fonts (#21409)

DES-910

Inter is a font that we make available to users. This commit adds it to
the list of available fonts in the design settings.
This commit is contained in:
Peter Zimon 2024-10-25 10:59:44 +02:00 committed by GitHub
parent 96e75ac0e3
commit e514b24696
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,6 +87,8 @@ const GlobalSettings: React.FC<{ values: GlobalSettingValues, updateSetting: (ke
className = clsx('font-fira-sans', heading && 'font-bold');
} else if (fontName === 'IBM Plex Serif') {
className = clsx('font-ibm-plex-serif', heading && 'font-bold');
} else if (fontName === 'Inter') {
className = clsx('font-inter', heading && 'font-bold');
} else if (fontName === 'JetBrains Mono') {
className = clsx('font-jetbrains-mono', heading && 'font-bold');
} else if (fontName === 'Lora') {