// hint-mixins.scss
// 
// Place to store common mixins.


// Generates border-color rules for all 4 positions
@mixin arrow-border-color($color, $isInsideSelector: "true") {
	@each $position in top, bottom, left, right {
		// if the current mixin is called from within a selector, use a '&'. Otherwise not.
		@if $isInsideSelector == "true" {
			&.hint--#{$position}:before {
				border-#{$position}-color: $color;
			}
		}
		@else {
			.hint--#{$position}:before {
				border-#{$position}-color: $color;
			}
		}
	}
}
