Skip to content

Commit 5df2b67

Browse files
Removed Prata font (#21478)
ref DES-926
1 parent 3ddb8e4 commit 5df2b67

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/custom-fonts/src/index.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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';
2-
export type HeadingFont = 'Cardo' | 'Chakra Petch' | 'Old Standard TT' | 'Prata' | 'Rufina' | 'Space Grotesk' | 'Tenor Sans' | BodyFont;
2+
export type HeadingFont = 'Cardo' | 'Chakra Petch' | 'Old Standard TT' | 'Rufina' | 'Space Grotesk' | 'Tenor Sans' | BodyFont;
33
export type CustomFonts = {heading: HeadingFont[], body: BodyFont[]};
44

55
export type FontSelection = {
@@ -24,7 +24,6 @@ export const CUSTOM_FONTS: CustomFonts = {
2424
'Nunito',
2525
'Old Standard TT',
2626
'Poppins',
27-
'Prata',
2827
'Roboto',
2928
'Rufina',
3029
'Space Grotesk',
@@ -55,7 +54,6 @@ const classFontNames = {
5554
Merriweather: 'merriweather',
5655
Nunito: 'nunito',
5756
'Old Standard TT': 'old-standard-tt',
58-
Prata: 'prata',
5957
Roboto: 'roboto',
6058
Rufina: 'rufina',
6159
'Tenor Sans': 'tenor-sans',
@@ -93,9 +91,6 @@ export function generateCustomFontCss(fonts: FontSelection) {
9391
'Old Standard TT': {
9492
family: 'old-standard-tt:400,700'
9593
},
96-
Prata: {
97-
family: 'prata:400'
98-
},
9994
Roboto: {
10095
family: 'roboto:400,500,700'
10196
},

0 commit comments

Comments
 (0)