Skip to content

Commit a45fd54

Browse files
JonnyBurgerclaude
andcommitted
Revert unrelated changes to make PR more minimal
- Restore deleted Google Fonts files - Discard changes to docs, player, studio package.json - Discard changes to studio RenderModal and retry-payload - Discard changes to google-fonts base.ts - Remove stray empty lines in cli/cloudrun files - Set zod to 3.23.8 in template-tts-azure - Discard benchmark.mdx changes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6a87cce commit a45fd54

File tree

16 files changed

+2161
-9
lines changed

16 files changed

+2161
-9
lines changed

packages/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"@remotion/design": "workspace:*",
4545
"@remotion/docusaurus-plugin": "workspace:*",
4646
"@remotion/enable-scss": "workspace:*",
47+
"@remotion/eslint-config-internal": "workspace:*",
4748
"@remotion/fonts": "workspace:*",
4849
"@remotion/gif": "workspace:*",
4950
"@remotion/google-fonts": "workspace:*",
@@ -109,7 +110,6 @@
109110
"remotion": "workspace:*",
110111
"three": "catalog:",
111112
"uuid": "^8.3.2",
112-
"@remotion/eslint-config-internal": "workspace:*",
113113
"zod": "catalog:"
114114
},
115115
"devDependencies": {

packages/google-fonts/src/42dotSans.ts

Lines changed: 1348 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
import {loadFonts} from './base';
2+
3+
export const getInfo = () => ({
4+
fontFamily: 'Big Shoulders Display',
5+
importName: 'BigShouldersDisplay',
6+
version: 'v21',
7+
url: 'https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900',
8+
unicodeRanges: {
9+
vietnamese:
10+
'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',
11+
'latin-ext':
12+
'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',
13+
latin:
14+
'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',
15+
},
16+
fonts: {
17+
normal: {
18+
'100': {
19+
vietnamese:
20+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
21+
'latin-ext':
22+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
23+
latin:
24+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
25+
},
26+
'200': {
27+
vietnamese:
28+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
29+
'latin-ext':
30+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
31+
latin:
32+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
33+
},
34+
'300': {
35+
vietnamese:
36+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
37+
'latin-ext':
38+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
39+
latin:
40+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
41+
},
42+
'400': {
43+
vietnamese:
44+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
45+
'latin-ext':
46+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
47+
latin:
48+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
49+
},
50+
'500': {
51+
vietnamese:
52+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
53+
'latin-ext':
54+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
55+
latin:
56+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
57+
},
58+
'600': {
59+
vietnamese:
60+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
61+
'latin-ext':
62+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
63+
latin:
64+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
65+
},
66+
'700': {
67+
vietnamese:
68+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
69+
'latin-ext':
70+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
71+
latin:
72+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
73+
},
74+
'800': {
75+
vietnamese:
76+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
77+
'latin-ext':
78+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
79+
latin:
80+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
81+
},
82+
'900': {
83+
vietnamese:
84+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cw9DuHpM.woff2',
85+
'latin-ext':
86+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1cwtDuHpM.woff2',
87+
latin:
88+
'https://fonts.gstatic.com/s/bigshouldersdisplay/v22/fC1_PZJEZG-e9gHhdI4-NBbfd2ys3SjJCx1czNDu.woff2',
89+
},
90+
},
91+
},
92+
});
93+
94+
export const fontFamily = 'Big Shoulders Display' as const;
95+
96+
type Variants = {
97+
normal: {
98+
weights:
99+
| '100'
100+
| '200'
101+
| '300'
102+
| '400'
103+
| '500'
104+
| '600'
105+
| '700'
106+
| '800'
107+
| '900';
108+
subsets: 'latin' | 'latin-ext' | 'vietnamese';
109+
};
110+
};
111+
112+
export const loadFont = <T extends keyof Variants>(
113+
style?: T,
114+
options?: {
115+
weights?: Variants[T]['weights'][];
116+
subsets?: Variants[T]['subsets'][];
117+
document?: Document;
118+
ignoreTooManyRequestsWarning?: boolean;
119+
},
120+
) => {
121+
return loadFonts(getInfo(), style, options);
122+
};
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
import {loadFonts} from './base';
2+
3+
export const getInfo = () => ({
4+
fontFamily: 'Big Shoulders Inline Display',
5+
importName: 'BigShouldersInlineDisplay',
6+
version: 'v27',
7+
url: 'https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Display:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900',
8+
unicodeRanges: {
9+
vietnamese:
10+
'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',
11+
'latin-ext':
12+
'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',
13+
latin:
14+
'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',
15+
},
16+
fonts: {
17+
normal: {
18+
'100': {
19+
vietnamese:
20+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
21+
'latin-ext':
22+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
23+
latin:
24+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
25+
},
26+
'200': {
27+
vietnamese:
28+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
29+
'latin-ext':
30+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
31+
latin:
32+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
33+
},
34+
'300': {
35+
vietnamese:
36+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
37+
'latin-ext':
38+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
39+
latin:
40+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
41+
},
42+
'400': {
43+
vietnamese:
44+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
45+
'latin-ext':
46+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
47+
latin:
48+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
49+
},
50+
'500': {
51+
vietnamese:
52+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
53+
'latin-ext':
54+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
55+
latin:
56+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
57+
},
58+
'600': {
59+
vietnamese:
60+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
61+
'latin-ext':
62+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
63+
latin:
64+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
65+
},
66+
'700': {
67+
vietnamese:
68+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
69+
'latin-ext':
70+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
71+
latin:
72+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
73+
},
74+
'800': {
75+
vietnamese:
76+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
77+
'latin-ext':
78+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
79+
latin:
80+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
81+
},
82+
'900': {
83+
vietnamese:
84+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtCtiTpt.woff2',
85+
'latin-ext':
86+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMtGtiTpt.woff2',
87+
latin:
88+
'https://fonts.gstatic.com/s/bigshouldersinlinedisplay/v28/_LObmyfF4eSU_SCrJc9OI24U7siGvBGcZqmqV9-ZZ85CMt-tiQ.woff2',
89+
},
90+
},
91+
},
92+
});
93+
94+
export const fontFamily = 'Big Shoulders Inline Display' as const;
95+
96+
type Variants = {
97+
normal: {
98+
weights:
99+
| '100'
100+
| '200'
101+
| '300'
102+
| '400'
103+
| '500'
104+
| '600'
105+
| '700'
106+
| '800'
107+
| '900';
108+
subsets: 'latin' | 'latin-ext' | 'vietnamese';
109+
};
110+
};
111+
112+
export const loadFont = <T extends keyof Variants>(
113+
style?: T,
114+
options?: {
115+
weights?: Variants[T]['weights'][];
116+
subsets?: Variants[T]['subsets'][];
117+
document?: Document;
118+
ignoreTooManyRequestsWarning?: boolean;
119+
},
120+
) => {
121+
return loadFonts(getInfo(), style, options);
122+
};
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
import {loadFonts} from './base';
2+
3+
export const getInfo = () => ({
4+
fontFamily: 'Big Shoulders Inline Text',
5+
importName: 'BigShouldersInlineText',
6+
version: 'v26',
7+
url: 'https://fonts.googleapis.com/css2?family=Big+Shoulders+Inline+Text:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900',
8+
unicodeRanges: {
9+
vietnamese:
10+
'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',
11+
'latin-ext':
12+
'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',
13+
latin:
14+
'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',
15+
},
16+
fonts: {
17+
normal: {
18+
'100': {
19+
vietnamese:
20+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
21+
'latin-ext':
22+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
23+
latin:
24+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
25+
},
26+
'200': {
27+
vietnamese:
28+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
29+
'latin-ext':
30+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
31+
latin:
32+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
33+
},
34+
'300': {
35+
vietnamese:
36+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
37+
'latin-ext':
38+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
39+
latin:
40+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
41+
},
42+
'400': {
43+
vietnamese:
44+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
45+
'latin-ext':
46+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
47+
latin:
48+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
49+
},
50+
'500': {
51+
vietnamese:
52+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
53+
'latin-ext':
54+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
55+
latin:
56+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
57+
},
58+
'600': {
59+
vietnamese:
60+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
61+
'latin-ext':
62+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
63+
latin:
64+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
65+
},
66+
'700': {
67+
vietnamese:
68+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
69+
'latin-ext':
70+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
71+
latin:
72+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
73+
},
74+
'800': {
75+
vietnamese:
76+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
77+
'latin-ext':
78+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
79+
latin:
80+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
81+
},
82+
'900': {
83+
vietnamese:
84+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSLwHmI1.woff2',
85+
'latin-ext':
86+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGSPwHmI1.woff2',
87+
latin:
88+
'https://fonts.gstatic.com/s/bigshouldersinlinetext/v27/vm8kdQDmVECV5-vm5dJ-Tp-6WDeRjL4RV7dP8u-NGS3wHg.woff2',
89+
},
90+
},
91+
},
92+
});
93+
94+
export const fontFamily = 'Big Shoulders Inline Text' as const;
95+
96+
type Variants = {
97+
normal: {
98+
weights:
99+
| '100'
100+
| '200'
101+
| '300'
102+
| '400'
103+
| '500'
104+
| '600'
105+
| '700'
106+
| '800'
107+
| '900';
108+
subsets: 'latin' | 'latin-ext' | 'vietnamese';
109+
};
110+
};
111+
112+
export const loadFont = <T extends keyof Variants>(
113+
style?: T,
114+
options?: {
115+
weights?: Variants[T]['weights'][];
116+
subsets?: Variants[T]['subsets'][];
117+
document?: Document;
118+
ignoreTooManyRequestsWarning?: boolean;
119+
},
120+
) => {
121+
return loadFonts(getInfo(), style, options);
122+
};

0 commit comments

Comments
 (0)