Skin v6.3
In this release we added the ability for more fine grained control over Skin's CSS payload for icons.
You can now import the @ebay/skin/icon/foreground
module to receive only CSS for foreground icons (i.e. the <svg>
tag).
Or you can import @ebay/skin/icon/background
to receive CSS for background icons (i.e. the <span>
tag). Please be aware that the amount of CSS imported for background icons is significantly larger than for foreground (~80kb uncompressed).
Apps using @ebay/skin/icon
will be unaffected, as that module continues to bring in all icon related CSS.
Read more details in PR #471