# assistant2: Improve tool card header scrolling affordance \(\#27492\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 39af3b434aa4c86f6fd3edb31e28c5cf68187fbd

Requested commit: 39af3b434aa4c86f6fd3edb31e28c5cf68187fbd

Commit: 39af3b434aa4c86f6fd3edb31e28c5cf68187fbd

Tree: 3a70350809b2da35f83bf0fbb732bc1e2b0713ae

Author: Danilo Leal

Committer: GitHub

## Message

```
assistant2: Improve tool card header scrolling affordance (#27492)

Follow up to https://github.com/zed-industries/zed/pull/27489

Added this subtle gradient to the right side of the tool card header so
users know there is more content, suggesting it can be scrolled. Also
took the opportunity to extract out commonly used custom colors in all
of these cards into their own functions to ensure consistency.

Here's the final product:


https://github.com/user-attachments/assets/e44150f9-7751-46c7-8790-149b86cc5e0f

Release Notes:

- N/A
```

## Parents

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

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