// Mixins for setting icons.
// Moved out of mixins-common for ease of override.

// FontAwesome mixins and vars...
@import 'vars';
@import 'mixins-animate';
@import 'libs/fa/variables';
@import 'libs/fa/mixins';

/// use fa-icon
@mixin wc-icon ($icon: -1) {
	@include fa-icon;
	@if($icon != -1) {
		content: $icon;
	}
}

/// Make a fixed-width icon.
@mixin wc-icon-fw ($icon: -1, $text-align: center, $width: $wc-icon-normal) {
	@include wc-icon($icon);
	text-align: $text-align;
	width: $width;
}

/// Add content and fixed-width to an icon. Used with class .wc-icon and .wc-icon-after.
@mixin wc-icon-fw-content($icon: -1, $text-align: center, $width: $wc-icon-normal) {
	@if($icon != -1) {
		content: $icon;
	}
	text-align: $text-align;
	width: $width;
}
