-
-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
53 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters