diff --git a/.changeset/weak-falcons-drop.md b/.changeset/weak-falcons-drop.md new file mode 100644 index 00000000000..08d7e092869 --- /dev/null +++ b/.changeset/weak-falcons-drop.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Adds icon support for `.otf` files in `` diff --git a/packages/starlight/user-components/file-tree-icons.ts b/packages/starlight/user-components/file-tree-icons.ts index a62a37d59da..d8c6af38088 100644 --- a/packages/starlight/user-components/file-tree-icons.ts +++ b/packages/starlight/user-components/file-tree-icons.ts @@ -340,6 +340,7 @@ export const definitions: Definitions = { '.ttf': 'seti:font', '.woff': 'seti:font', '.woff2': 'seti:font', + '.otf': 'seti:font', '.avif': 'seti:image', '.gif': 'seti:image', '.jpg': 'seti:image',