# title_bar: Fix close button hover color on Windows \(\#45867\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fc45f6e04273bc22d02e431b84e9af347554bf0a

Requested commit: fc45f6e04273bc22d02e431b84e9af347554bf0a

Commit: fc45f6e04273bc22d02e431b84e9af347554bf0a

Tree: 3a2e20ee557b55d4abda8b06ccdf0440c4360fe9

Author: Jason Lee

Committer: GitHub

## Message

```
title_bar: Fix close button hover color on Windows (#45867)

Release Notes:

- Fix close button hover text color on Windows

| Before | After |
| --- | --- |
| <img width="166" height="137" alt="before"
src="https://github.com/user-attachments/assets/fcd225c4-c73f-4e21-8e8d-459395df27ec"
/> |<img width="188" height="156" alt="after"
src="https://github.com/user-attachments/assets/89f5dcba-d677-4eb9-a9b4-170eb9792cb2"
/> |


https://github.com/user-attachments/assets/27e88bf1-eddd-4ec8-a360-6a68eef484e0

And I also improved this file's implementation to merge the
`WindowsCaptionButtonIcon` into `WindowsCaptionButton`.
```

## Parents

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

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