import { ICustomColor } from './index.interface';

export const convertCustomTheme = (
  customColor: ICustomColor
) => {
  switch (customColor) {
    case 'light':
      return 'neutral200';
    case 'dark':
    case 'neutral':
      return 'neutral600';
    default:
      return `${customColor}300`;
  }
};