# workspace: Highlight where dragged tab will be dropped \(\#34740\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 708c434bd4c21614a282fc31ae35d3e9414ec2c9

Requested commit: 708c434bd4c21614a282fc31ae35d3e9414ec2c9

Commit: 708c434bd4c21614a282fc31ae35d3e9414ec2c9

Tree: 0886e74f9f4b3b2100ba158d81d878b3c36ce79a

Author: Daniel Sauble

Committer: GitHub

## Message

```
workspace: Highlight where dragged tab will be dropped (#34740)

Closes #18565

I could use some advice on the color palette / theming. A couple
options:

1. The `drop_target_background` color could be used for the border if we
didn't use it for the background of the tab. In VSCode, the background
color of tabs doesn't change as you're dragging, there's just a border
between tabs. My only concern with this option is that the current
`drop_target_background` color is a bit subtle when used for a small
area like a border.

2. Another option could be to add a `drop_target_border` theme color,
but I don't know how much complexity this adds to implementation
(presumably all existing themes would need to be updated?).

Demo:


https://github.com/user-attachments/assets/0b7c04ea-5ec5-4b45-adad-156dfbf552db

Release Notes:

- Highlight where a dragged tab will be dropped between two other tabs

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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