/**
 * File: _execute.scss
 * Type: SASS execute
 * Author: Chris Humboldt
 */

// Buttonplate CSS
// ---------------------------------------------------------------------------------------
@mixin buttonplate-css($font: true) {
	.button {
		@include button-setup($font);
		// Sizes
		@include button-size(normal); // Default
		&.small {
			@include button-size(small);
		}
		&.large {
			@include button-size(large);
		}
		&.x-large {
			@include button-size(x-large);
		}
		// Shapes
		@include button-shape(rounded); // Default
		&.square {
			@include button-shape(square);
		}
		&.pill {
			@include button-shape(pill);
		}
		// Flat buttons (shorthand = colour reference only)
		@each $colour-name, $colour in $ar-colours-primary {
			&.#{$colour-name}, &.flat-#{$colour-name} {
				@include button-style(flat, $colour);
			}
		}
		// Gradient buttons
		@each $colour-name, $colour in $ar-colours-primary {
			&.gradient-#{$colour-name} {
				@include button-style(gradient, $colour);
			}
		}
		// Line buttons
		@each $colour-name, $colour in $ar-colours-primary {
			&.line-#{$colour-name} {
				@include button-style(line, $colour);
			}
		}
	}
}
