From 2f3240c91c09dfc411d93a71eeb75ad6d704e14b Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Tue, 28 May 2024 06:12:59 -0700 Subject: [PATCH] ci: update file icons (#1941) Co-authored-by: delucis <357379+delucis@users.noreply.github.com> Co-authored-by: Chris Swithinbank --- .changeset/weak-falcons-drop.md | 5 +++++ packages/starlight/user-components/file-tree-icons.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/weak-falcons-drop.md 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',