// @flow
import { getPaletteColor } from '../../../mixins/branding';
import type { PatchworkTheme } from '../../../themes';
import type { ColorPaletteColorNameKey } from '../../../mixins/branding';

export const getFontColor = (
  theme: PatchworkTheme,
  colorName: ColorPaletteColorNameKey = 'brand-primary-base',
) => getPaletteColor(colorName)({ theme });
