mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Fixed Google Fonts schema
This commit is contained in:
parent
6ac2da115d
commit
51f27bf959
@ -7045,13 +7045,6 @@
|
|||||||
"enum": [
|
"enum": [
|
||||||
"Zilla Slab Highlight"
|
"Zilla Slab Highlight"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "default",
|
|
||||||
"markdownDescription": "https://fonts.google.com/specimen/default",
|
|
||||||
"enum": [
|
|
||||||
"default"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -295,7 +295,7 @@ const schema$ = merge(
|
|||||||
/* Compute fonts schema */
|
/* Compute fonts schema */
|
||||||
defer(() => import("google-fonts-complete"))
|
defer(() => import("google-fonts-complete"))
|
||||||
.pipe(
|
.pipe(
|
||||||
map(Object.keys),
|
map(({ default: fonts }) => Object.keys(fonts)),
|
||||||
map(fonts => ({
|
map(fonts => ({
|
||||||
"$schema": "https://json-schema.org/draft-07/schema",
|
"$schema": "https://json-schema.org/draft-07/schema",
|
||||||
"title": "Google Fonts",
|
"title": "Google Fonts",
|
||||||
|
Loading…
Reference in New Issue
Block a user