# Fix background on rules library panel \(\#39319\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cc19f66ee175ebd1f366feeb714ed17d10f58bf6

Requested commit: cc19f66ee175ebd1f366feeb714ed17d10f58bf6

Commit: cc19f66ee175ebd1f366feeb714ed17d10f58bf6

Tree: 2444c8c59327d843414db62d481f35260139b6a3

Author: Alvaro Parker

Committer: GitHub

## Message

````
Fix background on rules library panel (#39319)

Closes #39318 

The rules panel on the rules library window was rendering a black
background when the `panel.background` property on the active theme had
some level of transparency (for example `1917264D` on `nightfox` theme).

<img width="1650" height="889" alt="image"
src="https://github.com/user-attachments/assets/6a8d124a-38da-4d01-817a-c289926bd39c"
/>

Left is before, right is after. The bug can be replicated by using
`theme_overrides` on settings:

```json
  "experimental.theme_overrides": {
    "panel.background": "#00000000",
    "background": "#ffffff"
  },
```

Release Notes:

- Fix "secondary" background on rules panel
````

## Parents

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

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