mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
parent
4283c417bb
commit
fefd45a27b
1 changed files with 7 additions and 1 deletions
|
@ -18,6 +18,7 @@ export type HeadingFontName =
|
||||||
| 'Cardo'
|
| 'Cardo'
|
||||||
| 'Chakra Petch'
|
| 'Chakra Petch'
|
||||||
| 'Old Standard TT'
|
| 'Old Standard TT'
|
||||||
|
| 'Libre Baskerville'
|
||||||
| 'Rufina'
|
| 'Rufina'
|
||||||
| 'Space Grotesk'
|
| 'Space Grotesk'
|
||||||
| 'Tenor Sans'
|
| 'Tenor Sans'
|
||||||
|
@ -50,6 +51,7 @@ export const CUSTOM_FONTS: CustomFonts = {
|
||||||
{name: 'IBM Plex Serif', creator: 'Mike Abbink'},
|
{name: 'IBM Plex Serif', creator: 'Mike Abbink'},
|
||||||
{name: 'Inter', creator: 'Rasmus Andersson'},
|
{name: 'Inter', creator: 'Rasmus Andersson'},
|
||||||
{name: 'JetBrains Mono', creator: 'JetBrains'},
|
{name: 'JetBrains Mono', creator: 'JetBrains'},
|
||||||
|
{name: 'Libre Baskerville', creator: 'Impallari Type'},
|
||||||
{name: 'Lora', creator: 'Cyreal'},
|
{name: 'Lora', creator: 'Cyreal'},
|
||||||
{name: 'Manrope', creator: 'Mikhail Sharanda'},
|
{name: 'Manrope', creator: 'Mikhail Sharanda'},
|
||||||
{name: 'Merriweather', creator: 'Sorkin Type'},
|
{name: 'Merriweather', creator: 'Sorkin Type'},
|
||||||
|
@ -102,7 +104,8 @@ const classFontNames = {
|
||||||
'IBM Plex Serif': 'ibm-plex-serif',
|
'IBM Plex Serif': 'ibm-plex-serif',
|
||||||
'Space Mono': 'space-mono',
|
'Space Mono': 'space-mono',
|
||||||
'Fira Mono': 'fira-mono',
|
'Fira Mono': 'fira-mono',
|
||||||
'JetBrains Mono': 'jetbrains-mono'
|
'JetBrains Mono': 'jetbrains-mono',
|
||||||
|
'Libre Baskerville': 'libre-baskerville'
|
||||||
};
|
};
|
||||||
|
|
||||||
export function generateCustomFontCss(fonts: FontSelection) {
|
export function generateCustomFontCss(fonts: FontSelection) {
|
||||||
|
@ -169,6 +172,9 @@ export function generateCustomFontCss(fonts: FontSelection) {
|
||||||
},
|
},
|
||||||
'JetBrains Mono': {
|
'JetBrains Mono': {
|
||||||
family: 'jetbrains-mono:400,700'
|
family: 'jetbrains-mono:400,700'
|
||||||
|
},
|
||||||
|
'Libre Baskerville': {
|
||||||
|
family: 'libre-baskerville:700'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue