Repository navigation
Tint symbolic tray icons with the bar text color - #19257
stevederico wants to merge 2 commits into
Conversation
[Low impact] This PR appears safe to merge. SummarySymbolic tray icons follow the bar’s text color, while icons in the management popup keep the theme’s text color.
Reviews (2) · Last reviewed commit: "Tint manage-popup tray icons with the po..." · Reviewed by Greptile |
|
Codex (GPT-6; reasoning effort not exposed) checked e294504 on an ISO worker. With a dark theme, light wallpaper and a synthetic StatusNotifier item using the stock The CLI suite passed all 136 checks. The tray model, tray menu, symbolic icon pixel, bar text color and widget contract tests passed after installing the worker's missing Node dependency. No commits were pushed. The Opus 5.5 High review command was interrupted before recording a completed review; its draft is not counted as a completed second opinion. This remains with the maintainer for that review and the overlapping tint work in #13580. |



Fixes #19214
On a transparent bar, symbolic tray icons were painted with the theme text color (
bar.foreground) while every other bar widget followsbar.barForeground, the contrast coloromarchy-bar-text-colorpicks for the wallpaper. Over a light wallpaper the bar text turns dark but the tray icons stayed light and hard to see.TrayIconnow tints withbar.barForeground. The tray menu keepsroot.foreground, since it has its own opaque background. On an opaque bar the two colors are the same, so nothing changes there.Tests: tray-test, tray-menu-test, bar-text-color-test and bar-widget-contract-test pass.