Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 679 Bytes

2021-05-10-add-icon-pack-definition-to-theme-json.md

File metadata and controls

10 lines (10 loc) · 679 Bytes
title issue
Add icon pack definition to theme.json
NEXT-14106

Storefront

  • Added iconSets-property to \Shopware\Storefront\Theme\StorefrontPluginConfiguration\StorefrontPluginConfiguration.
  • Changed \Shopware\Storefront\Theme\StorefrontPluginConfiguration\StorefrontPluginConfigurationFactory to read custom icon sets from theme.json files.
  • Changed \Shopware\Storefront\Framework\Routing\StorefrontSubscriber to add themeIconConfig twig variable.
  • Changed icon.html.twig and sw_icon to automatically resolve custom icon packs.
  • Added \Shopware\Storefront\Framework\App\Template\IconTemplateLoader to load .svg files in registered icon set paths.