Fixed Google Fonts schema

This commit is contained in:
squidfunk 2022-01-30 15:10:51 +01:00
parent 6ac2da115d
commit 51f27bf959
2 changed files with 1 additions and 8 deletions

View File

@ -7045,13 +7045,6 @@
"enum": [
"Zilla Slab Highlight"
]
},
{
"title": "default",
"markdownDescription": "https://fonts.google.com/specimen/default",
"enum": [
"default"
]
}
]
}

View File

@ -295,7 +295,7 @@ const schema$ = merge(
/* Compute fonts schema */
defer(() => import("google-fonts-complete"))
.pipe(
map(Object.keys),
map(({ default: fonts }) => Object.keys(fonts)),
map(fonts => ({
"$schema": "https://json-schema.org/draft-07/schema",
"title": "Google Fonts",