Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontAwesome 5 Duotone opacity #2281

Open
brimimc opened this issue Jul 9, 2020 · 0 comments
Open

FontAwesome 5 Duotone opacity #2281

brimimc opened this issue Jul 9, 2020 · 0 comments

Comments

@brimimc
Copy link

brimimc commented Jul 9, 2020

Bug reports:

creating a screenshot when using FontAwesome 5 Duotone icons (https://blog.fontawesome.com/introducing-duotone/) fails to adhere to the ::after pseudo elements opacity setting.

duotone Screen Shot 2020-07-09 at 4 04 51 AM

capture Screen Shot 2020-07-09 at 4 05 12 AM

Unfortunately I can't create a sample because FA5 Duotone requires a license, but duotone icons use the :before and :after pseudo elements and (depending on if you have things swapped) it sets the opacity of the after (or before) to 0.5. When the icon is rendered for html2canvas, it seems to always use opacity 1.

Screen Shot 2020-07-09 at 4 08 27 AM

Screen Shot 2020-07-09 at 4 08 01 AM

Screen Shot 2020-07-09 at 4 07 48 AM

Specifications:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant