// ==============================|| DEFAULT THEME - TYPOGRAPHY  ||============================== //

const Typography = (fontFamily) => ({
  htmlFontSize: 16,
  fontFamily,
  fontWeightLight: 300,
  fontWeightRegular: 400,
  fontWeightMedium: 500,
  fontWeightBold: 600,
  pnspsFormTitle: {
    fontWeight: 500,
    fontSize: '1.175rem',
    lineHeight: 1.4
  },
  pnspsFormHeader: {
    fontWeight: 600,
    fontSize: '1.2rem',
    lineHeight: 1.4
  },
  pnspsHeaderTitle: {
    fontSize: '1.15rem',
    fontWeight: 600,
    lineHeight: 1.5
  },
  pnspsFormParagraph: {
    fontWeight: 500,
    fontSize: '1.1rem',
    lineHeight: 1
  },
  pnspsFormParagraphBold: {
    fontWeight: 600,
    fontSize: '1.1rem',
    lineHeight: 1
  },
  pnspsNormalText: {
    fontWeight: 600,
    fontSize: '1.0rem',
    lineHeight: 1.0
  },
  h1: {
    fontWeight: 600,
    fontSize: '2.5rem',
    lineHeight: 1.21
  },
  h2: {
    fontWeight: 600,
    fontSize: '2.375rem',
    lineHeight: 1.27
  },
  h3: {
    fontWeight: 600,
    fontSize: '1.875rem',
    lineHeight: 1.33
  },
  h4: {
    fontWeight: 600,
    fontSize: '1.5rem',
    lineHeight: 1.4
  },
  h5: {
    fontWeight: 600,
    fontSize: '1.275rem',
    lineHeight: 1.66
  },
  h6: {
    fontWeight: 600,
    fontSize: '1.1rem',
    lineHeight: 1.57
  },
  h7: {
    fontWeight: 400,
    fontSize: '0.875rem',
    lineHeight: 1.57
  },
  caption: {
    fontWeight: 400,
    fontSize: '0.75rem',
    lineHeight: 1.66
  },
  body1: {
    fontSize: '1.1rem',
    fontWeight: 600,
    lineHeight: 1.57
  },
  body2: {
    fontSize: '1.2rem',
    lineHeight: 1.66
  },
  subtitle1: {
    fontSize: '1rem',
    fontWeight: 600,
    lineHeight: 1.57
  },
  subtitle2: {
    fontSize: '0.9rem',
    fontWeight: 500,
    lineHeight: 1.66
  },
  headerTitle1: {
    fontSize: '1.5rem',
    fontWeight: 600,
    lineHeight: 1.66
  },
  errorMessage1: {
    fontSize: '1rem',
    fontWeight: 600,
    lineHeight: 1
  },
  step1: {
    fontSize: '1.1rem',
    fontWeight: 600,
    lineHeight: 1
  },
  overline: {
    lineHeight: 1.66
  },
  button: { 
    textTransform: 'capitalize',
  },
});

export default Typography;