GNOME Bugzilla – Bug 788738
Adapt transit route labels in high contrast mode
Last modified: 2017-10-16 19:15:17 UTC
The style of icons in the routing sidebar has been changed to used the sidebar icon style (which in the regular theme has non-quite-black dark gray style), and the route label indicator's default color (when not overridden by the transit timetable (GTFS) data) using this same tone. When the high contrast theme is used we should change this color to black and probably disregard colors from the feed (maybe except when there's no route designation, in which case we only show a colored badge which then means the color could be more important).
Created attachment 361284 [details] [review] utils: Add function to determine if using high contrast theme
Created attachment 361285 [details] [review] transitRouteLabel: Override label colors for high contrast mode When in high contrast mode, override colors with high contrasting ones. Except when there's no actual label, as in this case the color could be more relevant to show, and there's no text to give contrast to.
Created attachment 361369 [details] [review] transitRouteLabel: Override label colors for high contrast mode When in high contrast mode, override colors with high contrasting ones. Except when there's no actual label, as in this case the color could be more relevant to show, and there's no text to give contrast to.
Attachment 361284 [details] pushed as bcf110f - utils: Add function to determine if using high contrast theme Attachment 361369 [details] pushed as a868596 - transitRouteLabel: Override label colors for high contrast mode