diff --git a/packages/font/src/google/font-data.json b/packages/font/src/google/font-data.json index 30e3508ce0657..ee9d9a4d1bd43 100644 --- a/packages/font/src/google/font-data.json +++ b/packages/font/src/google/font-data.json @@ -1965,7 +1965,7 @@ "defaultValue": 400 } ], - "subsets": ["cyrillic-ext", "latin", "latin-ext", "vietnamese"] + "subsets": ["latin", "latin-ext", "vietnamese"] }, "Bruno Ace": { "weights": ["400"], @@ -5063,13 +5063,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", @@ -10685,7 +10685,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"], @@ -12235,6 +12235,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"], @@ -14400,6 +14405,11 @@ "styles": ["normal"], "subsets": ["latin"] }, + "Zain": { + "weights": ["200", "300", "400", "700", "800", "900"], + "styles": ["normal"], + "subsets": ["arabic", "latin"] + }, "Zen Antique": { "weights": ["400"], "styles": ["normal"], diff --git a/packages/font/src/google/get-font-axes.test.ts b/packages/font/src/google/get-font-axes.test.ts index 2991c11772e8a..2ac2507f4d240 100644 --- a/packages/font/src/google/get-font-axes.test.ts +++ b/packages/font/src/google/get-font-axes.test.ts @@ -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\`" `) }) diff --git a/packages/font/src/google/index.ts b/packages/font/src/google/index.ts index e710b6c4d2e4b..2f77f7883d26b 100644 --- a/packages/font/src/google/index.ts +++ b/packages/font/src/google/index.ts @@ -3351,7 +3351,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< @@ -9051,7 +9051,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 @@ -9066,7 +9066,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 @@ -18222,7 +18222,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 @@ -20823,6 +20825,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: { @@ -24687,6 +24701,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: {