////
/// @group o-buttons
/// @link http://registry.origami.ft.com/components/o-buttons
////

/// Silent mode: on (true) or off (false)
/// Set to false to output default button classes
///
/// @type Boolean
$o-buttons-is-silent: true !default;

/// Default button class used when $o-buttons-is-silent is true
///
/// @type String
$o-buttons-class: o-buttons !default;

/// Button font family
///
/// This is required to override default system form element styling,
/// since `<input>`, `<button>`… don't inherit global font styles
///
/// @type String
$o-buttons-font-family: MetricWeb, sans-serif !default;

/// Button font weight
///
/// @type String
$o-buttons-font-weight: 600 !default; // Semibold

/// Button sizes, with their attached properties
///
/// @type Map
$o-buttons-sizes: (
	default: (
		background-size: 21px, // Magic number to reduce poor antialiasing on icons at small sizes
		font-size: 14px,
		min-height: 28px,
		min-width: 60px,
		padding-left: 8px,
		padding-right: 8px,
		border-width: 1px,
	),
	big: (
		background-size: 40px,
		font-size: 16px,
		min-height: 40px,
		min-width: 80px,
		padding-left: 20px,
		padding-right: 20px,
		border-width: 1px,
	)
) !default;

/// Border-radius
///
/// @type Number
$_o-buttons-border-radius: $o-normalise-border-radius;

/// Button themes, with their respective states
/// Each state is a Map of CSS properties, find
/// all theme definitions in _themes.scss
///
/// @type Map
$o-buttons-themes: (
	primary: 'primary',
	secondary: 'secondary',
	inverse: 'inverse',
	mono: 'mono',
	b2c: $o-buttons-themes__b2c
) !default;

/// List of icons to generate classes for icon buttons.
/// Build service users will only be able to use these icons, but there is
/// a mixin for people using this via Sass, meaning any icon in 'fticons' is
/// available to those users.
/// Icon names as used in fticons
///
/// @type List
$o-buttons-icons: "arrow-left", "arrow-right", "upload", "tick", "plus", "warning", "arrow-down", "arrow-up", "grid", "list" !default;
