You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(icon): make fontface import and icons optional separately
This PR allows to create some icon groups on demand by the usual switches in variation.variables and make the font-face loading optional and independent of the icon declarations themselves.
It is now possible to move the font-face loading out of fomantic ui in favor of loading the fonts separately via a 3rd party lib such as typekit/webfontloader
To keep consistency, the creation of brand and outline icons are now also separated into creating the icons and loading the fontface.
Because of this logic the usage of the variable importOutlineIcons and importBrancIcons (and the new importIcons) now only applies for the font-face loading and creation of icons is dependent on the new variationIconBrand and variationIconOutline switches
It's a breaking change, but it's a more consistent logic.
Related PR for the icon creation script is fomantic/create-fomantic-icons#108
0 commit comments