/// Helper for `o-brand` function.
/// @access private
@function _oBannerGet($variables, $from: null) {
	@return oBrandGet($component: 'o-banner', $variables: $variables, $from: $from);
}

/// Helper for `o-brand` function.
/// @access private
@function _oBannerSupports($variant) {
	@return oBrandSupportsVariant($component: 'o-banner', $variant: $variant);
}

@if oBrandIs('core') {
	@include oBrandDefine('o-banner', 'core', (
		'variables': (
			'background-color': oPrivateFoundationGet('o3-color-palette-white'),
			'text-color': oPrivateFoundationGet('o3-color-palette-black-90'),
			'heading-rule-color': oPrivateFoundationGet('o3-color-palette-teal-50'),
			'button-background-color': oPrivateFoundationGet('o3-color-palette-teal-50'),
			'marketing': (
				'background-color': oPrivateFoundationGet('o3-color-palette-white'),
				'text-color': oPrivateFoundationGet('o3-color-palette-black'),
				'heading-rule-color': oPrivateFoundationGet('o3-color-palette-teal-80'),
				'link-text-color': oPrivateFoundationGet('o3-color-palette-black'),
				'button-background-color': oPrivateFoundationGet('o3-color-palette-black')
			),
			'product': (
				'background-color': oPrivateFoundationGet('o3-color-palette-teal-50'),
				'text-color': oPrivateFoundationGet('o3-color-palette-white'),
				'heading-rule-color': oPrivateFoundationGet('o3-color-palette-white'),
				'link-text-color': oPrivateFoundationGet('o3-color-palette-white'),
				'button-background-color': oPrivateFoundationGet('o3-color-palette-white')
			),
			'professional-inverse': (
				'background-color': oPrivateFoundationGet('o3-color-palette-slate', 'professional'),
				'text-color': oPrivateFoundationGet('o3-color-palette-white', 'professional'),
				'heading-rule-color': oPrivateFoundationGet('o3-color-palette-mint', 'professional'),
				'brand-border': oPrivateFoundationGet('o3-color-palette-mint', 'professional'),
				'button-background-color': oPrivateFoundationGet('o3-color-palette-mint', 'professional')
			)
		),
		'supports-variants': (
			'marketing',
			'product',
			'professional-inverse'
		))
	);
}
