milo
milo copied to clipboard
MWPW-140452 - Icon authoring in milo using the federal repo and individual SVG assets
To streamline icon management across Milo and other consuming sites, a centralized repository, federal
, along with a directory named icons/svgs
, will be established. This will provide shared access to a unified set of icons. The transition will maintain the current authoring experience, while also introducing new opportunities for contributors to expand the icon set. The key points of this change are outlined below:
Key Points:
Centralized Icon Repository: A new /assets/icons/svgs directory was added to the /federal/ repo, allowing multiple sites (Milo and others) to use the same set of icons. All icons currently available are listed here /icons/icons.json
Consistent Authoring Notation: Authors will continue to use the current notation, such as :icon-play:
, to insert icons into content. This ensures a seamless transition with no change in authoring experience.
Source Change: Icons will no longer be served from the Milo code-bus. Instead, they will be fetched from the federal repository via the content-bus.
Author Contributions: This new system enables authors to contribute and expand the icon set by adding new icons to the centralized repository, a feature that was previously unavailable.
Subsequent Ticket: The Sidekick plugin library will be updated in a subsequent ticket to improve authoring accessibility for that component
Resolves: MWPW-140452
Draft URLs:
- Before: https://main--milo--adobecom.hlx.page/drafts/rparrish/icon/icons-federal?martech=off
- After: https://rparrish-fed-icons--milo--adobecom.hlx.page/drafts/rparrish/icon/icons-federal?martech=off
Doc URLs:
- Before: https://main--milo--adobecom.hlx.page/docs/library/kitchen-sink/?martech=off
- After: https://rparrish-fed-icons--milo--adobecom.hlx.page/docs/library/kitchen-sink/?martech=off
All consuming sites should be tested for this change. ?milolibs=rparrish-fed-icons
https://main--bacom--adobecom.hlx.page/?milolibs=rparrish-fed-icons