CFenner / MMM-LocalTransport

A module for the MagicMirror to display informations about local tranportation.
MIT License
43 stars 15 forks source link

Monochrome icons possible? #13

Closed 3DJupp closed 7 years ago

3DJupp commented 7 years ago

The thing i mentioned before was, that the icons: https://maps.gstatic.com/mapfiles/transit/iw2/6/de-metro.png and https://maps.gstatic.com/mapfiles/transit/iw2/6/de-sbahn.png are not monochrome. Do you think it might be possible, to replace them within the script, to have a clearer mirror design?

CFenner commented 7 years ago

You could try the css style filter: grayscale(100%) on the images.

njoerd114 commented 7 years ago

Related: I'd like to have a configurable boolean colored option for the config.js. If true: colors are pulled from the API - if possible, let's try to pull the individual colors for the different tram-lines as well. If false: filter: grayscale(100%) in CSS.

I'll try to dive into GMaps API and code it by myself, help is however appreciated since I'm not experienced in using APIs and stuff.

GHLasse commented 7 years ago

@niklasbeinghaus can you test the changes I made please? Then @CFenner can merge this :-)

GHLasse commented 7 years ago

Ah yes, I forgot about the less file. I think that closes this issue?