diff --git a/docs/schema/assets/fonts.json b/docs/schema/assets/fonts.json index 5cd66a8db..7953c29bb 100644 --- a/docs/schema/assets/fonts.json +++ b/docs/schema/assets/fonts.json @@ -7045,13 +7045,6 @@ "enum": [ "Zilla Slab Highlight" ] - }, - { - "title": "default", - "markdownDescription": "https://fonts.google.com/specimen/default", - "enum": [ - "default" - ] } ] } \ No newline at end of file diff --git a/tools/build/index.ts b/tools/build/index.ts index edb11d820..34de24757 100644 --- a/tools/build/index.ts +++ b/tools/build/index.ts @@ -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",