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

export const getTooltipShadowColor = ({ theme }: ThemeProps) =>
  fadeColor(getPaletteColor('greyscale-black')({ theme }), 0.9);

export const getCardBorderRadius = ({ theme }: ThemeProps) =>
  theme.cardBorderRadius;
