import { ViewStyle } from 'react-native';

import { Presets, color } from '~/theme';

/**
 * All the variations of tag views.
 */
export const viewPresets: Record<Presets, ViewStyle> = {
  primary: {
    backgroundColor: color.palette.ebony,
  } as ViewStyle,
  secondary: {
    backgroundColor: color.palette.denim,
  },
  warning: {
    backgroundColor: color.palette.turbo,
  } as ViewStyle,
  success: {
    backgroundColor: color.palette.malachite,
  } as ViewStyle,
  error: {
    backgroundColor: color.palette.redRibbon,
  } as ViewStyle,
};
