// @flow
import { getPaletteColor } from '../../../mixins/branding';
import type { BrandProps } from '../../../mixins/branding';
import type { ThemeProps } from '../../../types';

export const getLinkColor = ({
  theme,
  colorName = 'brand-primary-base',
}: ThemeProps & BrandProps) => getPaletteColor(colorName)({ theme });

export const getLinkHoverColor = ({
  theme,
  colorName = 'brand-primary-dark',
}: ThemeProps & BrandProps) => getPaletteColor(colorName)({ theme });

export const getLinkActiveColor = ({
  theme,
  colorName = 'brand-primary-fg',
}: ThemeProps & BrandProps) => getPaletteColor(colorName)({ theme });
