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
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>
0 commit comments