Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions packages/font/src/google/font-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -2043,7 +2043,7 @@
"defaultValue": 400
}
],
"subsets": ["cyrillic-ext", "latin", "latin-ext", "vietnamese"]
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Bruno Ace": {
"weights": ["400"],
Expand Down Expand Up @@ -5207,13 +5207,13 @@
"900",
"variable"
],
"styles": ["normal"],
"styles": ["normal", "italic"],
"axes": [
{
"tag": "slnt",
"min": -10,
"max": 0,
"defaultValue": 0
"tag": "opsz",
"min": 14,
"max": 32,
"defaultValue": 14
},
{
"tag": "wght",
Expand Down Expand Up @@ -10999,7 +10999,7 @@
"Philosopher": {
"weights": ["400", "700"],
"styles": ["normal", "italic"],
"subsets": ["cyrillic", "cyrillic-ext", "latin", "vietnamese"]
"subsets": ["cyrillic", "cyrillic-ext", "latin", "latin-ext", "vietnamese"]
},
"Phudu": {
"weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
Expand Down Expand Up @@ -13276,6 +13276,11 @@
"styles": ["normal"],
"subsets": ["latin", "latin-ext"]
},
"Sankofa Display": {
"weights": ["400"],
"styles": ["normal"],
"subsets": ["latin", "latin-ext", "vietnamese"]
},
"Sansita": {
"weights": ["400", "700", "800", "900"],
"styles": ["normal", "italic"],
Expand Down Expand Up @@ -15533,6 +15538,11 @@
"styles": ["normal"],
"subsets": ["latin"]
},
"Zain": {
"weights": ["200", "300", "400", "700", "800", "900"],
"styles": ["normal"],
"subsets": ["arabic", "latin"]
},
"Zen Antique": {
"weights": ["400"],
"styles": ["normal"],
Expand Down
2 changes: 1 addition & 1 deletion packages/font/src/google/get-font-axes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('getFontAxes errors', () => {
expect(() => getFontAxes('Inter', ['variable'], [], true as any))
.toThrowErrorMatchingInlineSnapshot(`
"Invalid axes value for font \`Inter\`, expected an array of axes.
Available axes: \`slnt\`"
Available axes: \`opsz\`"
`)
})

Expand Down
41 changes: 37 additions & 4 deletions packages/font/src/google/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3459,7 +3459,7 @@ export declare function Bricolage_Grotesque<
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'>
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
axes?: ('opsz' | 'wdth')[]
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Bruno_Ace<
Expand Down Expand Up @@ -9266,7 +9266,7 @@ export declare function Inter<
| Array<
'100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900'
>
style?: 'normal' | Array<'normal'>
style?: 'normal' | 'italic' | Array<'normal' | 'italic'>
display?: Display
variable?: T
preload?: boolean
Expand All @@ -9281,7 +9281,7 @@ export declare function Inter<
| 'latin-ext'
| 'vietnamese'
>
axes?: 'slnt'[]
axes?: 'opsz'[]
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Inter_Tight<
T extends CssVariable | undefined = undefined,
Expand Down Expand Up @@ -18604,7 +18604,9 @@ export declare function Philosopher<
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'cyrillic' | 'cyrillic-ext' | 'latin' | 'vietnamese'>
subsets?: Array<
'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese'
>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Phudu<
T extends CssVariable | undefined = undefined,
Expand Down Expand Up @@ -22146,6 +22148,18 @@ export declare function Sancreek<
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Sankofa_Display<
T extends CssVariable | undefined = undefined,
>(options: {
weight: '400' | Array<'400'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'latin' | 'latin-ext' | 'vietnamese'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Sansita<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down Expand Up @@ -26118,6 +26132,25 @@ export declare function ZCOOL_XiaoWei<
adjustFontFallback?: boolean
subsets?: Array<'latin'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Zain<
T extends CssVariable | undefined = undefined,
>(options: {
weight:
| '200'
| '300'
| '400'
| '700'
| '800'
| '900'
| Array<'200' | '300' | '400' | '700' | '800' | '900'>
style?: 'normal' | Array<'normal'>
display?: Display
variable?: T
preload?: boolean
fallback?: string[]
adjustFontFallback?: boolean
subsets?: Array<'arabic' | 'latin'>
}): T extends undefined ? NextFont : NextFontWithVariable
export declare function Zen_Antique<
T extends CssVariable | undefined = undefined,
>(options: {
Expand Down
Loading