Skip to content

Conversation

@printfn
Copy link

@printfn printfn commented Feb 23, 2025

This adds a mapping for .jxl image files.

printfn added a commit to printfn/jpeg-xl-vscode that referenced this pull request Sep 9, 2025
It'd be great if it were possible to directly reference the "image" icon
from the Seti theme, but it doesn't look like that is possible.
Adding to/extending the Seti theme is also not possible. Defining a new
file icon theme
(https://code.visualstudio.com/api/extension-guides/file-icon-theme)
also doesn't work as this would require me to redefine every existing
file icon, and make users select the JPEG XL theme instead of their
usual one.

The only workable solution seems to be to define a custom language that
references a copy of
https://github.com/jesseweed/seti-ui/blob/master/icons/image.svg, albeit
with spacing adjusted to make it look closer to how the font icon
renders in VS Code. Unfortunately the spacing is not perfect, and this
now also adds a useless entry to the "Select Language" selector.

It would be great if jesseweed/seti-ui#716 could
get merged as that would fix all these problems.
@printfn printfn mentioned this pull request Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant