# gpui: Add support for inset shadow \(\#57685\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eb944cfd7a7395fa8691c3c196ae4c468041350c

Requested commit: eb944cfd7a7395fa8691c3c196ae4c468041350c

Commit: eb944cfd7a7395fa8691c3c196ae4c468041350c

Tree: fdebd890f2a538f51d6a33d08925361733989698

Author: Danilo Leal

Committer: GitHub

## Message

```
gpui: Add support for inset shadow (#57685)

This PR adds support for inset shadows in the box shadow through the
`inset: true` field. It includes support for both the macOS as well WGSL
shaders. For now, there is no immediate application of it in Zed, so
nothing should change in the app.

<img width="600" alt="Screenshot 2026-05-25 at 8  46@2x"
src="https://github.com/user-attachments/assets/db564a6b-8af5-491a-a573-17c060a3647c"
/>

Run the example above with `cargo run --example shadow -p gpui`.

Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
```

## Parents

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

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