Skip to content

🎥 Make videos programmatically with React

New Google Fonts

JonnyBurgerb8fbc9429d85
diff --git a/packages/google-fonts/package.json b/packages/google-fonts/package.json
index 0309a9d4f7..f9cae44402 100644
--- a/packages/google-fonts/package.json
+++ b/packages/google-fonts/package.json
@@ -2423,6 +2423,12 @@
"LibertinusMono": [
"dist/cjs/LibertinusMono.d.ts"
],
+ "LibertinusSans": [
+ "dist/cjs/LibertinusSans.d.ts"
+ ],
+ "LibertinusSerif": [
+ "dist/cjs/LibertinusSerif.d.ts"
+ ],
"LibreBarcode128": [
"dist/cjs/LibreBarcode128.d.ts"
],
@@ -2861,6 +2867,12 @@
"MouseMemoirs": [
"dist/cjs/MouseMemoirs.d.ts"
],
+ "MozillaHeadline": [
+ "dist/cjs/MozillaHeadline.d.ts"
+ ],
+ "MozillaText": [
+ "dist/cjs/MozillaText.d.ts"
+ ],
"MrBedfort": [
"dist/cjs/MrBedfort.d.ts"
],
@@ -2936,6 +2948,9 @@
"Narnoor": [
"dist/cjs/Narnoor.d.ts"
],
+ "NataSans": [
+ "dist/cjs/NataSans.d.ts"
+ ],
"NationalPark": [
"dist/cjs/NationalPark.d.ts"
],
diff --git a/packages/google-fonts/scripts/google-fonts.ts b/packages/google-fonts/scripts/google-fonts.ts
index 256d152866..f2428371c9 100644
--- a/packages/google-fonts/scripts/google-fonts.ts
+++ b/packages/google-fonts/scripts/google-fonts.ts
@@ -18368,6 +18368,65 @@ export const googleFonts: Font[] = [
kind: 'webfonts#webfont',
menu: 'https://fonts.gstatic.com/s/libertinusmono/v1/_gPg1RnxrjY_TDm97ApTqwneJJFjoRt2.woff2',
},
+ {
+ family: 'Libertinus Sans',
+ variants: ['regular', 'italic', '700'],
+ subsets: [
+ 'cyrillic',
+ 'cyrillic-ext',
+ 'greek',
+ 'greek-ext',
+ 'latin',
+ 'latin-ext',
+ 'vietnamese',
+ ],
+ version: 'v1',
+ lastModified: '2025-07-30',
+ files: {
+ '700':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLx8Ptoaimwmw.woff2',
+ regular:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cqMi93V_dB0Yw.woff2',
+ italic:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jNfU39VkYzCp.woff2',
+ },
+ category: 'sans-serif',
+ kind: 'webfonts#webfont',
+ menu: 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8j9fU.woff2',
+ },
+ {
+ family: 'Libertinus Serif',
+ variants: ['regular', 'italic', '600', '600italic', '700', '700italic'],
+ subsets: [
+ 'cyrillic',
+ 'cyrillic-ext',
+ 'greek',
+ 'greek-ext',
+ 'hebrew',
+ 'latin',
+ 'latin-ext',
+ 'vietnamese',
+ ],
+ version: 'v1',
+ lastModified: '2025-07-30',
+ files: {
+ '600':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErdH7jCaxRgew.woff2',
+ '700':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqdH7jCaxRgew.woff2',
+ regular:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ben6wFUHPIFaU.woff2',
+ italic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6sPUVHNBaVImA.woff2',
+ '600italic':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_pCI5UkexwPg.woff2',
+ '700italic':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7pCI5UkexwPg.woff2',
+ },
+ category: 'serif',
+ kind: 'webfonts#webfont',
+ menu: 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6gPUQ.woff2',
+ },
{
family: 'Libre Barcode 128',
variants: ['regular'],
@@ -21632,6 +21691,54 @@ export const googleFonts: Font[] = [
kind: 'webfonts#webfont',
menu: 'https://fonts.gstatic.com/s/mousememoirs/v18/t5tmIRoSNJ-PH0WNNgDYxdSb3TjPrw.woff2',
},
+ {
+ family: 'Mozilla Headline',
+ variants: ['200', '300', 'regular', '500', '600', '700'],
+ subsets: ['latin', 'latin-ext'],
+ version: 'v1',
+ lastModified: '2025-07-30',
+ files: {
+ '200':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOBYIYVYBxvtcorUQ.woff2',
+ '300':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOBvoYVYBxvtcorUQ.woff2',
+ '500':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOB0oYVYBxvtcorUQ.woff2',
+ '600':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOBPoEVYBxvtcorUQ.woff2',
+ '700':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOBB4EVYBxvtcorUQ.woff2',
+ regular:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOB4IYVYBxvtcorUQ.woff2',
+ },
+ category: 'sans-serif',
+ kind: 'webfonts#webfont',
+ menu: 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGYLz-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYRvBSDSOuerB_FOB4IYlZBZu.woff2',
+ },
+ {
+ family: 'Mozilla Text',
+ variants: ['200', '300', 'regular', '500', '600', '700'],
+ subsets: ['latin', 'latin-ext'],
+ version: 'v1',
+ lastModified: '2025-07-30',
+ files: {
+ '200':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOBwUcPNVRVYmoOXo.woff2',
+ '300':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOB9scPNVRVYmoOXo.woff2',
+ '500':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOB7ccPNVRVYmoOXo.woff2',
+ '600':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOB1sbPNVRVYmoOXo.woff2',
+ '700':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOB2IbPNVRVYmoOXo.woff2',
+ regular:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOB4UcPNVRVYmoOXo.woff2',
+ },
+ category: 'sans-serif',
+ kind: 'webfonts#webfont',
+ menu: 'https://fonts.gstatic.com/s/mozillatext/v1/SZcr3FrnJ7S7WZIff2mJ7Tbp4zu7ULu3HkPOB4UcDNFbVA.woff2',
+ },
{
family: 'Mr Bedfort',
variants: ['regular'],
@@ -22190,6 +22297,46 @@ export const googleFonts: Font[] = [
kind: 'webfonts#webfont',
menu: 'https://fonts.gstatic.com/s/narnoor/v10/cIf9MaFWuVo-UTyP9CihYQ.woff2',
},
+ {
+ family: 'Nata Sans',
+ variants: [
+ '100',
+ '200',
+ '300',
+ 'regular',
+ '500',
+ '600',
+ '700',
+ '800',
+ '900',
+ ],
+ subsets: ['cyrillic', 'cyrillic-ext', 'latin', 'latin-ext', 'vietnamese'],
+ version: 'v1',
+ lastModified: '2025-07-30',
+ files: {
+ '100':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg6wI6giM62M1AXs.woff2',
+ '200':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChgywJ6giM62M1AXs.woff2',
+ '300':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg_IJ6giM62M1AXs.woff2',
+ '500':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg54J6giM62M1AXs.woff2',
+ '600':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg3IO6giM62M1AXs.woff2',
+ '700':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg0sO6giM62M1AXs.woff2',
+ '800':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChgywO6giM62M1AXs.woff2',
+ '900':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChgwUO6giM62M1AXs.woff2',
+ regular:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg6wJ6giM62M1AXs.woff2',
+ },
+ category: 'sans-serif',
+ kind: 'webfonts#webfont',
+ menu: 'https://fonts.gstatic.com/s/natasans/v1/1q2XY5KBClBit88SU_tUw-brVNlaeZChg6wJ2gyG6g.woff2',
+ },
{
family: 'National Park',
variants: ['200', '300', 'regular', '500', '600', '700', '800'],
@@ -37344,17 +37491,23 @@ export const googleFonts: Font[] = [
},
{
family: 'Special Gothic',
- variants: ['regular'],
+ variants: ['regular', '500', '600', '700'],
subsets: ['latin', 'latin-ext'],
- version: 'v2',
- lastModified: '2025-04-23',
+ version: 'v3',
+ lastModified: '2025-07-30',
files: {
+ '500':
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2lY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykOEnLhliLsitHN4YN8-S0LPIOkEp8.woff2',
+ '600':
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2lY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykOEnLhliLsitHN4W97-S0LPIOkEp8.woff2',
+ '700':
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2lY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykOEnLhliLsitHN4VZ7-S0LPIOkEp8.woff2',
regular:
- 'https://fonts.gstatic.com/s/specialgothic/v2/1q2fY5WcG0Fg_v0fHc8BvIZ252TkVIGpgnxL.woff2',
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2lY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykOEnLhliLsitHN4bF8-S0LPIOkEp8.woff2',
},
category: 'sans-serif',
kind: 'webfonts#webfont',
- menu: 'https://fonts.gstatic.com/s/specialgothic/v2/1q2fY5WcG0Fg_v0fHc8BvIZ251TgXoA.woff2',
+ menu: 'https://fonts.gstatic.com/s/specialgothic/v3/1q2lY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykOEnLhliLsitHN4bF8ySkBPQ.woff2',
},
{
family: 'Special Gothic Condensed One',
diff --git a/packages/google-fonts/src/LibertinusSans.ts b/packages/google-fonts/src/LibertinusSans.ts
new file mode 100644
index 0000000000..913e4cca57
--- /dev/null
+++ b/packages/google-fonts/src/LibertinusSans.ts
@@ -0,0 +1,124 @@
+import {loadFonts} from './base';
+
+export const getInfo = () => ({
+ fontFamily: 'Libertinus Sans',
+ importName: 'LibertinusSans',
+ version: 'v1',
+ url: 'https://fonts.googleapis.com/css2?family=Libertinus+Sans:ital,wght@0,400;0,700;1,400',
+ unicodeRanges: {
+ 'cyrillic-ext':
+ 'U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F',
+ cyrillic: 'U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116',
+ 'greek-ext': 'U+1F00-1FFF',
+ greek:
+ 'U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF',
+ vietnamese:
+ 'U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB',
+ 'latin-ext':
+ 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
+ latin:
+ 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
+ },
+ fonts: {
+ italic: {
+ '400': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfb1dRUYw.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfS1dRUYw.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfa1dRUYw.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfV1dRUYw.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfZ1dRUYw.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfY1dRUYw.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Jr0-a6k7ZLbw_dle4knJh2cq8jOfW1dQ.woff2',
+ },
+ },
+ normal: {
+ '400': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8hNfUzdA.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8jdfUzdA.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8hdfUzdA.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8itfUzdA.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8htfUzdA.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8h9fUzdA.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Lr0-a6k7ZLbw_dle4knJh2cq8idfU.woff2',
+ },
+ '700': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB__FpWik.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB9vFpWik.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_vFpWik.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB8fFpWik.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_fFpWik.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB_PFpWik.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinussans/v1/YA9Or0-a6k7ZLbw_dle4knJh2cq0MvLB8vFp.woff2',
+ },
+ },
+ },
+ subsets: [
+ 'cyrillic',
+ 'cyrillic-ext',
+ 'greek',
+ 'greek-ext',
+ 'latin',
+ 'latin-ext',
+ 'vietnamese',
+ ],
+});
+
+export const fontFamily = 'Libertinus Sans' as const;
+
+type Variants = {
+ italic: {
+ weights: '400';
+ subsets:
+ | 'cyrillic'
+ | 'cyrillic-ext'
+ | 'greek'
+ | 'greek-ext'
+ | 'latin'
+ | 'latin-ext'
+ | 'vietnamese';
+ };
+ normal: {
+ weights: '400' | '700';
+ subsets:
+ | 'cyrillic'
+ | 'cyrillic-ext'
+ | 'greek'
+ | 'greek-ext'
+ | 'latin'
+ | 'latin-ext'
+ | 'vietnamese';
+ };
+};
+
+export const loadFont = <T extends keyof Variants>(
+ style?: T,
+ options?: {
+ weights?: Variants[T]['weights'][];
+ subsets?: Variants[T]['subsets'][];
+ document?: Document;
+ ignoreTooManyRequestsWarning?: boolean;
+ },
+) => {
+ return loadFonts(getInfo(), style, options);
+};
diff --git a/packages/google-fonts/src/LibertinusSerif.ts b/packages/google-fonts/src/LibertinusSerif.ts
new file mode 100644
index 0000000000..49e48beb96
--- /dev/null
+++ b/packages/google-fonts/src/LibertinusSerif.ts
@@ -0,0 +1,189 @@
+import {loadFonts} from './base';
+
+export const getInfo = () => ({
+ fontFamily: 'Libertinus Serif',
+ importName: 'LibertinusSerif',
+ version: 'v1',
+ url: 'https://fonts.googleapis.com/css2?family=Libertinus+Serif:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700',
+ unicodeRanges: {
+ 'cyrillic-ext':
+ 'U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F',
+ cyrillic: 'U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116',
+ 'greek-ext': 'U+1F00-1FFF',
+ greek:
+ 'U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF',
+ hebrew:
+ 'U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F',
+ vietnamese:
+ 'U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB',
+ 'latin-ext':
+ 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
+ latin:
+ 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
+ },
+ fonts: {
+ italic: {
+ '400': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_XlvMNaU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_V1vMNaU.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_X1vMNaU.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_UFvMNaU.woff2',
+ hebrew:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_UVvMNaU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_XFvMNaU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_XVvMNaU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpiK4bw7KinajYBg0RTTwCLF5Ber6s_U1vM.woff2',
+ },
+ '600': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZB4RVoew.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZDoRVoew.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZBoRVoew.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZCYRVoew.woff2',
+ hebrew:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZCIRVoew.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZBYRVoew.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZBIRVoew.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s3jH_ZCoRV.woff2',
+ },
+ '700': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZB4RVoew.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZDoRVoew.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZBoRVoew.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZCYRVoew.woff2',
+ hebrew:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZCIRVoew.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZBYRVoew.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZBIRVoew.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLphK4bw7KinajYBg0RTTwCLF5Ber6s36H7ZCoRV.woff2',
+ },
+ },
+ normal: {
+ '400': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6MPUUPI.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6oPUUPI.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6IPUUPI.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber60PUUPI.woff2',
+ hebrew:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6wPUUPI.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6EPUUPI.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber6APUUPI.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpkK4bw7KinajYBg0RTTwCLF5Ber64PUQ.woff2',
+ },
+ '600': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHHpCJxR.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHjpCJxR.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHDpCJxR.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRH_pCJxR.woff2',
+ hebrew:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRH7pCJxR.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHPpCJxR.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHLpCJxR.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5Bep3ErRHzpCA.woff2',
+ },
+ '700': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHHpCJxR.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHjpCJxR.woff2',
+ 'greek-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHDpCJxR.woff2',
+ greek:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRH_pCJxR.woff2',
+ hebrew:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRH7pCJxR.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHPpCJxR.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHLpCJxR.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/libertinusserif/v1/RLpjK4bw7KinajYBg0RTTwCLF5BepxUqRHzpCA.woff2',
+ },
+ },
+ },
+ subsets: [
+ 'cyrillic',
+ 'cyrillic-ext',
+ 'greek',
+ 'greek-ext',
+ 'hebrew',
+ 'latin',
+ 'latin-ext',
+ 'vietnamese',
+ ],
+});
+
+export const fontFamily = 'Libertinus Serif' as const;
+
+type Variants = {
+ italic: {
+ weights: '400' | '600' | '700';
+ subsets:
+ | 'cyrillic'
+ | 'cyrillic-ext'
+ | 'greek'
+ | 'greek-ext'
+ | 'hebrew'
+ | 'latin'
+ | 'latin-ext'
+ | 'vietnamese';
+ };
+ normal: {
+ weights: '400' | '600' | '700';
+ subsets:
+ | 'cyrillic'
+ | 'cyrillic-ext'
+ | 'greek'
+ | 'greek-ext'
+ | 'hebrew'
+ | 'latin'
+ | 'latin-ext'
+ | 'vietnamese';
+ };
+};
+
+export const loadFont = <T extends keyof Variants>(
+ style?: T,
+ options?: {
+ weights?: Variants[T]['weights'][];
+ subsets?: Variants[T]['subsets'][];
+ document?: Document;
+ ignoreTooManyRequestsWarning?: boolean;
+ },
+) => {
+ return loadFonts(getInfo(), style, options);
+};
diff --git a/packages/google-fonts/src/MozillaHeadline.ts b/packages/google-fonts/src/MozillaHeadline.ts
new file mode 100644
index 0000000000..4e38f2d804
--- /dev/null
+++ b/packages/google-fonts/src/MozillaHeadline.ts
@@ -0,0 +1,76 @@
+import {loadFonts} from './base';
+
+export const getInfo = () => ({
+ fontFamily: 'Mozilla Headline',
+ importName: 'MozillaHeadline',
+ version: 'v1',
+ url: 'https://fonts.googleapis.com/css2?family=Mozilla+Headline:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700',
+ unicodeRanges: {
+ 'latin-ext':
+ 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
+ latin:
+ 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
+ },
+ fonts: {
+ normal: {
+ '200': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
+ },
+ '300': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
+ },
+ '400': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
+ },
+ '500': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
+ },
+ '600': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
+ },
+ '700': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHDYMVmJQ.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillaheadline/v1/QGY4z-UXahmCOps4kyMKGuSA9pYt2_P-w2kFrS88o6cVYTHNYMU.woff2',
+ },
+ },
+ },
+ subsets: ['latin', 'latin-ext'],
+});
+
+export const fontFamily = 'Mozilla Headline' as const;
+
+type Variants = {
+ normal: {
+ weights: '200' | '300' | '400' | '500' | '600' | '700';
+ subsets: 'latin' | 'latin-ext';
+ };
+};
+
+export const loadFont = <T extends keyof Variants>(
+ style?: T,
+ options?: {
+ weights?: Variants[T]['weights'][];
+ subsets?: Variants[T]['subsets'][];
+ document?: Document;
+ ignoreTooManyRequestsWarning?: boolean;
+ },
+) => {
+ return loadFonts(getInfo(), style, options);
+};
diff --git a/packages/google-fonts/src/MozillaText.ts b/packages/google-fonts/src/MozillaText.ts
new file mode 100644
index 0000000000..fb87f81b69
--- /dev/null
+++ b/packages/google-fonts/src/MozillaText.ts
@@ -0,0 +1,76 @@
+import {loadFonts} from './base';
+
+export const getInfo = () => ({
+ fontFamily: 'Mozilla Text',
+ importName: 'MozillaText',
+ version: 'v1',
+ url: 'https://fonts.googleapis.com/css2?family=Mozilla+Text:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700',
+ unicodeRanges: {
+ 'latin-ext':
+ 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
+ latin:
+ 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
+ },
+ fonts: {
+ normal: {
+ '200': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
+ },
+ '300': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
+ },
+ '400': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
+ },
+ '500': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
+ },
+ '600': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
+ },
+ '700': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD4RNKuCc.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/mozillatext/v1/SZc-3FrnJ7S7WZIff2mJ7TbD7xNK.woff2',
+ },
+ },
+ },
+ subsets: ['latin', 'latin-ext'],
+});
+
+export const fontFamily = 'Mozilla Text' as const;
+
+type Variants = {
+ normal: {
+ weights: '200' | '300' | '400' | '500' | '600' | '700';
+ subsets: 'latin' | 'latin-ext';
+ };
+};
+
+export const loadFont = <T extends keyof Variants>(
+ style?: T,
+ options?: {
+ weights?: Variants[T]['weights'][];
+ subsets?: Variants[T]['subsets'][];
+ document?: Document;
+ ignoreTooManyRequestsWarning?: boolean;
+ },
+) => {
+ return loadFonts(getInfo(), style, options);
+};
diff --git a/packages/google-fonts/src/NataSans.ts b/packages/google-fonts/src/NataSans.ts
new file mode 100644
index 0000000000..25ab0a99c8
--- /dev/null
+++ b/packages/google-fonts/src/NataSans.ts
@@ -0,0 +1,162 @@
+import {loadFonts} from './base';
+
+export const getInfo = () => ({
+ fontFamily: 'Nata Sans',
+ importName: 'NataSans',
+ version: 'v1',
+ url: 'https://fonts.googleapis.com/css2?family=Nata+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900',
+ unicodeRanges: {
+ 'cyrillic-ext':
+ 'U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F',
+ cyrillic: 'U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116',
+ vietnamese:
+ 'U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB',
+ 'latin-ext':
+ 'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
+ latin:
+ 'U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD',
+ },
+ fonts: {
+ normal: {
+ '100': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '200': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '300': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '400': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '500': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '600': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '700': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '800': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ '900': {
+ 'cyrillic-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-ws4avEU.woff2',
+ cyrillic:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-y84avEU.woff2',
+ vietnamese:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wM4avEU.woff2',
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-wc4avEU.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/natasans/v1/1q2EY5KBClBit88SU_t-z84a.woff2',
+ },
+ },
+ },
+ subsets: ['cyrillic', 'cyrillic-ext', 'latin', 'latin-ext', 'vietnamese'],
+});
+
+export const fontFamily = 'Nata Sans' as const;
+
+type Variants = {
+ normal: {
+ weights:
+ | '100'
+ | '200'
+ | '300'
+ | '400'
+ | '500'
+ | '600'
+ | '700'
+ | '800'
+ | '900';
+ subsets: 'cyrillic' | 'cyrillic-ext' | 'latin' | 'latin-ext' | 'vietnamese';
+ };
+};
+
+export const loadFont = <T extends keyof Variants>(
+ style?: T,
+ options?: {
+ weights?: Variants[T]['weights'][];
+ subsets?: Variants[T]['subsets'][];
+ document?: Document;
+ ignoreTooManyRequestsWarning?: boolean;
+ },
+) => {
+ return loadFonts(getInfo(), style, options);
+};
diff --git a/packages/google-fonts/src/SpecialGothic.ts b/packages/google-fonts/src/SpecialGothic.ts
index 688a8fb130..3a97a3864f 100644
--- a/packages/google-fonts/src/SpecialGothic.ts
+++ b/packages/google-fonts/src/SpecialGothic.ts
@@ -3,8 +3,8 @@ import {loadFonts} from './base';
export const getInfo = () => ({
fontFamily: 'Special Gothic',
importName: 'SpecialGothic',
- version: 'v2',
- url: 'https://fonts.googleapis.com/css2?family=Special+Gothic:ital,wght@0,400',
+ version: 'v3',
+ url: 'https://fonts.googleapis.com/css2?family=Special+Gothic:ital,wght@0,400;0,500;0,600;0,700',
unicodeRanges: {
'latin-ext':
'U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF',
@@ -15,9 +15,27 @@ export const getInfo = () => ({
normal: {
'400': {
'latin-ext':
- 'https://fonts.gstatic.com/s/specialgothic/v2/1q2fY5WcG0Fg_v0fHc8BvIZ251ToXoCZgg.woff2',
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkEFoQfr4.woff2',
latin:
- 'https://fonts.gstatic.com/s/specialgothic/v2/1q2fY5WcG0Fg_v0fHc8BvIZ251TmXoA.woff2',
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkHloQ.woff2',
+ },
+ '500': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkEFoQfr4.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkHloQ.woff2',
+ },
+ '600': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkEFoQfr4.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkHloQ.woff2',
+ },
+ '700': {
+ 'latin-ext':
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkEFoQfr4.woff2',
+ latin:
+ 'https://fonts.gstatic.com/s/specialgothic/v3/1q2SY5WcG0Fg_v0fHc8BvIZ2537qdm1JEt9N3w2mJykkHloQ.woff2',
},
},
},
@@ -28,7 +46,7 @@ export const fontFamily = 'Special Gothic' as const;
type Variants = {
normal: {
- weights: '400';
+ weights: '400' | '500' | '600' | '700';
subsets: 'latin' | 'latin-ext';
};
};
diff --git a/packages/google-fonts/src/index.ts b/packages/google-fonts/src/index.ts
index 1a3877a722..1870ba03af 100644
--- a/packages/google-fonts/src/index.ts
+++ b/packages/google-fonts/src/index.ts
@@ -4030,6 +4030,16 @@ export const getAvailableFonts = () => [
importName: 'LibertinusMono',
load: () => import('./LibertinusMono') as Promise<GoogleFont>,
},
+ {
+ fontFamily: 'Libertinus Sans',
+ importName: 'LibertinusSans',
+ load: () => import('./LibertinusSans') as Promise<GoogleFont>,
+ },
+ {
+ fontFamily: 'Libertinus Serif',
+ importName: 'LibertinusSerif',
+ load: () => import('./LibertinusSerif') as Promise<GoogleFont>,
+ },
{
fontFamily: 'Libre Barcode 128',
importName: 'LibreBarcode128',
@@ -4760,6 +4770,16 @@ export const getAvailableFonts = () => [
importName: 'MouseMemoirs',
load: () => import('./MouseMemoirs') as Promise<GoogleFont>,
},
+ {
+ fontFamily: 'Mozilla Headline',
+ importName: 'MozillaHeadline',
+ load: () => import('./MozillaHeadline') as Promise<GoogleFont>,
+ },
+ {
+ fontFamily: 'Mozilla Text',
+ importName: 'MozillaText',
+ load: () => import('./MozillaText') as Promise<GoogleFont>,
+ },
{
fontFamily: 'Mr Bedfort',
importName: 'MrBedfort',
@@ -4885,6 +4905,11 @@ export const getAvailableFonts = () => [
importName: 'Narnoor',
load: () => import('./Narnoor') as Promise<GoogleFont>,
},
+ {
+ fontFamily: 'Nata Sans',
+ importName: 'NataSans',
+ load: () => import('./NataSans') as Promise<GoogleFont>,
+ },
{
fontFamily: 'National Park',
importName: 'NationalPark',