Skip to content

Commit 7921983

Browse files
committed
docs: add expected schema for brand typography "files" field
Fixes #12267
1 parent 5b23163 commit 7921983

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/resources/schema/definitions.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3572,7 +3572,7 @@
35723572
# string:
35733573
# pattern: '^U\+[0-9A-F]{4}(?:-[0-9A-F]{4})?(?:,U\+[0-9A-F]{4}(?:-[0-9A-F]{4})?)*$'
35743574
description: >
3575-
The font files to include. These can be local or online.
3575+
The font files to include as an array (*i.e.*, `- path: <path>`). These can be local or online.
35763576
Local file paths should be relative to the `brand.yml` file.
35773577
Online paths should be complete URLs.
35783578
required: [files, family, source]

‎src/resources/types/schema-types.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ export type BrandFontFile = {
17291729
path: string;
17301730
style?: BrandFontStyle;
17311731
weight?: BrandFontWeight;
1732-
}))[] /* The font files to include. These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs. */;
1732+
}))[] /* The font files to include as an array (*i.e.*, `- path: <path>`). These can be local or online. Local file paths should be relative to the `brand.yml` file. Online paths should be complete URLs. */;
17331733
source: "file";
17341734
}; /* A method for providing font files directly, either locally or from an online location. */
17351735

0 commit comments

Comments
 (0)