-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thanks to @testinfected who prepared a PR to create duotone icons in create-fomantic-icons script The changes are adopted from his PR This PR prepares FUI to support Font Awesome duotone icons . As those need a pro plan, the generation of related selectors is disabled by default (as the duotone icon list is also empty by default) and one has to set variationInconDuotone: true as well as generate the icon.variables via fomantic/create-fomantic-icons before being able to use them in FUI When used, such icons can benefit from a color combination to be set via primary-secondary classname logic. For example <!-- This will show a duotone icon inheriting the default text color --> <i class="camera duotone icon"></i> <!-- This will show a duotone icon inheriting the single purple color --> <i class="purple camera duotone icon"></i> <!-- THIS however will show a duotone icon having a red primary and a purple secondary icon --> <i class="red-purple camera duotone icon"></i>
- Loading branch information
Showing
3 changed files
with
95 additions
and
5 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