zed/crates/gpui_macros
Danilo Leal eb944cfd7a
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>
2026-05-26 14:32:45 +00:00
..
src gpui: Add support for inset shadow (#57685) 2026-05-26 14:32:45 +00:00
tests Reduce macro burden for rust-analyzer (#42871) 2025-11-17 12:31:00 +00:00
Cargo.toml gpui: Add property_test macro (#50935) 2026-03-06 14:03:45 +00:00
LICENSE-APACHE chore: Add crate licenses. (#4158) 2024-01-23 16:56:22 +01:00