Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't force background color when in editor-theme mode (#950)
This PR makes the IDE panel adapt the background color depending on its position when in editor-theme mode. Previously, we'd always use background color that was set to the editor background. However, depending on whether the panel is rendered in editor on in side-panel, the built-in panels have different background colors. This is particularily important in case of side-panel, where in many themes there's no delimited between the editor and side-panel, so the only way to distinguish where the panel starts is by its background color. Before (no visual indicator when there the panel starts): <img width="1701" alt="image" src="https://github.com/user-attachments/assets/8ff35bbd-eeac-4deb-a866-5fc9a7674259" /> After (background defins the panel threshold): <img width="1701" alt="image" src="https://github.com/user-attachments/assets/a55fa119-a204-46d9-a2b7-908726c067c8" /> ### How Has This Been Tested: 1. Test switching between editor theme and Radon theme across different themes and in tab + side-panel modes: <img width="1701" alt="image" src="https://github.com/user-attachments/assets/652e6f33-2654-4ad3-856b-d941759f3f4c" /> <img width="1701" alt="image" src="https://github.com/user-attachments/assets/9d5132be-bf1c-41fa-87f4-becf59d35975" /> <img width="1701" alt="image" src="https://github.com/user-attachments/assets/0f0ecdb8-ac74-4c0b-990a-40dfc6b65aee" /> <img width="1701" alt="image" src="https://github.com/user-attachments/assets/a55fa119-a204-46d9-a2b7-908726c067c8" />
- Loading branch information