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

Layout Issue w/ Duotone #182

Open
johnvilsack opened this issue Jul 26, 2019 · 1 comment
Open

Layout Issue w/ Duotone #182

johnvilsack opened this issue Jul 26, 2019 · 1 comment

Comments

@johnvilsack
Copy link

Trying to use duotone icons:

@mixin globe {
	@extend %fa-icon;
	@extend .fas;

	&:before {
		content: fa-content($fa-var-globe);	
	}
}

@mixin globe-duo {
	@extend %fa-icon;
	@extend .fad;

	&:before {
		content: fa-content($fa-var-globe);	
	}
}

generates a failed duotone icon that isn't formatting properly:

capture 5

@st3phhays
Copy link

st3phhays commented Aug 7, 2019

I'm currently trying to convert to the duotone icons as well. I'm finding this helpful: https://fontawesome.com/how-to-use/on-the-web/advanced/css-pseudo-elements#with-duotone

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

2 participants