flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

Tool window icons should be monochrome when selected #7621

Closed kenzieschmoll closed 2 months ago

kenzieschmoll commented 3 months ago

Screenshot 2024-08-21 at 4 46 41 PM

The Flutter icon is not visible when the tool window is selected because it blends into the blue background. When selected we should use a version of the icon that is monochrome.

c5inco commented 2 months ago

See this comment: https://github.com/flutter/flutter-intellij/pull/7574#issuecomment-2311515115

Basically, there is no selected state icon. The colors used in the SVG have to match the IntelliJ icon color palette as it swaps colors at runtime by detecting the colors in the SVG itself to white.