-
Notifications
You must be signed in to change notification settings - Fork 137
fix: support multiple paths in icons #496
fix: support multiple paths in icons #496
Conversation
FontAwesome duotone icons require multiple path elements, as well as className defs, and a default style def for the opacity of fa-secondary.
|
This pull request is being automatically deployed with Vercel (learn more). chakra-ui-vue – ./🔍 Inspect: https://vercel.com/chakra-ui/chakra-ui-vue/3mGCe8kAqxdMZ3hFKZ4nMiJ19Dt4 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 812297f:
|
Awesome! Thanks for picking this up! 👏 |
Yeah no problem! |
Okay, I think I've made it about as generic as possible for now. If you have any ideas to make it even more, just shoot, and I'll make it happen I explored adding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @dhazelett .
This looks good to me
Description
FontAwesome duotone icons require multiple path elements, as well as className defs, and a default style def for the opacity of fa-secondary.
Inspecting the duotone SVGs in the pro repo, the order is
path.fa-secondary -> path.fa-primary
. I'm also not 100% sure that the grouping (g.fa-group
) is needed, and welcome any feedback.Motivation and Context
see #495
How Has This Been Tested?
Tested via a local link
npm link /path/to/fork
, and checked the behavior in the browser.Screenshots (if appropriate):
Here is example output
Types of changes
Checklist: