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

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

@if oBrandIs('core') {
	$_o-footer-dark-link-text-color: oPrivateColorsMix('o3-color-palette-white', 'o3-color-palette-slate', 60);
	$_o-footer-light-link-text-color: oPrivateFoundationGet('o3-color-palette-black-60');

	@include oBrandDefine('o-footer', 'core', (
		'variables': (
			'title': oPrivateFoundationGet('o3-color-palette-white'),
			'dark': (
				'text': oPrivateFoundationGet('o3-color-palette-white'),
				'background': oPrivateFoundationGet('o3-color-palette-slate'),
				'border': oPrivateColorsMix('o3-color-palette-white', 'o3-color-palette-slate', 20),
				'title': oPrivateFoundationGet('o3-color-palette-white'),
				'link': $_o-footer-dark-link-text-color,
				'link-hover': oPrivateFoundationGet('o3-color-palette-white'),
				'brand-background': oPrivateFoundationGet('o3-color-palette-black'),
				'copyright': $_o-footer-dark-link-text-color,
			),
			'light': (
				'text': oPrivateFoundationGet('o3-color-palette-black-80'),
				'background': oPrivateFoundationGet('o3-color-palette-black-5'),
				'border': oPrivateFoundationGet('o3-color-palette-black-20'),
				'title': oPrivateFoundationGet('o3-color-palette-black'),
				'link': $_o-footer-light-link-text-color,
				'link-hover': oPrivateFoundationGet('o3-color-palette-black'),
				'brand-background': oPrivateFoundationGet('o3-color-palette-black-20'),
				'copyright': $_o-footer-light-link-text-color,
			)
		),
		'supports-variants': ()
	));
}
