Transportr icon indicating copy to clipboard operation
Transportr copied to clipboard

[UX] Prevent white lines on (almost) white background

Open HansCronau opened this issue 7 years ago • 4 comments

Hi there. I hope to contribute to the project with some feedback on the UI: I have a hard time seeing the white connection lines for trains. I'm unfamiliar with the method used for the colouring of the connections, but it does not appear to prevent colours with high similarity to the application's background, which is also (almost) white. Since trains are always white for me (NL) this is a recurring challenge.

HansCronau avatar Dec 17 '18 22:12 HansCronau

Line colors are coming from the data source which should use official colors.

grote avatar Dec 18 '18 00:12 grote

Hi @grote! Thanks for explaining.

Do you mean 'should' as in: "The source should use official colours (though maybe it doesn't)"?

In that case I guess the question would be: how would one find a balance between using official colours and keeping them visible on a white background?

HansCronau avatar Dec 18 '18 21:12 HansCronau

I guess some data sources use official colors and others don't. I can't travel and investigate this everywhere. A solution could be to add a dark stroke color around the white lines when the user uses the light theme and a bright color when the user uses the dark theme and has dark line colors.

Feel free to do a PR for the stroke solution.

grote avatar Dec 18 '18 22:12 grote