Skip to content

Commit

Permalink
ci: update file icons (#1941)
Browse files Browse the repository at this point in the history
Co-authored-by: delucis <[email protected]>
Co-authored-by: Chris Swithinbank <[email protected]>
  • Loading branch information
3 people authored May 28, 2024
1 parent 50f1c0d commit 2f3240c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-falcons-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Adds icon support for `.otf` files in `<FileTree>`
1 change: 1 addition & 0 deletions packages/starlight/user-components/file-tree-icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2f3240c

Please sign in to comment.