mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed Google Fonts schema
This commit is contained in:
parent
6ac2da115d
commit
51f27bf959
@ -7045,13 +7045,6 @@
|
||||
"enum": [
|
||||
"Zilla Slab Highlight"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "default",
|
||||
"markdownDescription": "https://fonts.google.com/specimen/default",
|
||||
"enum": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user