You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good question. Some colors come from style files, some can be defined using props. There should be a consistent solution because adding a new color prop for each icon is probably bad idea (too many icons). Maybe some kind of single 'styles' prop might work; it could contain optional styles for any icon and maybe other stuff as well.
For one of our instances, I'd like to use different from/to marker icons/colors.
Currently, the
mapMarker
icon is hardcoded indigitransit-component-autosuggest-panel
(e.g. here).The colors are coded in
digitransit-component-autosuggest
's scss:What would be the best way to allow customizing from/to marker icons/colors for single instances?
The text was updated successfully, but these errors were encountered: