Problem/Motivation
The new navigation provides a new feature by adding icons to first level menu items. So far this is implemented by CSS with a background in the item, so if a contrib or a site-builder wants to add a new first level item and add an icon to it they need to write some CSS.
To note that we're also implementing a solution to use initials if no icon is provided in #3424744: If no icon for a top-level item is provided, use the first two letters.
Proposed resolution
It would be great to find a way that makes it easy to create and personalize new menu items with icons, and provide an easy way for contrib modules and distributions to provide their own configuration.
So in here we'd need to provide and discuss options that would make extensibility and maintenance easy. Some options could be:
- CSS background (what we have right now)
- A YML / config based strategy
- UI selector with a set of open-source icons shipped with the Navigation module itself
- Create a contrib module that provides more icons from an open-source library
- Other ideas?
Remaining tasks
Decide direction.