Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@next/font return types #42753

Merged
merged 4 commits into from Nov 10, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
127 changes: 120 additions & 7 deletions packages/font/src/google/font-data.json
Expand Up @@ -1574,6 +1574,12 @@
],
"styles": ["normal"],
"axes": [
{
"tag": "slnt",
"min": -11,
"max": 11,
"defaultValue": 0
},
{
"tag": "wght",
"min": 200,
Expand Down Expand Up @@ -2760,6 +2766,10 @@
"weights": ["400"],
"styles": ["normal"]
},
"Fragment Mono": {
"weights": ["400"],
"styles": ["normal", "italic"]
},
"Francois One": {
"weights": ["400"],
"styles": ["normal"]
Expand Down Expand Up @@ -3449,6 +3459,10 @@
"weights": ["100", "200", "300", "400", "500", "600", "700"],
"styles": ["normal"]
},
"IBM Plex Sans JP": {
"weights": ["100", "200", "300", "400", "500", "600", "700"],
"styles": ["normal"]
},
"IBM Plex Sans KR": {
"weights": ["100", "200", "300", "400", "500", "600", "700"],
"styles": ["normal"]
Expand Down Expand Up @@ -4780,6 +4794,18 @@
"weights": ["400"],
"styles": ["normal"]
},
"Marhey": {
"weights": ["300", "400", "500", "600", "700", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 300,
"max": 700,
"defaultValue": 400
}
]
},
"Markazi Text": {
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal"],
Expand Down Expand Up @@ -4869,8 +4895,16 @@
"styles": ["normal"]
},
"Merienda": {
"weights": ["400", "700"],
"styles": ["normal"]
"weights": ["300", "400", "500", "600", "700", "800", "900", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 300,
"max": 900,
"defaultValue": 400
}
]
},
"Merienda One": {
"weights": ["400"],
Expand Down Expand Up @@ -5547,8 +5581,16 @@
]
},
"Noto Sans Bassa Vah": {
"weights": ["400"],
"styles": ["normal"]
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 400,
"max": 700,
"defaultValue": 400
}
]
},
"Noto Sans Batak": {
"weights": ["400"],
Expand Down Expand Up @@ -6106,6 +6148,35 @@
}
]
},
"Noto Sans Lao Looped": {
"weights": [
"100",
"200",
"300",
"400",
"500",
"600",
"700",
"800",
"900",
"variable"
],
"styles": ["normal"],
"axes": [
{
"tag": "wdth",
"min": 62.5,
"max": 100,
"defaultValue": 100
},
{
"tag": "wght",
"min": 100,
"max": 900,
"defaultValue": 400
}
]
},
"Noto Sans Lepcha": {
"weights": ["400"],
"styles": ["normal"]
Expand Down Expand Up @@ -6234,6 +6305,10 @@
}
]
},
"Noto Sans Mende Kikakui": {
"weights": ["400"],
"styles": ["normal"]
},
"Noto Sans Meroitic": {
"weights": ["400"],
"styles": ["normal"]
Expand Down Expand Up @@ -6300,8 +6375,16 @@
"styles": ["normal"]
},
"Noto Sans New Tai Lue": {
"weights": ["400"],
"styles": ["normal"]
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 400,
"max": 700,
"defaultValue": 400
}
]
},
"Noto Sans Newa": {
"weights": ["400"],
Expand Down Expand Up @@ -7153,6 +7236,18 @@
}
]
},
"Noto Serif Oriya": {
"weights": ["400", "500", "600", "700", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "wght",
"min": 400,
"max": 700,
"defaultValue": 400
}
]
},
"Noto Serif SC": {
"weights": ["200", "300", "400", "500", "600", "700", "900"],
"styles": ["normal"]
Expand Down Expand Up @@ -8996,6 +9091,24 @@
"weights": ["400"],
"styles": ["normal"]
},
"Sono": {
"weights": ["200", "300", "400", "500", "600", "700", "800", "variable"],
"styles": ["normal"],
"axes": [
{
"tag": "MONO",
"min": 0,
"max": 1,
"defaultValue": 1
},
{
"tag": "wght",
"min": 200,
"max": 800,
"defaultValue": 400
}
]
},
"Sonsie One": {
"weights": ["400"],
"styles": ["normal"]
Expand Down Expand Up @@ -9985,7 +10098,7 @@
"styles": ["normal"]
},
"Zen Old Mincho": {
"weights": ["400", "700", "900"],
"weights": ["400", "500", "600", "700", "900"],
"styles": ["normal"]
},
"Zen Tokyo Zoo": {
Expand Down