import { type Theme } from '@material-hu/mui/styles';

import { QuestionStatType } from '../../types';

export const getVariantStyles = (theme: Theme) => ({
  [QuestionStatType.POSITIVE]: {
    bgcolor: theme.palette.new.background.feedback.success,
    color: theme.palette.new.text.feedback.success,
  },
  [QuestionStatType.NEGATIVE]: {
    bgcolor: theme.palette.new.background.feedback.error,
    color: theme.palette.new.text.feedback.error,
  },
  [QuestionStatType.NEUTRAL]: {
    bgcolor: theme.palette.new.background.feedback.warning,
    color: theme.palette.new.text.feedback.warning,
  },
});
