# Add file icon for Ballerina \(\.bal\) files \(\#56799\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/661f185f9ffc6ebb4462d08f62522983196723a4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 661f185f9ffc6ebb4462d08f62522983196723a4

Requested commit: 661f185f9ffc6ebb4462d08f62522983196723a4

Commit: 661f185f9ffc6ebb4462d08f62522983196723a4

Tree: 3beda17b970b4abc2b3d9c0991bbce2da6d6dfac

Author: David

Committer: GitHub

## Message

```
Add file icon for Ballerina (.bal) files (#56799)

## Summary

- Adds a `ballerina` icon key to the default icon theme, mapping the
`.bal` file suffix to a new SVG under
`assets/icons/file_icons/ballerina.svg`.
- Icon is the monochrome Ballerina mark from the official WSO2 VS Code
extension, rescaled to Zed's 16×16 viewBox.

## Icon source / license

The SVG is adapted from `ballerina-inverse.svg` in
[wso2/vscode-extensions](https://github.com/wso2/vscode-extensions),
which is Apache-2.0 licensed. The original 400×400 geometry is preserved
via the existing `translate`/`scale` transform; only the viewBox and
fill were normalized to match the convention used by the other icons in
`assets/icons/file_icons/`.

## Test plan

- [x] `cargo build --release --bin zed`
- [x] Opened a folder containing `.bal` files and confirmed the icon
renders in the project panel and tabs.
- [x] Alphabetical ordering preserved in both
`FILE_SUFFIXES_BY_ICON_KEY` and `FILE_ICONS`.

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
```

## Parents

- [7c1005934041b65eef5c1e1d44294c12ea157685](https://git.cafe/gitcafe/zed/commit/7c1005934041b65eef5c1e1d44294c12ea157685?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/661f185f9ffc6ebb4462d08f62522983196723a4?format=markdown)
