Files
roboin 8f41da2520 Fix transparent Threads Sidebar backgrounds in some themes (#65343)
## Summary

> PR #62597 changed the Threads Sidebar background color, but introduced
a regression where the background becomes transparent in some themes,
such as VSCode Dark Modern, which assigns a semi-transparent color to
`surface_background`.
> 
> This PR blends the Threads Sidebar background color with `background`
to prevent it from becoming transparent.
> 
> Additionally, while the default themes are unaffected, the Threads
Sidebar background was found to be inconsistent with other panels in
themes such as VSCode Dark Modern. To address this, this PR also changes
the blended color from `surface_background` to `panel_background`,
preserving the appearance of Zed's bundled themes while improving
consistency in other themes.

#62597でThreads
Sidebarの背景色が変更されましたが、`surface_background`に半透明の色が割り当てられているVSCode Dark
Modernなど一部のテーマでサイドバーの背景色が透明になってしまうリグレッションが発生しました。

このPRでは、Threads Sidebarの背景色を`background`とブレンドし、背景色が透明になることを防ぎます。

また、デフォルトのテーマでは問題ありませんが、VSCode Dark ModernなどではThreads
Sidebarの背景色がほかのパネルと一致せず一貫性がなくなることが判明したため、ブレンドする色を`surface_background`から`panel_background`に変更しました。これにより、Zedに同梱されているテーマでの外観を維持しつつ、一部のテーマで背景色に一貫性を持たせます。

Before:
<img width="867" height="457" alt="image"
src="https://github.com/user-attachments/assets/c98e5063-abee-4110-bf6c-2b7ae91d2fbc"
/>

After:
<img width="846" height="388" alt="image"
src="https://github.com/user-attachments/assets/72e253c4-a713-4245-9c18-ce57572bbb6c"
/>

Closes #65310

## Testing

> Install a theme that assigns a semi-transparent or transparent color
to `surface_background`, such as VSCode Dark Modern.
> 
> Before this change, the Threads Sidebar background appears transparent
(or white on Windows). After this change, the background remains opaque.

VSCode Dark
Modernテーマなど、`surface_background`に半透明または透明の色が割り当てられているテーマをインストールします。変更前はThreads
Sidebarの背景色が透明(Windowsでは白色)になってしまいますが、変更後は不透明の背景色になります。

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- Fixed an issue where the background color of the Threads Sidebar was
transparent in some themes
2026-10-08 15:37:40 +00:00
..