import { type TypographyPropsVariantOverrides } from '@mui/material/Typography/Typography';

import { type TitleVariantTypes } from './types';

export const tooltipSize = {
  XL: {
    copetin: 16,
    description: 18,
  },
  L: {
    copetin: 14,
    description: 16,
  },
  M: {
    copetin: 12,
    description: 14,
  },
  S: {
    copetin: 12,
    description: 14,
  },
};

export const adjustedCopetin: Record<
  TitleVariantTypes,
  keyof TypographyPropsVariantOverrides
> = {
  XL: 'globalS',
  L: 'globalXS',
  M: 'globalXXS',
  S: 'globalXXS',
};

export const adjustedDescription: Record<
  TitleVariantTypes,
  keyof TypographyPropsVariantOverrides
> = {
  XL: 'globalM',
  L: 'globalS',
  M: 'globalXS',
  S: 'globalXS',
};
