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

export const getBoxShadow = ({
  isSelected,
  theme,
}: {|
  ...ThemeProps,
  isSelected: boolean,
|}) =>
  isSelected
    ? `inset 0 0 0 2px ${getPaletteColor('greyscale-black')({ theme })}`
    : 'none';
