Overriding Storefront icons

Hello,

I created a theme and am developing the theme while storefront:hot is active. Styles and scripts get build correctly and this is working fine but i’m curious if and how it is possible to override the default Storefront (SVG) icons with custom icons provided by the theme.

In theme.json i added, but with storefront:watch it’s not picking up the files inside the assets folder:

"asset": [
    "Resources/storefront/assets"
]

 

I think you have to add iconSets key to theme.json, like this:

„iconSets“: {
„default“: „app/storefront/src/assets/icon/default“
}

and perhaps create and move icons to that exact folder, to be affected.