// Choose whether or not to load the default icon library
//
// Choose whether or not to use FontAwesome Free icons for icons in your
// stylesheet. By default, this option is set to true. Set to false
// to load your own icon font family.
//
// Styleguide Utilities.Icons.Use Default Icons
//
// Access: Public
//
// Since: 2.1.11

$use-default-icons:                  true !default;

// Choose whether or not to load and process all 1400+ FontAwesome icons
//
// FontAwesome comes with a large amount of icons. This can significantly increase
// the time it takes to build/compile your project. We've also seen crashes in
// DartSass using the Sass-Embedded compiler. in 6.0 we've adjusted Foundation
// so that all 1400+ icons are not included by default and Theme Developers instead
// can opt-in to including them all. Instead of including all 1400+ icons theme
// developers can instead add the `$icons-theme` Sass-Map variable to their theme
// and add individual font-awesome icons they want to activate a limited subset. 
//
// Styleguide Utilities.Icons.Use All FontAwesome Icons
//
// Access: Public
//
// Since: 6.0

$use-all-fontawesome-icons: 		false !default;

// Choose whether or not to load and process all 450+ FontAwesome brands icons
//
// FontAwesome comes with a large amount of brand icons. This can significantly increase
// the time it takes to build/compile your project. We've also seen crashes in
// DartSass using the Sass-Embedded compiler. in 6.0 we've adjusted Foundation
// so that all 450+ icons are not included by default and Theme Developers instead
// can opt-in to including them all. Instead of including all 1400+ icons theme
// developers can instead add the `$icons-theme` Sass-Map variable to their theme
// and add individual font-awesome icons they want to activate a limited subset. 
//
// Styleguide Utilities.Icons.Use All FontAwesome Brand Icons
//
// Access: Public
//
// Since: 6.0

$use-all-fontawesome-brands-icons: 		false !default;

// Controls which FontAwesome library loads.
// Solid will load by default. Switch to 400 for regular.
// Note that the regular library is much smaller than solid.
//
// Styleguide Utilities.Icons.Icon Weight
//
// Access: Public
//
// Since: 5.0.0

$font-weight-icon: 						900 !default;

// Choose whether icons go before or after content by default
//
// Controls the placement of icon content globally
// in placeholders and default icon classes.
//
// Styleguide Utilities.Icons.Icon Positioning
//
// Access: Public
//
// Since: 3.0.2

$icons-positioning:                   'before' !default;

@import 'base';

// Icon generation
//
// Generates the icon placeholders and classes
// based off the $icons-responsive Sass map.
//
// Styleguide Utilities.Icons.Icon Class Generation
//
// Access: Private
//
// Since: 3.0.2

@each $name, $content in $icons-responsive {
	%icon-#{$name} {
		@include icon( $name, $icons-positioning, true );
	}

	@if $print-icon-classes {
		.icon-#{$name} {
			@extend %icon-#{$name};
		}
	}
}
