Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3704 | Rev 3706 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import { css } from '@emotion/react';

import colors from '@styles/config/colors';

const allVariants = {
  margin: 0,
  fontFamily: ['Source Sans 3', 'sans-serif']
};

export const fontSize = 14;

export const h1 = css`
  font-size: 1.3rem;
  font-weight: 600;
  color: ${colors.font.title};
`;

export const h2 = css`
  font-size: 1.1rem;
  font-weight: 600;
  color: ${colors.font.title};
`;

export const h3 = css`
  font-size: 1rem;
  font-weight: 600;
  color: ${colors.font.title};
`;

export const h4 = css`
  font-size: 1rem;
  font-weight: 600;
  color: ${colors.font.subtitle};
`;

export const body1 = css`
  font-size: 1rem;
  color: ${colors.font.primary};
`;

export const body2 = css`
  font-size: 1rem;
  color: ${colors.font.primary};
`;

export const overline = css`
  line-height: 1.25;
  text-transform: 'none';
  font-weight: 500;
  color: ${colors.font.subtitle};
  display: inline-flex;
`;

export const caption = css`
  font-size: 0.875rem;
  color: ${colors.font.primary};
`;

export const typography = {
  allVariants,
  fontSize,
  h1,
  h2,
  h3,
  h4,
  body1,
  body2,
  overline
};